Skip to content

Commit ba26f4a

Browse files
committed
4.8.2 release
1 parent f204fe7 commit ba26f4a

File tree

8 files changed

+44
-35
lines changed

8 files changed

+44
-35
lines changed

ChangeLog.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11

22
ChangeLog for jsrsasign
33

4+
* Changes between 4.8.1 to 4.8.2
5+
- keyutil 1.0.8 to 1.0.9
6+
- getKey EC private/public key bug #69 fix
7+
- node npm module officially released at npmjs.com
8+
- ** 4.8.2 updated files
9+
- ChangeLog.txt
10+
- keyutil-1.0*.js
11+
412
* Changes between 4.8.0 to 4.8.1
513
- keyutil 1.0.7 to 1.0.8
614
- RFC 7517 JSON Web Key(JWK) support

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
jsrsasign
22
=========
33

4-
The 'jsrsasign' (RSA-Sign JavaScript Library) is an 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 and CRL, CMS SignedData, RFC 3161 TimeStamp and RFC 5126 CAdES Long Term Signature, JSON Web Signature/Token.
4+
The 'jsrsasign' is an 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, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK).
55

66
Public page is http://kjur.github.com/jsrsasign .
77

index.html

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<head>
55
<meta charset='utf-8' />
66
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
7-
<meta name="description" content="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, CMS SignedData, TimeStamp and CAdES" />
7+
<meta name="description" content="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, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK)" />
88
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
99
<title>jsrsasign - cryptography library in JavaScript</title>
1010
</head>
@@ -17,7 +17,7 @@
1717
<a id="forkme_banner" href="https://github.com/kjur/jsrsasign">Fork Me on GitHub</a>
1818

1919
<h1 id="project_title">jsrsasign</h1>
20-
<h2 id="project_tagline">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, CMS SignedData, TimeStamp, CAdES and JSON Web Signature/Token</h2>
20+
<h2 id="project_tagline">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, CMS SignedData, TimeStamp, CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK)</h2>
2121

2222
<section id="downloads">
2323
<a class="zip_download_link" href="https://github.com/kjur/jsrsasign/zipball/master">Download this project as a .zip file</a>
@@ -52,16 +52,26 @@ <h3>FEATURES</h3>
5252
<li><a href="api/symbols/ASN1HEX.html">simple ASN.1 data parser</a></li>
5353
<li><a href="api/symbols/X509.html">simple X.509 certificate parser/reader</a></li>
5454
<li><a href="api/symbols/KEYUTIL.html">KEYUTIL</a> - loading RSA/EC/DSA private/public key from PEM formatted PKCS#1/5/8 and X.509 certificate</li>
55-
<li><a href="api/symbols/KJUR.jws.JWS.html">JSON Web Siguature and JSON Web Token</a></li>
55+
<li><a href="api/symbols/KJUR.jws.JWS.html">JSON Web Siguature(JWS)</a>,
56+
<a href="https://kjur.github.io/jsrsasign/api/symbols/KJUR.jws.JWS.html#.verifyJWT">JSON Web Token(JWT)</a> and
57+
<a href="https://kjur.github.io/jsrsasign/api/symbols/KEYUTIL.html#.getKey">JSON Web Key(JWK)</a></li>
5658
<li>Supported formats and algorithms are listed <a href="index_alg.html">here</a>.</li>
5759

5860
</ul>
5961

6062
<h3>NEWS</h3>
6163
<dl>
64+
<dt><b>2015-Jun-06</b>:
65+
<dd><a href="https://github.com/kjur/jsrsasign/releases/tag/4.8.2">Release 4.8.2</a> is now available.
66+
Small fix in
67+
<a href="https://kjur.github.io/jsrsasign/api/symbols/KEYUTIL.html#.getKey">KEYUTIL.getKey</a> and
68+
<a href="https://www.npmjs.com/package/jsrsasign">npm jsrsasign</a> officially released.
69+
70+
6271
<dt><b>2015-Jun-03</b>:
6372
<dd><a href="https://github.com/kjur/jsrsasign/releases/tag/4.8.1">Release 4.8.1</a> is now available.
64-
<a href="http://kjur.github.io/jsrsasign/api/symbols/KJUR.jws.KEYUTIL.html#.getKey">KEYUTIL.getKey method</a> now supports RFC 7517 JSON Web Key(JWK) loading for RSA/ECC private/public key.
73+
<a href="https://kjur.github.io/jsrsasign/api/symbols/KEYUTIL.html#.getKey">KEYUTIL.getKey method</a>
74+
now supports RFC 7517 JSON Web Key(JWK) loading for RSA/ECC private/public key.
6575

6676
<dt><b>2015-Jun-01</b>:
6777
<dd><a href="https://github.com/kjur/jsrsasign/releases/tag/4.8.0">Release 4.8.0</a> is now available. Now <a href="http://kjur.github.io/jsjws">jsjws</a> is

keyutil-1.0.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! keyutil-1.0.8.js (c) 2013-2015 Kenji Urushima | kjur.github.com/jsrsasign/license
1+
/*! keyutil-1.0.9.js (c) 2013-2015 Kenji Urushima | kjur.github.com/jsrsasign/license
22
*/
33
/*
44
* keyutil.js - key utility for PKCS#1/5/8 PEM, RSA/DSA/ECDSA key object
@@ -15,7 +15,7 @@
1515
* @fileOverview
1616
* @name keyutil-1.0.js
1717
* @author Kenji Urushima [email protected]
18-
* @version keyutil 1.0.8 (2015-Jul-02)
18+
* @version keyutil 1.0.9 (2015-Jul-04)
1919
* @since jsrsasign 4.1.4
2020
* @license <a href="http://kjur.github.io/jsrsasign/license/">MIT License</a>
2121
*/
@@ -1258,8 +1258,8 @@ KEYUTIL.getKey = function(param, passcode, hextype) {
12581258

12591259
// 2. by key spec
12601260
// 2.1. ECC private key
1261-
if (param.xy !== undefined && param.curve !== undefined) {
1262-
return new KJUR.crypto.ECDSA({prv: param.xy, curve: param.curve});
1261+
if (param.d !== undefined && param.curve !== undefined) {
1262+
return new KJUR.crypto.ECDSA({prv: param.d, curve: param.curve});
12631263
}
12641264
// 2.2. bare RSA private key
12651265
if (param.n !== undefined &&
@@ -1285,8 +1285,8 @@ KEYUTIL.getKey = function(param, passcode, hextype) {
12851285
}
12861286

12871287
// 2.4. ECC public key
1288-
if (param.d !== undefined && param.curve !== undefined) {
1289-
return new KJUR.crypto.ECDSA({pub: param.d, curve: param.curve});
1288+
if (param.xy !== undefined && param.d === undefined && param.curve !== undefined) {
1289+
return new KJUR.crypto.ECDSA({pub: param.xy, curve: param.curve});
12901290
}
12911291
// 2.5. bare RSA public key
12921292
if (param.kty === undefined && param.n !== undefined && param.e) {

keyutil-1.0.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

npm/Makefile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ aaa:
55
cat \
66
lib/header.js \
77
../jsrsasign-latest-all-min.js \
8-
../../../../jsjws/_gitpg/jsjws/ext/json-sans-eval-min.js \
9-
../../../../jsjws/_gitpg/jsjws/jws-3.0.min.js \
10-
../../../../jsjws/_gitpg/jsjws/jwsjs-2.0.min.js \
118
lib/footer.js \
129
> lib/jsrsasign.js
1310

npm/lib/footer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ exports.MessageDigest = KJUR.crypto.MessageDigest;
88
exports.Mac = KJUR.crypto.Mac;
99
exports.KEYUTIL = KEYUTIL;
1010
exports.ASN1HEX = ASN1HEX;
11+
exports.X509 = X509;
1112

1213
// ext/base64.js
1314
exports.b64tohex = b64tohex;

npm/package.json

Lines changed: 12 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jsrsasign",
3-
"version": "0.0.3",
4-
"description": "pure JavaScript cryptographic library(jsrsasign) and JSON Web Token (JWT) and JSON Web Signature (JWS) library (jsjws) bundle",
3+
"version": "4.8.2.1",
4+
"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, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK). This node package based on jsrsasign 4.8.2",
55
"main": "lib/jsrsasign.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
@@ -11,27 +11,20 @@
1111
"url": "https://github.com/kjur/jsrsasign.git"
1212
},
1313
"keywords": [
14-
"RSA",
15-
"ECDSA",
16-
"DSA",
17-
"RSAPSS",
18-
"PKCS1",
19-
"PKCS5",
20-
"PKCS8",
14+
"RSA", "ECDSA", "DSA", "RSAPSS",
15+
"PKCS#1", "PKCS#5", "PKCS#8", "private key", "public key",
2116
"hash function",
2217
"HMac",
2318
"ASN.1",
24-
"X.509",
25-
"Signature",
19+
"certificate", "X.509",
20+
"RFC 3161", "Digital Timestamp", "Timestamp", "Time Stamp Token",
21+
"CMS", "Cryptgraphic Message Syntax", "PKCS#7",
22+
"Signature", "Digital Signature", "signing",
2623
"Message Digest",
27-
"signing",
28-
"certificate",
29-
"JSON Web Token",
30-
"JSON Web Signature",
31-
"JWT",
32-
"JWS",
33-
"JOSE",
34-
"JWA"
24+
"JSON Web Token", "JWT",
25+
"JSON Web Signature", "JWS",
26+
"JSON Web Key", "JWK",
27+
"JOSE", "JWA",
3528
],
3629
"author": "Kenji Urushima",
3730
"licenses": [

0 commit comments

Comments
 (0)