Skip to content

Releases: kjur/jsrsasign

Now jsrsasign is Node.js "fs" free.

11 Sep 04:54
Compare
Choose a tag to compare
  • As of so much requests to remove Node functions
    in nodeutil.js, nodeutil.js have been removed from
    jsrsasign.js package. Then it is moved to
    new "jsrsasign-util" npm package.
    Now "jsrsasign" will be CommonJS, Purescript,
    Webpack and Browserify safe package.
    Some sample Node.js scripts in "sample_node"
    will be updated later.

jwsjs - JSON Web Signatures JSON Serialization update

07 Sep 17:47
Compare
Choose a tag to compare
  • jwsjs 2.0.15 to 2.1.0
    • refactoring and API document update
    • addSignature, verifyAll, verifyNth method added
    • make addSignatureByHeaderKey,
      addSignatureByHeaderPayloadKey and verifyWithCerts
      deprecated.
  • sample_*.html
    • review all to work. reference fix. make list in Wiki.
  • index*.html
    • update

small updates

27 Aug 14:04
Compare
Choose a tag to compare
  • pemtojwk and jwktopkcs8 added to sample node scripts
  • asn1 1.0.9 to 1.0.10
    • ASN1Util.getPEMStringFromHex modified not to use
      CryptoJS.
  • test/qunit-do-*.html
    • test case reference fix
  • remove ext/{md5,ripemd160,sha1,sha256,sha512}.js,
    ext/THIRDPARTY_LICENSE.pjhash.txt for
    Paul Johnston's Hash Algorithm JavaScript

KEYUTIL.getJWKFromKey added

11 Aug 07:13
Compare
Choose a tag to compare
  • keyutil 1.0.12 to 1.0.13
    • KEYUTIL.getJWKFromKey() method added to get
      RFC 7517 JSON Web Key(JWK) object from RSAKey or
      KJUR.crypto.ECDSA public/private key object.
    • KEYUTIL.generateKeypair()
      do also setPublicKeyHex for EC private key in
      as aligned to PEM private key
      loading.
    • KEYUTIL.getKey(JWK_EC_PRV)
      made change to set public x y too.
  • ecdsa-modified 1.0.4 to 1.0.5
    • getPublicKeyXYHex() method added
    • getShortNISTPCurveName() method added
  • npm
    • missed to export KJUR.lang now fixed
  • sample_node/genjwk added to generate keypair and save as JWK
  • tool_certview.html
    • loading script fix

base64x updates et.al.

05 Aug 03:45
Compare
Choose a tag to compare
  • base64x.js
    • KJUR.lang.String class added and its some static
      methods isHex, isInteger, isBase64, isBase64URL and
      isIntegerArray also defined.
    • KJUR.lang added to npm package namespace.
  • tool_string.html added to provide string converter tool.
  • jws.js
    API document updated.
  • CryptoJS codes in code.google.com seem to be removed and
    404 not found so that CryptoJS references in all test
    were moved to local files.
  • CryptoJS codes were moved to ext/cj directory.
  • tool_b64u{enc,dec}.html script URL fix

JWS.verifyJWT supports grace period

17 May 14:51
Compare
Choose a tag to compare
  • jws between 3.3.3 to 3.3.4
    • support grace period for verifyJWT method.
      This is to allow time difference between
      JWT generator and verifier.
  • asn1hex
    • API document update

merge pulls and add some X509v1 cert support

10 May 15:38
Compare
Choose a tag to compare
  • X509v1 certificate support in KEYUTIL.getKey and
    X509.getPublicKeyInfoPropOfCertPEM
  • sample_node/showcert added
  • x509.js 1.1.8 to 1.1.9
    • X509.DN_ATTRHEX added to show EV cert DN
    • X509v1 certificate support in X509.getPublicKeyInfoPropOfCertPEM.
      This makes KEYUTIL.getKey support X509v1 certificate.
  • test/qunit-do-x509-getinfo.html
    • test case added for EV cert DN
  • tool_{jwt,jwtveri}.html
  • ext/{rsa,rsa2}.js
    • allow hash func to be passed to OAEP. Thanks @davedoesdev.
  • asn1x509.js 1.0.13 to 1.0.14
    • add 'SN' (i.e. SurName) support in distinguished name.
      Thanks @kurtsson.

x509.js add extension methods

24 Apr 14:09
Compare
Choose a tag to compare
  • Changes between 5.0.9 to 5.0.10
    • sample_node/jwtverify bugfix
    • x509 1.1.7 to 1.1.8
      • following methods are added:
        • getInfo()
        • getExtSubjectKeyIdentifier()
        • getExtAuthorityKeyIdentifier()
        • getExtExtKeyUsageName()
        • getExtSubjectAltName()
        • getExtCRLDistributionPointsURI()

ext/rng.js update

19 Apr 13:20
Compare
Choose a tag to compare
  • ext/rng.js
    • use window.crypto.getRandomValues for SecureRandom
      if available. (ToDo also for Node.js)

x509.js update

14 Apr 10:38
Compare
Choose a tag to compare
  • LICENSE.txt small update for years of copyright.
  • ext/x64-core*.js was missed and added
  • x509 1.1.6 to 1.1.7
    • X509.{getHexOfTLV_V3ExtValue,getHexOfV_V3ExtValue}
      are chageed to return null instead of '' if there
      is no extension specified by name or oid.
    • X509.getBasicConstraints added
    • X509.getSignatureAlgorithmName added
    • X509.getSignatureValueHex added
    • API document update
  • each *.min.js files are moved to min/ folder.
  • clean up old *-all-min.js