Skip to content

Commit 5f61ac8

Browse files
authored
Revert "🧹Remove jsrassign dependency as it is now in-house"
1 parent 15f3c8b commit 5f61ac8

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,8 @@
4848
"webpack": "^4.29.3",
4949
"webpack-stream": "^4.0.3"
5050
},
51+
"dependencies": {
52+
"jsrsasign": "^8.0.12"
53+
},
5154
"typings": "index.d.ts"
5255
}

src/JoseUtil.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
33

44
import { jws, KEYUTIL as KeyUtil, X509, crypto, hextob64u, b64tohex } from '../jsrsasign/dist/jsrsasign.js';
5+
//import { jws, KEYUTIL as KeyUtil, X509, crypto, hextob64u, b64tohex } from 'jsrsasign';
56
import { Log } from './Log.js';
67

78
const AllowedSigningAlgs = ['RS256', 'RS384', 'RS512', 'PS256', 'PS384', 'PS512', 'ES256', 'ES384', 'ES512'];

0 commit comments

Comments
 (0)