Replies: 2 comments 1 reply
-
Hi Trefex. Sorry I can't answer your question, but was wondering if you had any insight on how you were able to get your Yubikey to work with the pkcs#11 setup in pyHanko? I've been working for a while to get pyHanko to use the pkcs module I have at |
Beta Was this translation helpful? Give feedback.
-
Hello @Trefex, Sorry, this thread got drowned out by other notifications. Allow me to correct you on one point:
This may be the case, but note that this is not sufficient for your signature to be trusted. Are you using self-signed certificates, or do your PIV certs actually chain up to a root in the public trust (AATL / EUTL / ...)? If not, no amount of certificate embedding is going to change anything. If you want Acrobat to trust other roots, you need to import them into Acrobat's trust store out-of-band. (If you know all this, please disregard.) Anyway, if you know the relevant intermediate certs are stored on the YubiKey, you can use EDIT: forgot the link to the API docs: https://pyhanko.readthedocs.io/en/0.5.1/api-docs/pyhanko.sign.pkcs11.html#pyhanko.sign.pkcs11.PKCS11Signer. There are also options you can pass to |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am able to sign PDFs using a PKCS#11 YubiKey device. So far so good.
However, when I open the PDF in Acrobat, I get a warning, because the certificate is not trusted, and upon inspection, it seems the issuance chain is not embedded into the PDF.
This is the command I used:
Running validation with pyhanko however works
Would I have missed something?
Many thanks for any pointers.
T
Beta Was this translation helpful? Give feedback.
All reactions