<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#c24">Comment # 24</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=134029" name="attach_134029" title="pdfsig: add -nssdi option">attachment 134029</a> <a href="attachment.cgi?id=134029&action=edit" title="pdfsig: add -nssdi option">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=99416&attachment=134029'>[review]</a>
pdfsig: add -nssdi option

I had trouble getting the patch to work until I found nss_init() did not like
my database format in my firefox profile.

I've created a patch for pdfsig that allows specifying the database location so
I could create db in the new format.

All the calls to NSS functions need checking for errors and printing a NSS
error message is this can fail in many different ways. I also found I needed to
create the db with --empty-password otherwise pdfsig fails to sign with no
error message.</pre>
        </div>
      </p>


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

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