mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 17:51:49 +10:00
🐛 invalid pades signature fix node-sign pdf locally
This commit is contained in:
@ -149,15 +149,15 @@ class SignPdf {
|
||||
authenticatedAttributes: [{
|
||||
type: _nodeForge.default.pki.oids.contentType,
|
||||
value: _nodeForge.default.pki.oids.data
|
||||
}, {
|
||||
type: _nodeForge.default.pki.oids.messageDigest // value will be auto-populated at signing time
|
||||
|
||||
}, {
|
||||
type: _nodeForge.default.pki.oids.signingTime,
|
||||
// value can also be auto-populated at signing time
|
||||
// We may also support passing this as an option to sign().
|
||||
// Would be useful to match the creation time of the document for example.
|
||||
value: new Date()
|
||||
}, {
|
||||
type: _nodeForge.default.pki.oids.messageDigest // value will be auto-populated at signing time
|
||||
|
||||
}]
|
||||
}); // Sign in detached mode.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user