Skip to content

Commit

Permalink
10.8.6 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Apr 26, 2023
1 parent c195be8 commit 59920c4
Show file tree
Hide file tree
Showing 14 changed files with 1,378 additions and 1,371 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@

ChangeLog for jsrsasign

X509.getExtSubjectDirectoryAttributes another bugfix
* Changes from 10.8.5 to 10.8.6 (2023-Apr-26)
- src/x509.js
- another bugfix X509.getExtSubjectDirectoryAttributes method

X509.getExtSubjectDirectoryAttributes bugfix
* Changes from 10.8.4 to 10.8.5 (2023-Apr-26)
- src/x509.js
Expand Down
2 changes: 1 addition & 1 deletion api/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ <h2><a href="symbols/src/x509-1.1.js.html">x509-1.1.js</a></h2>


<dt class="heading">Version:</dt>
<dd>jsrsasign 10.8.5 x509 2.1.5 (2023-Apr-26)</dd>
<dd>jsrsasign 10.8.6 x509 2.1.6 (2023-Apr-26)</dd>



Expand Down
2,681 changes: 1,341 additions & 1,340 deletions api/symbols/src/x509-1.1.js.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kjur-jsrsasign",
"version": "10.8.5",
"version": "10.8.6",
"main": "jsrsasign-all-min.js",
"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.",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions jsrsasign-all-min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions jsrsasign-jwths-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions jsrsasign-rsa-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion min/x509-1.1.min.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions npm/lib/jsrsasign-all-min.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions npm/lib/jsrsasign-jwths-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions npm/lib/jsrsasign-rsa-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions npm/lib/jsrsasign.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jsrsasign",
"version": "10.8.5",
"version": "10.8.6",
"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).",
"main": "lib/jsrsasign.js",
"scripts": {
Expand Down
7 changes: 4 additions & 3 deletions src/x509-1.1.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* x509-2.1.5.js (c) 2012-2023 Kenji Urushima | kjur.github.io/jsrsasign/license
/* x509-2.1.6.js (c) 2012-2023 Kenji Urushima | kjur.github.io/jsrsasign/license
*/
/*
* x509.js - X509 class to read subject public key from certificate.
Expand All @@ -16,7 +16,7 @@
* @fileOverview
* @name x509-1.1.js
* @author Kenji Urushima kenji.urushima@gmail.com
* @version jsrsasign 10.8.5 x509 2.1.5 (2023-Apr-26)
* @version jsrsasign 10.8.6 x509 2.1.6 (2023-Apr-26)
* @since jsrsasign 1.x.x
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
*/
Expand Down Expand Up @@ -2599,12 +2599,13 @@ function X509(params) {
if (critical) result.critical = true;
try {
var pASN1 = _ASN1HEX_parse(hExtV);
var aValue = [];
for (var i = 0; i < pASN1.seq.length; i++) {
var aASN1Attribute = pASN1.seq[i];
var attrType = aryval(aASN1Attribute, "seq.0.oid");
var attrValue = aryval(aASN1Attribute, "seq.1.set");
if (attrType == undefined || attrValue == undefined) throw "error";
return { attr: attrType, array: attrValue };
aValue.push({ attr: attrType, array: attrValue });
}
result.array = aValue;
return result;
Expand Down

0 comments on commit 59920c4

Please sign in to comment.