Valery Buchinsky

Results 82 comments of Valery Buchinsky

Hi, You would need to implement a `Signer`. The package only has one such implementation currently - https://github.com/vbuch/node-signpdf/blob/develop/packages/signer-p12/src/P12Signer.js but as you can see the abstract is quite simple https://github.com/vbuch/node-signpdf/blob/develop/packages/utils/src/Signer.js#L4

It's the signature only. It will be used here: https://github.com/vbuch/node-signpdf/blob/develop/packages/signpdf/src/signpdf.js#L79 The idea is that @signpdf/signpdf will deal with the PDF part. The Signer should only care of crypto.

You should probably have a look at https://github.com/vbuch/node-signpdf/pull/230 You didn't say what the external signing service would be...

Hi, Have a look at the ["visual" tag](https://github.com/vbuch/node-signpdf/issues?q=label%3Avisual) if you want. And we have this example that adds a visual: https://github.com/vbuch/node-signpdf/blob/develop/packages/examples/src/pdfkit010-with-visual.js

@pranay18997 https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf ![image](https://github.com/vbuch/node-signpdf/assets/5102057/b5993883-87c5-476d-b9f0-5ec504fd94e3)

@pranay18997, @ngvhob https://stackoverflow.com/a/40391641/2528232

@TimKieu never tried it. Not sure. In examples we use `fs` but you don't need that for signing. `node-forge` is advertised as plain JS so should be runnable anywhere. It...

@TimKieu we are absolutely welcoming PRs.

Hi, I haven't really used `placeholder-pdfkit`. @dhensby would be best to reply here. But from what I see in [the source](https://github.com/vbuch/node-signpdf/blob/develop/packages/placeholder-pdfkit/src/pdfkitAddPlaceholder.js#L104) `signature` and `widget` are already ended. Try to work...