Skip to content

Commit 560660b

Browse files
Merge pull request #6 from solid/swap-webcrypto
Replace @trust/webcrypto with isomorphic-webcrypto
2 parents 8ffe538 + cb30d2c commit 560660b

17 files changed

Lines changed: 695 additions & 230 deletions

File tree

LICENSE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2016 - present [Anvil Research, Inc.](http://anvil.io)
3+
Copyright (c) 2016 [Anvil Research, Inc.](http://anvil.io)
4+
Copyright (c) 2017-2019 The Solid Project
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,7 @@ $ npm run karma
8585

8686
## MIT License
8787

88+
[The MIT License](LICENSE.md)
89+
8890
Copyright (c) 2016 Anvil Research, Inc.
91+
Copyright (c) 2017-2019 The Solid Project

examples/HS256.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const crypto = require('@trust/webcrypto')
1+
const crypto = require('isomorphic-webcrypto')
22
const JWA = require('../src/jose/JWA')
33

44
let key

examples/JWS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require('../src/formats')
2-
const crypto = require('@trust/webcrypto')
2+
const crypto = require('isomorphic-webcrypto')
33
const JWT = require('../src/jose/JWT')
44

55
let key, jwt

examples/RS256.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const crypto = require('@trust/webcrypto')
1+
const crypto = require('isomorphic-webcrypto')
22
const JWA = require('../src/jose/JWA')
33

44
let privateKey, publicKey

0 commit comments

Comments
 (0)