Unparsed DER bytes remain after ASN.1 parsing.
Hi I'am use a simple function ` const { SignPdf } = require('node-signpdf'); const {plainAddPlaceholder, extractSignature} = require("node-signpdf/dist/helpers");
const p12Buffer = fs.readFileSync(${__dirname}/../resources/certificate_m.p12);
let pdfBuffer = fs.readFileSync(${__dirname}/../resources/w3dummy.pdf);
pdfBuffer = plainAddPlaceholder({ pdfBuffer });
const signer = new SignPdf() const signedPdf = signer.sign(pdfBuffer, p12Buffer);
`
and return Unparsed DER bytes remain after ASN.1 parsing.
please help me .Thankyou
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.
Could this be related? https://github.com/digitalbazaar/forge/issues/975 Does the proposed patch to node-forge fix it? Not really sure. The issue has stayed for quite some months (sorry for that, maintainer's fault). Did you manage to resolve that @ignoric ?