title: "Unexpected byte range values defining scope of signed data" when signing a pdf
body: <p>I use a modified version of this library: <a href="https://github.com/vbuch/node-signpdf#readme" rel="nofollow noreferrer">https://github.com/vbuch/node-signpdf#readme</a> in an angular app to sign a pdf with a signature that has been created elsewhere. When I open the signed pdf with foxit reader the signature is invalid with the following message:</p>
  <blockquote>
  <p>Unexpected byte range values defining scope of signed data</p>
  </blockquote>
  <p>Any ideas what the problem could be?</p>
  <p>Here is the file: <a href="https://drive.google.com/file/d/1eS2waysotpAx6VtHMNvhGvl3wqgiyoT7/view?usp=sharing" rel="nofollow noreferrer">https://drive.google.com/file/d/1eS2waysotpAx6VtHMNvhGvl3wqgiyoT7/view?usp=sharing</a></p>