Skip to content

Commit

Permalink
10.8.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
kjur committed Apr 26, 2023
1 parent 04af7f5 commit c195be8
Show file tree
Hide file tree
Showing 14 changed files with 1,376 additions and 1,369 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 bugfix
* Changes from 10.8.4 to 10.8.5 (2023-Apr-26)
- src/x509.js
- bugfix X509.getExtSubjectDirectoryAttributes method

more SubjectDirectoryExtension support
* Changes from 10.8.3 to 10.8.4 (2023-Apr-26)
- src/asn1x509.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.4 x509 2.1.4 (2023-Apr-26)</dd>
<dd>jsrsasign 10.8.5 x509 2.1.5 (2023-Apr-26)</dd>



Expand Down
2,675 changes: 1,338 additions & 1,337 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.4",
"version": "10.8.5",
"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.4",
"version": "10.8.5",
"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
9 changes: 5 additions & 4 deletions src/x509-1.1.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* x509-2.1.4.js (c) 2012-2023 Kenji Urushima | kjur.github.io/jsrsasign/license
/* x509-2.1.5.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 [email protected]
* @version jsrsasign 10.8.4 x509 2.1.4 (2023-Apr-26)
* @version jsrsasign 10.8.5 x509 2.1.5 (2023-Apr-26)
* @since jsrsasign 1.x.x
* @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
*/
Expand Down Expand Up @@ -2601,8 +2601,9 @@ function X509(params) {
var pASN1 = _ASN1HEX_parse(hExtV);
for (var i = 0; i < pASN1.seq.length; i++) {
var aASN1Attribute = pASN1.seq[i];
var attrType = aryval(aASN1Attribute, "0.oid");
var attrValue = aryval(aASN1Attribute, "1.set");
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 };
}
result.array = aValue;
Expand Down

0 comments on commit c195be8

Please sign in to comment.