Chris Newhouse created PDFBOX-5585:
--------------------------------------
Summary: Adding new Field to form during saveIncremental
invalidates prior signatures
Key: PDFBOX-5585
URL: https://issues.apache.org/jira/browse/PDFBOX-5585
Project: PDFBox
Issue Type: Bug
Components: AcroForm, PDModel
Affects Versions: 2.0.24
Reporter: Chris Newhouse
Attachments: signed-then-new-field-added-save-incremental.pdf
It's possible that this is expected behavior, and that what I'm trying to do is
just not possible, but:
When I have some fields in a document, then sign the document, then add a new
field to the document and `saveIncremental` sign it, the prior signatures are
invalidated.
The message is "Document has been altered or corrupted since it was signed".
The final signature on top of that is good, and the new field is there...but
the old signatures are invalid. Is it possible to add a new field and not
invalidate the old signatures? I've successfully edited existing fields, but
can't get it a to be OK after adding a new field.
I've attached a sample document.
Thank you for your help!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]