-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Signing a PDF with attachment results in a signed PDF without attachment #10
Comments
Does it work if you do not attach the zip file? |
Yes. Also, it "works" if I attach the file. I mean, I get no errors and the generated file is signed fine, but it does not contain the attached file anymore. Take a look at the output on my first comment. |
Ok, I understand this is not a priority. $ cat simple_with_file.pdf | grep -a startxref | wc -l
1
$ cat Acrobat_DigitalSignatures_in_PDF.pdf | grep -a startxref | wc -l
2 I've never worked with PDF files, so I do not think I can help. Anyway, I will take a look and try to figure out what is going on. |
I opened a PR to fix this issue. #27 |
I'm trying to sign a PDF with a zip file attached. The execution looks good and no errors are shown. Also, the signed PDF size is a bit higher than the original one, so the attachment should be there, but I cannot see it with any reader after signing.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: