-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'sigandcertify': True results in invalid signature #68
Comments
The document can be certified or only signed, sigandcertify enables document certification. From what I read in the documentation, a pdf document can only be certified once and signed multiple times. Maybe there is some nuance I don't know about. Send me the pdf document you want to certify, I will look for the reason for the error. |
Thanks for the reply. The issue appears with any pdf I've tried. In the case of the example was a blank pdf created with Nitro pro 10. In any case here is the file. and the parameters I used
The error in particular states that some changes have been made to the document after signing, could it be that the process is adding data afterward with |
My experience with acrobat reader shows that an invalid file after signing generates strange problems in this program. Untitled1.pdf is not valid, error (s): |
pdf-sign-cms.py has created the file and my acrobat reader is reading it without problems |
Maybe it (nitro) is just not able to check the certificate and therefore gives error messages - unfortunately I don't understand them, are they in Spanish? Can you translate them? |
The same document but signed by certificate issued by actalis |
In this case Nitro reports Maybe is just a quirk of the program The previous errors where: |
Both documents signed with the same program but with different certificates, and one is marked as a modified document, and the other only unknown signature value? |
Hi, I was having some problems with
cms.sign
. I tried running the example with my own cert file which resulted in an invalid signature due to changes to the document.but if I set
sigandcertify
to False then the signature is perfectly fine:Is there something I am doing wrong?
Or I am not understainding the usage of
sigandcertify
?Thanks a lot
The text was updated successfully, but these errors were encountered: