vizicsaba89 / pdf-signer

sign pdf documents
MIT License
38 stars 33 forks source link

Problem signing a file more than once #10

Closed mcalcano closed 4 years ago

mcalcano commented 4 years ago

Hi guys, i'm having a problem when signing a file more than once. What happens is that only the last signature (always the last one) stays valid but the ones before change to invalid.

image

If I sign it again, I get the same error, last signature added is valid but the rest are invalid due to the same error "There are errors in the formatting or information contained in this signature (The signature byte range is invalid)"

Has anyone solved this issue? It happens with any file, I've tried with more than 50 different files.

Thanks in advance!

pankucsi commented 4 years ago

Helo @mcalcano

First of all, srry for the late reply. Can you send us one of these files ? At the moment we are just testing manually, but this aproach is passing. We are able to sign twice the same pdf without invalidat the first signature.

pankucsi commented 4 years ago

Due the inactivite I had closed the issue.