From 2098e2cfc538c86aa45bdfb1ec6a2571449ab1a5 Mon Sep 17 00:00:00 2001 From: Kenji Urushima Date: Tue, 14 Mar 2017 05:48:29 +0900 Subject: [PATCH] 7.1.1 release --- ChangeLog.txt | 27 +- api/files.html | 6 +- .../KJUR.asn1.x509.AlgorithmIdentifier.html | 24 +- api/symbols/KJUR.asn1.x509.Certificate.html | 2 +- .../KJUR.asn1.x509.SubjectPublicKeyInfo.html | 7 + api/symbols/KJUR.asn1.x509.TBSCertList.html | 4 +- api/symbols/KJUR.asn1.x509.X509Util.html | 25 +- api/symbols/KJUR.crypto.Cipher.html | 2 +- api/symbols/X509.html | 74 + api/symbols/src/asn1x509-1.0.js.html | 1617 +++++----- api/symbols/src/crypto-1.1.js.html | 10 +- api/symbols/src/x509-1.1.js.html | 2605 +++++++++-------- asn1x509-1.0.js | 125 +- bower.json | 2 +- crypto-1.1.js | 10 +- ext/rng-min.js | 2 +- ext/rng.js | 2 +- jsrsasign-latest-all-min.js | 14 +- min/asn1x509-1.0.min.js | 4 +- min/crypto-1.1.min.js | 2 +- min/x509-1.1.min.js | 4 +- npm/lib/jsrsasign.js | 14 +- npm/package.json | 2 +- test/index.html | 3 + test/qunit-do-asn1x509-newcert-veri.html | 130 + test/qunit-do-asn1x509-newcrt.html | 57 +- test/qunit-do-asn1x509.html | 40 +- test/qunit-do-package-jwths.html | 46 + test/qunit-do-package-rsa.html | 91 + test/qunit-do-x509.html | 240 +- x509-1.1.js | 49 +- 31 files changed, 2979 insertions(+), 2261 deletions(-) create mode 100755 test/qunit-do-asn1x509-newcert-veri.html create mode 100755 test/qunit-do-package-jwths.html create mode 100755 test/qunit-do-package-rsa.html diff --git a/ChangeLog.txt b/ChangeLog.txt index 897d3587..3b5cab64 100755 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,31 @@ ChangeLog for jsrsasign +* Changes from 7.0.0 to 7.1.1 (2017-Mar-10) + - 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 + - fix #228 from @dzaman. window.crypto.random fix + - crypto 1.1.11 to 1.1.12 + - minor document fix + * Changes from 7.0.0 to 7.1.0 (2017-Jan-21) - minor update for loading private/public key - support added: PKCS#5 DSA/ECC hexacedimal string of private key @@ -13,7 +38,7 @@ ChangeLog for jsrsasign - pkcs5pkey 1.0.7 to 1.1.0 - make PKCS5PKEY.getHexFromPEM deprecated - move from getHexFromPEM to ASN1HEX.pemToHex - - rsapem 1.1.1 to 1.1.2 + - rsapem 1.1.1 to 1.2.0 - refactoring codes - readPKCS5PubKeyHex added - readPKCS8PubKeyHex added diff --git a/api/files.html b/api/files.html index 6706dfa8..eb5098ee 100644 --- a/api/files.html +++ b/api/files.html @@ -576,7 +576,7 @@

asn1x509-1.0.js

Version:
-
1.0.20 (2017-Jan-14)
+
1.0.21 (2017-Mar-03)
@@ -614,7 +614,7 @@

crypto-1.1.js

Version:
-
1.1.11 (2016-Dec-25)
+
1.1.12 (2017-Jan-31)
@@ -823,7 +823,7 @@

x509-1.1.js

Version:
-
x509 1.1.11 (2017-Jan-21)
+
x509 1.1.12 (2017-Mar-12)
diff --git a/api/symbols/KJUR.asn1.x509.AlgorithmIdentifier.html b/api/symbols/KJUR.asn1.x509.AlgorithmIdentifier.html index 6ef1ea49..0e7e69e5 100644 --- a/api/symbols/KJUR.asn1.x509.AlgorithmIdentifier.html +++ b/api/symbols/KJUR.asn1.x509.AlgorithmIdentifier.html @@ -473,7 +473,9 @@

KJUR.asn1.x509.AlgorithmIdentifier(params)
AlgorithmIdentifier ASN.1 structure class -
+The 'params' argument is an associative array and has following parameters: +