Created attachment 137081 [details] [review] sigdump patch It would be very helpful if one of the poppler utils supported extracting signatures from PDF files. I looked quite a bit and it seems there's no other free pdf tool currently capable of doing this. I'll attach a quick+dirty patch I got from Tavis Ormandy which adds a "sigdump" tool that does this and writes a PKCS #7 object to a file. However this is just an example, I guess a more elegant solution would be to have a parameter to the pdfsig tool that extracts a signature to a file.
If you got this far, could you try to integrate this into pdfsig?
I'll try when I find time (though I didn't write the patch, it's as I said from Tavis).
Created attachment 138678 [details] [review] signature extraction patch I have created a patch integrating the changes from the previous patch into pdfsig tool. Please have a look.
Pushed, thanks :)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.