This issue is related to the additional field signingTime in the method getSigner. According to the node-forge documentation, this is an optional field, if not provided the field value will be the timestamp when the signature is realized. So its removal won't generate any side effects.
Additionally, this PR also updates the used packages to the latest versions and fixes the Date convert test.
This PR aims in fixing the error of invalid asymmetric cipher when trying to validate the generated pdf signature with some sites like: https://validator.docusign.com https://verificador.iti.gov.br
This issue is related to the additional field
signingTime
in the methodgetSigner
. According to thenode-forge
documentation, this is an optional field, if not provided the field value will be the timestamp when the signature is realized. So its removal won't generate any side effects.Additionally, this PR also updates the used packages to the latest versions and fixes the
Date convert
test.Below we can see the validation results: