kjur / jsrsasign

The 'jsrsasign' (RSA-Sign JavaScript Library) is an opensource free cryptography library supporting RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp, CAdES and JSON Web Signature/Token in pure JavaScript.
https://kjur.github.io/jsrsasign
Other
3.27k stars 644 forks source link

TSA name in TSTInfo isn't encoded properly #450

Closed augjoh closed 4 years ago

augjoh commented 4 years ago

RFC 3161 (https://tools.ietf.org/html/rfc3161) specifies the tsa of a timestamp as

tsa             [0] GeneralName          OPTIONAL

The tsa name encoded in asn1tsp-1.0.js line 368 is neither tagged and nor a GeneralName.

kjur commented 4 years ago

Hi @augjoh , the issue was fix in 9.03 release today. Thanks.