generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor Key Management in
@web5/crypto
and add `@web5/crypto-aws-k…
…ms` (#360) * Initial refactor to JOSE types and structure * Add tests for public JSON canonicalize method * Initial commit of Crypto API types * Rename crypto-primitives to primitives * Remove barrel files and move CryptoApi to types * Refactor crypto API types * Use TypeDoc @example * Consistent usage of method parameters * Update naming and documentation structure * Bump @types/eslint to resolve duplicate error issue in @web5/crypto * Add convertDerToCompactSignature method to Secp256k1 * Rename hash type and modify CryptoApi * Bump deprecated sinon version * Remove types from dependency that is no longer used * Bump @noble dependencies * Implement SHA-256 primitive * Minor comment improvement * Local KMS initial implementation * AWS KMS initial implementation * Bump default tsconfig from ES6 to ES2022 * Improve documentation and remove old implementation * Bump @web5/crypto version * Remove @web5/crypto-aws-kms from browser tests * Remove unnecessary polyfill * Fix missing crypto global * Improve LevelStore and add tests for use with LocalKmsCrypto * Initial README updates for crypto and crypto-aws-kms packages * Remove node:crypto import from PBKDF2 now that web5-wallet polyfills webcrypto * Improve cipher alg generateKey() and add RNG docs * Mark Ed25519 and Secp256k1 key validation methods public --------- Signed-off-by: Frank Hinek <[email protected]>
- Loading branch information
1 parent
3567f0e
commit dbe2708
Showing
134 changed files
with
13,219 additions
and
6,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ jobs: | |
"common", | ||
"credentials", | ||
"crypto", | ||
"crypto-aws-kms", | ||
"dids", | ||
"identity-agent", | ||
"proxy-agent", | ||
|
@@ -44,7 +45,7 @@ jobs: | |
with: | ||
node-version: 18 | ||
registry-url: https://registry.npmjs.org/ | ||
cache: 'npm' | ||
cache: "npm" | ||
|
||
- name: Install semver utility | ||
run: npm install -g [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.