Hello Team,
I have encountered a compatibility issue with the display and validation of digitally signed PDF documents in Microsoft Edge 156.0.4314.58.
Until the previous version of Edge, my PAdES signatures were displayed as valid. After updating to version 156, documents containing DSS validation information added through an incremental update are flagged with a warning about unauthorized changes.
The same documents are successfully validated by both Adobe Acrobat and my own PDF digital signature validation implementation.
I have reproduced the issue in two scenarios:
A PDF document is digitally signed using GemBox.Pdf, and validation information is subsequently added through SecurityStore.AddValidationInfo(), following the DSS embedding approach demonstrated in your official PAdES-LT example.
A PDF document containing a valid PAdES-B-B signature is opened in Adobe Acrobat, and validation information is added using the “Add Verification Information” functionality. After saving the document, Edge displays the same warning.
For clarification, I use my own certificate chain builder to collect the required certificates, OCSP responses, and CRLs, which I then pass to SecurityStore.AddValidationInfo(), rather than relying entirely on GemBox.Pdf’s built-in validation information retrieval mechanism.
A PDF document signed at PAdES-B-B level, without subsequently adding DSS information, is displayed correctly in Edge.
I also experimented with calling AddValidationInfo() before the initial document.Save(), but GemBox.Pdf still generated a separate incremental revision containing the DSS dictionary.
I would like to explicitly emphasize that I understand that adding DSS information through an incremental update is a permitted modification under PAdES and does not invalidate the existing digital signature. Therefore, I do not consider this a defect in GemBox.Pdf. The issue appears to be related to a change in how the latest version of Microsoft Edge interprets these additional PDF revisions.
Nevertheless, I believe it would be beneficial if GemBox.Pdf provided an option to include DSS validation information during the initial signing process, within the same signed revision, rather than necessarily appending it through a subsequent incremental update.
When signing a document with Adobe Acrobat, I have observed exactly this behavior: the validation information is included in the signed revision and falls within the signature’s ByteRange. As a result, the document is also displayed correctly in Microsoft Edge 156.
My questions are:
- Is there a supported way to include DSS validation information in the same PDF revision being signed, so that it falls within the signature’s ByteRange, rather than being appended through a subsequent incremental update?
- Is the creation of a separate incremental revision for DSS intentional in the current GemBox.Pdf implementation, regardless of when AddValidationInfo() is called?
- Would it be possible to introduce an alternative initial signing mechanism, similar to Adobe Acrobat’s approach, where pre-collected DSS validation information is included in the signed revision without requiring manual modifications to the PDF structure?
- Are you aware of this issue in Microsoft Edge 156, and have you received similar reports from other customers?
I understand that the root cause of this issue lies in Microsoft Edge’s behavior rather than in GemBox.Pdf. Nevertheless, the consequences are significant for end users, who interpret the warning about unauthorized changes as evidence that the document has been modified or compromised.
For this reason, I would appreciate the possibility of an alternative approach during the initial signing process that would improve compatibility with Edge without compromising compliance with PAdES standards.
Thank you in advance for your assistance.
Best regards