Closed NoahCardoza closed 3 years ago
I just created an example repo so you can easily see what I'm working with!
After further research, while it does seem to be a problem with the lib not being able to read newer PDFs, I found a simple work around for the time being:
pdftk input.pdf output output.pdf
Is able add the proper trailer to the end of the PDF. In my case the PDF was also protected, so I used:
qpdf --decrypt encrypted.pdf unencrypted.pdf
pdftk unencrypted.pdf output output.pdf
Note: This was able to preserve the form fields!
I hope this helps someone else and saves them the 3 days it took me!
Is this fixed in any branch ? Actually master doesn't work on PDF > v1.3 , it brokes on 1.7 for example
No it is not fixed and it is not a bug. Unfortunately we are not compatible with the new pdf version. You can solve this if you are downgrade the PDF's version.
You can read more about the problem in this issue if you are interested in it: https://github.com/vizicsaba89/pdf-signer/issues/17
how to show the green tick validation through this library
It seems that this lib has problems working with fillable PDFs:
From the stack it seems that it's a problem with
node-signpdf
, so I'll also open an issue there. If you have any insight as to what might be causing this I'd be happy to try and work on a fix.