Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
use native nodejs webcrypto implementation
Browse files Browse the repository at this point in the history
instead of one that depends on openssl
  • Loading branch information
ssttevee committed Apr 20, 2019
1 parent 55b4022 commit 961ab62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/runtime/crypto.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const Crypto = require('node-webcrypto-ossl')
const { Crypto } = require('@peculiar/webcrypto')

module.exports.crypto = new Crypto()
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@
"dependencies": {
"@dollarshaveclub/node-fetch": "^3.1.0",
"@mattiasbuelens/web-streams-polyfill": "^0.1.0",
"@peculiar/webcrypto": "^1.0.9",
"arraybuffer-equal": "^1.0.4",
"b2a": "^1.0.10",
"commander": "^2.19.0",
"http-cache-semantics": "^4.0.1",
"lru-cache": "^5.1.1",
"moment": "^2.22.2",
"node-webcrypto-ossl": "^1.0.39"
"moment": "^2.22.2"
},
"devDependencies": {
"@types/node": "^10.12.18",
Expand Down

0 comments on commit 961ab62

Please sign in to comment.