vbuch / node-signpdf

Simple signing of PDFs in node.
MIT License
688 stars 175 forks source link

Sign without private key #142

Closed jchapelle closed 2 years ago

jchapelle commented 3 years ago

Hello,

Using adobe acrobat, we can sign pdf using certificate that is registered on the computer or using a eid smart card. I guess it is then feasible to sign without a private key.

I would like to sign a pdf using a certificate that is available on belgian eid smart card (pkcs#11). On these cards, there are no private key. The certificate is issued by a trusted CA and only this CA has the private key. Still, it is feasible to sign a pdf using these eid smart card.

Would it be possible to sign using only the trusted certificate ?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had activity in the past 90 days. It will be closed if no further activity occurs. Thank you for your contributions.

vbuch commented 2 years ago

Check out #15 #40 and #106

qamalyanaren commented 2 years ago

Hello, I would like to create desktop application (Electron JS) to sign a pdf using external service returning signature (Base64SignatureOfTheHash), front side sends PDF hash and backend side return signature of the hash. How to insert signed hash to the PDF ?

vbuch commented 2 years ago

@qamalyanaren see here https://github.com/vbuch/node-signpdf/pull/116