Skip to content

Releases: kjur/jsrsasign

small updates

25 Mar 00:52
Compare
Choose a tag to compare
  • x509 1.1.16 to 1.1.17
    • add getExtSubjectAltName2 which supports
      GeneralName type
    • make getExtSubjectAltName deprecated
    • fix getExtCRLDistributionPointsURI() for #269.
      caused error if CDP containts directory name.
      now fixed.
    • getInfo now supports certificatePolicies
  • tool/tool_certview.html
    • SHA1 fingerprint issue fixed for #273

all deprecates removed

29 Jun 12:59
Compare
Choose a tag to compare
  • all of deprecated classes, methods and files are
    removed.
    • get smaller all-min.js than before.
    • following files are refactored:
    • asn1hex, asn1x509, crypto, jwsjs, keyutil,
      rsapem, rsasign, x509.
  • npm/lib/footer.js fix for issue #270.

YUI and X509 update

24 Jun 15:21
Compare
Choose a tag to compare
  • jws 3.3.7 to 3.3.8
    • merge pull request #266
  • x509 1.1.15 to 1.1.16
    • read X.509v3 certificate without any extension
      supported in readCertHex.
  • ext/yahoo.js
    • remove most of codes and keep YAHOO.lang.extend only.
      So all of Yahoo YUI vulnerabilities are removed.

major refactoring add small addition

04 Jun 09:34
Compare
Choose a tag to compare
  • base64x 1.1.11 to 1.1.12
    • function hextopem, pemtohex added
  • asn1hex 1.1.11 to 1.1.12
    • make ASN1HEX.pemToHex deprecated
  • asn1 1.0.12 to 1.0.13
    • make KJUR.asn1.ASN1Util.getPEMStringFromHex deprecated
  • rsapem 1.2.1 to 1.2.2
    • make RSAKey.pemToBase64 deprecated
  • x509 1.1.14 to 1.1.15
    • make X509.pemToBase64 deprecated
  • further refactoring. reducing min.js size by refactoring
    • asn1 1.0.12 to 1.0.13
    • asn1cades 1.0.2 to 1.0.3
    • asn1cms 1.0.3 to 1.0.4
    • asn1csr 1.0.4 to 1.0.5
    • asn1ocsp 1.0.2 to 1.0.3
    • asn1tsp 1.0.2 to 1.0.3
    • asn1x509 1.0.23 to 1.0.24
    • jws 3.3.6 to 3.3.7
    • jwsjs 2.1.0 to 2.1.1
    • keyutil 1.1.1 to 1.1.2
    • pkcs5pkey 1.1.1 to 1.1.2
    • x509 1.1.14 to 1.1.15

major refactoring before 8.0.0 release

21 May 05:31
Compare
Choose a tag to compare
  • major refactoring before reducing file size
  • major refactoring for ASN1HEX
    • asn1hex 1.1.10 to 1.1.11
      • make most of long method name deprecated and
        provide new short names.
      • DEPRECATED: getHexOf{TLV/V/L}_AtObj
        getIntOfL}_AtObj
        get{StartPosOfV/ByteLengthOfL}_AtObj
      • NEW: get{TLV/V/Vlen/Vidx/L/Lblen}
        getChildIdx, getTLVbyList, oidname
    • asn1cades 1.0.1 to 1.0.2
    • asn1csr 1.0.3 to 1.0.4
    • asn1tsp 1.0.1 to 1.0.2
    • ecdsa-modified 1.1.0 to 1.1.1
    • keyutil 1.1.0 to 1.1.1
    • pkcs5key 1.1.0 to 1.1.1
    • rsapem 1.2.0 to 1.2.1
  • major refactoring for X509
    • x509 1.1.13 to 1.1.14
    • make most of static method deprecated and
      new non-static methods are defined.
    • parseExt/getExtInfo method added
  • base64x 1.0.10 to 1.0.11
    • datetozulu added
  • sample/sample*.html tool/tool*.html test/qunit*.html link fixed
  • npm [email protected] had wrong reference in navigator.
    So [email protected] has been unpublished.
  • ext/rng.js
    • msCrypto fallback for IE11 to prevent error
      when calling window.crypto. (pull/254)
      Thanks @mike-w-kelly.
  • dsa 2.1.0 to 2.1.1
    • verifyWithMessageHash infinite loop bug
      fix #238. Thanks @nemesv.

X509v1 support and ASN1HEX, X509 class refactoring

06 May 04:30
Compare
Choose a tag to compare
  • all source codes are moved to src directory
  • x509 1.1.12 to 1.1.13
    • refactoring codes
    • X509v1 certificate support in all methods
    • new methods and properties for X509 class
      • readCertHex
      • getVersion
      • getPublicKey
      • getPublicKeyHex
      • getPublicKeyIdx
      • version property
      • foffset property
    • make following methods and properties deprecated in X509 class
      • readCertPEMWithoutRSAInit
      • getSubjectPublicKeyPosFromCertHex
      • getSubjectPublicKeyInfoPosFromCertHex
      • getPublicKeyInfoPosOfCertHEX
      • getSerialNumberHex static method
      • subjectPublicKeyRSA property
      • subjectPublicKeyRSA_hN property
      • subjectPublicKeyRSA_hE property
  • asn1hex 1.1.9 to 1.1.10
    • refactoring codes
    • new methods
      • getIdxbyList
      • getTLVbyList
    • make following methods deprecated
      • getDecendantIndexByNthList (> getIdxbyList)
  • asn1x509 1.0.22 to 1.0.23
    • serialNumber(2.5.4.5) parameter added OID attribute type
  • base64x 1.1.9 to 1.1.10
    • hextoposhex function added

add zuluto{date,sec,msec}

16 Apr 10:28
Compare
Choose a tag to compare
  • jsrsasign-latest-all-min.js was moved to
    jsrsasign-all-min.js in master.
    In gh-page, both are provided for backword
    compatibity.
  • base64x 1.1.8 to 1.1.9
    • zuluto{date,msec,int} are added
  • jws 3.3.5 to 3.3.6
    • modified IntDate.getZulu to use zulutosec;

AlgorithmIdentifier bug fix

16 Apr 10:29
Compare
Choose a tag to compare
  • CRITICAL BUG FIX: KJUR.asn1.x509.AlgorithmIdentifier
    default was wrong in algorithm parameter field.
    For example "SHA1" AlgorithmIdentifier object
    will be missing algorithm parameter field by
    bug. This issue raised just only in 7.1.1 and
    the issue was fixed.
    • asn1x509 1.0.21 to 1.0.22
      • AlgorithmIdentifier bug fix

critical bugfix for asn1.x509.Certificate.sign()

13 Mar 20:50
Compare
Choose a tag to compare
  • CRITICAL BUG FIX: KJUR.asn1.x509.Certificate.sign() and
    KJUR.asn1.x509.X509Util.newCertPEM() have always
    signed signatures with SHA1withRSA algorithm regardless
    of any specified signature algorithm. This issue was
    fixed in this release.
  • asn1x509 1.0.19 to 1.0.20
    • Certificate
      • sign() critical bug fix
        sign() was always sign with SHA1withRSA regardless of
        specified any other signature algorithm.
        This fixes #240 and #241 by @helfloryd.
    • AlgorithmIdentifier
      • set algorithm parameter to NULL automatically by default
        for "*withRSA" algorithm.
      • document update
    • newCertPEM
      • fix document
  • x509 1.1.11 to 1.1.12
    • X509.verifySignature static method added
  • ext/rng.js
  • crypto 1.1.11 to 1.1.12
    • minor document fix

minor lots of updates for KEYUTIL

22 Jan 10:07
Compare
Choose a tag to compare
  • minor update for loading private/public key
    • support added: PKCS#5 DSA/ECC hexacedimal string of private key
  • keyutil 1.0.14 to 1.1.0
    • BUGFIX: KEYUTIL.getKey for PKCS#5 PEM ECC private key
      was not set curve name properly and now it's fixed.
      (issue #227).
    • make KEYUTIL.getHexFromPEM deprecated
    • move from KEYUTIL.getHexFromPEM to ASN1HEX.pemToHex
  • pkcs5pkey 1.0.7 to 1.1.0
    • make PKCS5PKEY.getHexFromPEM deprecated
    • move from getHexFromPEM to ASN1HEX.pemToHex
  • rsapem 1.1.1 to 1.2.0
    • refactoring codes
    • readPKCS5PubKeyHex added
    • readPKCS8PubKeyHex added
    • readCertPubKeyHex added
  • ecdsa-modified 1.0.5 to 1.1.0
    • readCertPubKeyHex added
  • dsa 2.0.1 to 2.1.0
    • setPrivateHex, setPublicHex added
    • readPKCS5PrvKeyHex added
    • readPKCS8PrvKeyHex added
    • readPKCS8PubKeyHex added
    • readCertPubKeyHex added
  • asn1hex 1.1.8 to 1.1.9
    • ASN1HEX.pemToHex added
    • move from {KEYUTIL,PKCS5PRV}.getHexFromPEM,
      X509.pemToHex to ASN1HEX.pemToHex
  • x509 1.1.10 to 1.1.11
    • now X509.pemToHex deprecated and is planed to
      remove in jsrsasign 8.0.0.
  • asn1cades 1.0.0 to 1.0.1
    • move to ASN1HEX.pemToHex
  • asn1cms 1.0.2 to 1.0.3
    • move from KEYUTIL.getHexFromPEM to ASN1HEX.pemToHex
  • asn1csr 1.0.2 to 1.0.3
    • move from KEYUTIL.getHexFromPEM to ASN1HEX.pemToHex