You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the p12 pdf signer with a p12 certificate with password
But when I execute the signWithP12 the resulting PDF signed with the P12 certificate gets corrupted. Its like if its trying to sign it and all the P12 certificate information is in the corrupted PDF if I inspect it, but then it doesnt attach the PDF information.
Issue Description
I'm trying to use the p12 pdf signer with a p12 certificate with password
But when I execute the
signWithP12
the resulting PDF signed with the P12 certificate gets corrupted. Its like if its trying to sign it and all the P12 certificate information is in the corrupted PDF if I inspect it, but then it doesnt attach the PDF information.I've set this simple app to test it
https://github.com/SirLouen/pdf-signer
We can find a test certificate in the
certs
folder. The password for the certificate istest
.Maybe I'm missing something?
Steps to Reproduce
Using my repo to test it
https://github.com/SirLouen/pdf-signer
Expected Behavior
The resulting in a certified PDF like
Current Behavior
PDF results broken, but if we inspect the content of the PDF we can clearly see that the library tries to insert the certificate not successfully
Operating System [e.g., Windows 10]
Windows 11 + WSL 2
The text was updated successfully, but these errors were encountered: