Skip to content

Commit

Permalink
Switch from node-webcrypto-ossl to @peculiar/webcrypto
Browse files Browse the repository at this point in the history
Due to PeculiarVentures/node-webcrypto-ossl#138

@peculiar/webcrypto is the replacement which doesn't need C code
(uses Node crypto from JS only).
  • Loading branch information
davedoesdev authored and Paul Salentiny committed Dec 16, 2019
1 parent 61c52bf commit 02d070a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/certUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const asn1js = require("asn1js");
const pkijs = require("pkijs");
const WebCrypto = require("node-webcrypto-ossl");
const WebCrypto = require("@peculiar/webcrypto").Crypto;
const webcrypto = new WebCrypto();

const {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"cose-to-jwk": "^1.1.0",
"jwk-to-pem": "^2.0.0",
"node-jose": "^1.0.0",
"node-webcrypto-ossl": "^1.0.35",
"@peculiar/webcrypto": "^1.0.1",
"pkijs": "=2.1.58",
"psl": "^1.1.24"
}
Expand Down

0 comments on commit 02d070a

Please sign in to comment.