AckerApple / pdfbox-cli-wrap

A wrapper for making PDFBox CLI commands
MIT License
5 stars 5 forks source link

Signing fails #7

Open louisxie0830 opened 5 years ago

louisxie0830 commented 5 years ago

const pdfboxCliWrap = require('pdfbox-cli-wrap'); const path = require('path');

const inPath = path.join(dirname, 'new.pdf'); const key = path.join(dirname, 'pdfbox-test.p12');

pdfboxCliWrap .signToBuffer(inPath, inPath, { password: 'pdfbox-test-password', keyStore: key, }) .then(buffer => { // console.log('buffer: ', JSON.stringify(buffer)); console.log('signed!'); }) .catch(e => { console.log('e: ', e); });

pdf still have no signature, Do you make sure this function had been implemented.

AckerApple commented 5 years ago

It’s been a couple years since I used this package. The document project I created it for, never fully went live and so this package never had a chance to prove and refine itself.

Everything as is. You’re on your own