docusealco / docuseal

Open source DocuSign alternative. Create, fill, and sign digital documents ✍️
https://www.docuseal.co
GNU Affero General Public License v3.0
5.7k stars 378 forks source link

PDF Signature 1 Not valid after second signer signs document #163

Closed hknobbe closed 6 months ago

hknobbe commented 7 months ago

Hi!

I've just noticed that as soon as a seccond party signs a document that has been signed by a first party, the first signature becomes invalid because the "pages have been altered". See sample document.

Bruikleenovereenkomst-5.pdf

I've checked this with a document by another signing software and in that document the signatures stay valid. See the screenshot

signatures

I don't know if this is something that could be changed on your side, or if this is because there isn't a valid AATL cert?

omohokcoj commented 7 months ago

@hknobbe can you please share a PDF file with 3 signatures you have on the screenshot?

hknobbe commented 7 months ago

@omohokcoj any way I can get it privately to you? It's an official document. Not really something to put openly on GitHub.

omohokcoj commented 7 months ago

@hknobbe would appreciate it a lot if you could DM me it on Discord: https://discord.gg/qygYCDGck9

omohokcoj commented 6 months ago

@hknobbe we added an option to apply single signature once the document has been signed by all parties.

Adobe allows only to fill existing PDF form fields - all other page modifications will cause existing signatures to be displayed as broken (though you can validate a signature if you view the document version when the signature was added with the incremental updates we use).

In our case PDF form fields are not sufficient because we have field types like image and file attachments which can't be added via fields.

image It has been released in the latest 1.3.5 version

wrigjz commented 6 months ago

Would a different way to solve this to be to have all but the last signatures as electronic only and then the final signature to be digital so there is only one digital signature for the entire document and that one made after all the fields are added and therefore is valid?

omohokcoj commented 6 months ago

@wrigjz yeah applying just a single digital signature in the end once the all fields are filled by all parties solved this - we added a toggle button to enable a 'single signature' mode