Skip to content

Commit 3edc007

Browse files
committed
10.5.24 release
1 parent f6b7916 commit 3edc007

16 files changed

+738
-731
lines changed

ChangeLog.txt

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11

22
ChangeLog for jsrsasign
33

4+
X509.getParam bugfix for v1 certificate
5+
* Changes from 10.5.23 to 10.5.24 (2022-Jun-04)
6+
- src/x509.js
7+
- X509.getParam bugfix for X.509v1 certificate without extension
8+
49
BitString parsing bug fix
510
* Changes from 10.5.22 to 10.5.23 (2022-May-27)
611
- src/base64x.js

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ HIGHLIGHTS
3939
- no dependency to other library
4040
- no dependency to [W3C Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/) nor [OpenSSL](https://www.openssl.org/)
4141
- no dependency on newer ECMAScirpt function. So old browsers also supported.
42-
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2022-04-20)
42+
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2022-06-01)
4343

4444
INSTALL
4545
-------

api/files.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>
890890

891891

892892
<dt class="heading">Version:</dt>
893-
<dd>jsrsasign 10.5.16 x509 2.0.16 (2022-Apr-08)</dd>
893+
<dd>jsrsasign 10.5.24 x509 2.0.17 (2022-Jun-04)</dd>
894894

895895

896896

api/symbols/src/x509-1.1.js.html

+713-712
Large diffs are not rendered by default.

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "kjur-jsrsasign",
3-
"version": "10.5.23",
3+
"version": "10.5.24",
44
"main": "jsrsasign-all-min.js",
55
"description": "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, JWS and JWT in pure JavaScript.",
66
"license": "MIT",

jsrsasign-all-min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jsrsasign-jwths-min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jsrsasign-rsa-min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

min/x509-1.1.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ HIGHLIGHTS
3939
- no dependency to other library
4040
- no dependency to [W3C Web Cryptography API](https://www.w3.org/TR/WebCryptoAPI/) nor [OpenSSL](https://www.openssl.org/)
4141
- no dependency on newer ECMAScirpt function. So old browsers also supported.
42-
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2022-04-20)
42+
- very popular crypto library with [0.6M+ npm downloads/month](https://npm-stat.com/charts.html?package=jsrsasign&from=2016-05-01&to=2022-06-01)
4343

4444
INSTALL
4545
-------

npm/lib/jsrsasign-all-min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/lib/jsrsasign-jwths-min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/lib/jsrsasign-rsa-min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/lib/jsrsasign.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsrsasign",
3-
"version": "10.5.23",
3+
"version": "10.5.24",
44
"description": "opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK).",
55
"main": "lib/jsrsasign.js",
66
"scripts": {

src/x509-1.1.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* x509-2.0.16.js (c) 2012-2022 Kenji Urushima | kjur.github.io/jsrsasign/license
1+
/* x509-2.0.17.js (c) 2012-2022 Kenji Urushima | kjur.github.io/jsrsasign/license
22
*/
33
/*
44
* x509.js - X509 class to read subject public key from certificate.
@@ -16,7 +16,7 @@
1616
* @fileOverview
1717
* @name x509-1.1.js
1818
* @author Kenji Urushima [email protected]
19-
* @version jsrsasign 10.5.16 x509 2.0.16 (2022-Apr-08)
19+
* @version jsrsasign 10.5.24 x509 2.0.17 (2022-Jun-04)
2020
* @since jsrsasign 1.x.x
2121
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
2222
*/
@@ -2629,7 +2629,8 @@ function X509(params) {
26292629
result.notafter = this.getNotAfter();
26302630
result.subject = this.getSubject();
26312631
result.sbjpubkey = hextopem(this.getPublicKeyHex(), "PUBLIC KEY");
2632-
if (this.aExtInfo.length > 0) {
2632+
if (this.aExtInfo != undefined &&
2633+
this.aExtInfo.length > 0) {
26332634
result.ext = this.getExtParamArray();
26342635
}
26352636
result.sighex = this.getSignatureValueHex();

0 commit comments

Comments
 (0)