<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Sign PDF with digital signature"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99416#c29">Comment # 29</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Sign PDF with digital signature"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99416">bug 99416</a>
              from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=134040" name="attach_134040" title="Script to generate certificates">attachment 134040</a> <a href="attachment.cgi?id=134040&action=edit" title="Script to generate certificates">[details]</a></span>
Script to generate certificates

To test signing I used the attached script to generate a self signed
certificate. I used this PDF file which contains an unsigned signature form:

<a href="https://help.queens.edu/hc/en-us/article_attachments/211567983/Signature_Test_Form.pdf">https://help.queens.edu/hc/en-us/article_attachments/211567983/Signature_Test_Form.pdf</a>

then signed it with

pdfsig -nssdir sql:$HOME/.nssdb -sign 1 -nick johndoe Signature\ Test\ Form.pdf
out.pdf

and checked it with

pdfsig -nssdir sql:$HOME/.nssdb out.pdf</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>