Copy link to clipboard
Copied
We just notcied a strange behavior of Acrobat/Adobe Reader (DC 2019.021.20056) and found the root cause:
There's a generated PDF that uses standard fonts which are referenced through the AcroForm default resources entry, too. Strangely the font has a Name entry in its dictionary:
3 0 obj
<</Type/Font/Subtype/Type1/BaseFont/Helvetica/Name/F1/Encoding/WinAnsiEncoding>>
endobj
We add 2 signature fields with our own tool and certify/sign one field. This results in a valid document, which you can download here. Do not wonder, there's really only a single line on the page.
When you open this document in Adobe Acrobat or Reader and sign the left field the new signature is fine but the previous one is invalid because of changes which were not allowed. The resulting document is available here.
We tracked it down that Adobe Acrobat/Reader simply removes the Name entry from the font dictionary which invalidates the first signature:
3 0 obj
<</BaseFont/Helvetica/Encoding/WinAnsiEncoding/Subtype/Type1/Type/Font>>
endobj
If we remove the Name key before we add the signature fields and the first signature everything runs without any issue.
So from my point of view this seems to be a bug in Acrobat, or? Not to say that the generation library should omit the Name entry, too.
Copy link to clipboard
Copied
Hi,
As I am not an expert in this area, but at this time I think this is not a bug, but a security mechanism that you are trying to circumvent.
You may be able to work around this issue if you configure the appropriate time stamp servers that are needed to complete the certificate revocation checks when the digital signature is applied and stamped with the current time: See here:
https://helpx.adobe.com/sign/using/custom-time-stamp-providers.html
And here for other insightful links provided in the following thread: https://community.adobe.com/t5/acrobat/signature-invalid-problem/td-p/10188484
These were my findings:
Copy link to clipboard
Copied
All your findings are correct but not related to this issue at all. They all doesn't matter in this case, because the issue has nothing todo with trust or missing verification information.
Again: Adobe Acrobat/Reader simply rewrites and changes a standard font dictionary if the second free signature field is signed, which is simply not allowed and recognized as an unallowed change by Adobe Acrobat/Reader itself. We tracked it down and it is reproducable on our end. If this:
3 0 obj
<</Type/Font/Subtype/Type1/BaseFont/Helvetica/Name/F1/Encoding/WinAnsiEncoding>>
endobjget's not rewritten to or is rewritten before adding the signature fields to:
3 0 obj
<</BaseFont/Helvetica/Encoding/WinAnsiEncoding/Subtype/Type1/Type/Font>>
endobjeverything is fine.
Copy link to clipboard
Copied
Again: I am not an expert in this area and this is a user to user forum; frequently an Adobe employee may or will assist with guidance here.
But, if none of my input is related to this issue and If your finding actually indicates that this a bug, then you get a better shot of voicing your observations here: https://www.adobe.com/products/wishform.html
Hopefully a more qualified person will assist and the engineering team will become aware to work on the issue.
Copy link to clipboard
Copied
There was a time when Adobe employees visited the forums - I hope that will happen again. The "wishform" feels like a black hole to me... everything I send through it was lost and gone (at least for me) and I never heard of it anymore... 🙂
Copy link to clipboard
Copied
Ok... they'd changed the "wishform" and it is publicly now, great. I just filed the issue there, too: https://acrobat.uservoice.com/forums/590923-acrobat-for-windows-and-mac/suggestions/39185608--bug-ad...
Copy link to clipboard
Copied
If it helps in anything, I've seen this issue with Adobe Acrobat forms too.
Mostly when a PDF document has some sort of editing restrictions or encryption. You will be able to see it more clearly if the document is refried and try to edit the postscripted document signature field by copying and pasting text into another document.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more