Releases: kjur/jsrsasign
Releases · kjur/jsrsasign
custom X.509 extension support and utility functions
- Changes from 10.6.1 to 10.7.0 (2023-Mar-12)
- x509.js
- add X509.registExtParser(): register custom extension parser
- base64x.js
- add utility functions
- b64topem() Base64 string to PEM
- pemtob64() PEM to Base64 string
- foldnl() wrap string to fit in specified width
- timetogen() align to UTCTime to GeneralizedTime
- add utility functions
- test/qunit-do-{x509-ext,base64x}.html
- update and add some test cases for above
- x509.js
Add PolicyMappings, PolicyConstraints and InhibitAnyPolicy extension support
- Changes from 10.6.0 to 10.6.1 (2022-Nov-20)
- asn1x509.js
- KJUR.asn1.x509.{PolicyMappings,PolicyConstraints,InhibitAnyPolicy} class added
- KJUR.asn1.x509.Extension updated to support
PolicyMappings, PolicyConstraints and InhibitAnyPolicy
- x509.js
- X509.getExt{PolicyMappings,PolicyConstraints,InhibitAnyPolicy} method added
- X509.getCriticalExtV utility method added
- X509.getExtParam updated to support
{PolicyMappings,PolicyConstraints,InhibitAnyPolicy} - X509.getInfo updated to support
{PolicyMappings,PolicyConstraints,InhibitAnyPolicy}
- test/qunit-do-{asn1x509-tbscert,x509-ext,x509-getinfo,x509-param}.html
- update and add some test cases for above
- asn1x509.js
StringPrep DN canonicalization support and some fix
z* Changes from 10.5.27 to 10.6.0 (2022-Nov-04)
- x509.js
- X509.getParam
- add support for optional parameter "dncanon" and "dnhex"
- X509.getInfo
- update representation for AltName
- X509.{getIssuer,getSubect}
- add support for optional argument flagCanon, flagHex
- X509.c14RDNArray added to convert from RDN array to canonicalized
DN name (a.k.a. StringPrep). - X509.getX500Name
- API document updated
- X509.getOtherName
- member name changed from "other" to "value" for
consistency with KJUR.asn1.x509.OtherName class constructor. - Also oid member value in return object will be an oid name if defined.
- member name changed from "other" to "value" for
- X509.setCanonicalizedDN added to set "canon" member value
- X509.getParam
- asn1x509.js
- smtpUTF8Mailbox oid added to OID class
- API document fix
- asn1.js
- DERTaggedObject API document update
- test/qunit-do-{asn1x509,x509-ext,x509-getinfo,x509-param,x509}.html
- update some test cases for above
extend CertificationRequestInfo class for challengePassword and unstructuredName
- Changes from 10.5.26 to 10.5.27 (2022-Aug-19)
- src/asn1csr.js
- CertificationRequestInfo class
- add support for challengePassword and unstructuredName (#522)
- "attrs" member support in constructure argument
- CertificationRequestInfo class
- test/qunit-do-asn1csr.html
- src/asn1csr.js
CSRUtil class enhancement
- Changes from 10.5.25 to 10.5.26 (2022-Jul-14)
- src/asn1csr.js
- CSRUtil.verifySignature method added
- CSRUtil.getParam enhanced to support optional argument flagTBS
- test/qunit-do-asn1csr.html
- update some test cases for above
- src/asn1csr.js
CVE-2022-25898 Security fix in JWS and JWT validation
- Changes from 10.5.24 to 10.5.25 (2022-Jun-23)
- src/jws.js
- JWS.verify and JWS.verifyJWT
- CVE-2022-25898 SECURITY FIX:
verify and verifyJWT may accept signature with special characters
or \number characters by mistake.
Please see security advisory:
GHSA-3fvg-4v2m-98jf
- CVE-2022-25898 SECURITY FIX:
- JWS.verify and JWS.verifyJWT
- src/base64x.js
- function isBase64URLDot added
- test/qunit-do-jwt-veri.html
- src/jws.js
X509.getParam bugfix for v1 certificate
- Changes from 10.5.23 to 10.5.24 (2022-Jun-04)
- src/x509.js
- X509.getParam bugfix for X.509v1 certificate without extension
- src/x509.js
BitString parsing bug fix
- Changes from 10.5.22 to 10.5.23 (2022-May-27)
- src/base64x.js
- bitstrtobinstr bugfix fix
- src/asn1hex.js
- ASN1HEX.parse change for bin string range
- npm/lib/footers.js
- add missed exports (bitstrtobinstr, binstrtobitstr,
namearraytobinstr, extendClass)
- add missed exports (bitstrtobinstr, binstrtobitstr,
- test/qunit-do-{asn1hex-parse,base64x}.html
- add and fix some test cases for above
- src/base64x.js
DERBitString, KeyUsage and tsp PKIFailureInfo critical bug fix
- Changes from 10.5.21 to 10.5.22 (2022-May-24)
- src/asn1.js
- DERBitString critical bugfix
- src/asn1tsp.js
- PKIFailureInfo critical bugfix
- src/asn1x509.js
- KeyUsage critical bugfix
- src/base64.x
- namearraytobinstr critical bugfix
- test/qunit-do-{asn1,asn1tsp,asn1x509,base64x}.html
- add and fix some test cases for above
- src/asn1.js
OCSP ResponderID object udpate
- Changes from 10.5.19 to 10.5.20 (2022-Apr-25)
- src/asn1ocsp.js
- ResponderID class now also supports PEM certificate or
X509 object for key and name field.
- ResponderID class now also supports PEM certificate or
- test/qunit-do-asn1ocsp.html
- add some test cases and fix for above
- remove silver sponsor
- src/asn1ocsp.js