Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor @web5/dids to support first class Key Management #393

Merged
merged 39 commits into from
Feb 1, 2024
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
073c0f3
Update Web5 Test Vectors to latest
frankhinek Jan 10, 2024
22c001f
Fix issue with c8 not reporting code coverage and bump version
frankhinek Jan 10, 2024
e17d5e8
Remove unnecessary option in crypto tsconfig and enable strict mode f…
frankhinek Jan 10, 2024
09083b2
Add JWK Set to crypto package
frankhinek Jan 12, 2024
7b51b76
Add did:jwk and did:web implementations
frankhinek Jan 12, 2024
1187a09
Add utility type to @web5/common
frankhinek Jan 15, 2024
b8cd77e
Improve DID Utility functions
frankhinek Jan 15, 2024
b79dfff
Add FixedLengthArray utility type
frankhinek Jan 21, 2024
42bae59
Add support for Base32Z to Convert utility
frankhinek Jan 21, 2024
197181c
Improve JWK type
frankhinek Jan 21, 2024
2da26ee
Add InferKeyGeneratorAlgorithm utility type
frankhinek Jan 21, 2024
cf4cb33
Remove did-resolver dependency
frankhinek Jan 21, 2024
80ae0bd
Temporarily disable old implementations
frankhinek Jan 21, 2024
de2cf33
Update DID JWK and DHT implementations
frankhinek Jan 22, 2024
6eff583
Rename createFromKeys to fromKeys and change default publishing behavior
frankhinek Jan 22, 2024
fcc2796
Update JWK and DHT implementations
frankhinek Jan 24, 2024
0b0693f
Rename DidKeySet to PortableDid and add uri
frankhinek Jan 25, 2024
be13b71
Reorganize tests and reintroduce DidResolver
frankhinek Jan 25, 2024
d14076a
Update package-lock.json
frankhinek Jan 25, 2024
4148742
Rename P256 to Secp256r1 and add minimal tests
frankhinek Jan 25, 2024
53aa79b
Add docs for undocumented methods
frankhinek Jan 25, 2024
00700f7
Finish reintroducing DID resolvers
frankhinek Jan 25, 2024
cfb8a44
Support secp256k1 as an algorithm identifier for generateKey()
frankhinek Jan 26, 2024
43f2507
Improve support for secp256r1
frankhinek Jan 26, 2024
0bfbc5b
Rename to LocalKeyManager & AwsKeyManager and improve docs
frankhinek Jan 26, 2024
b7b8d79
Fix Ed25519.validatePublicKey method signature
frankhinek Jan 27, 2024
11b69ed
Refactor of DID Key
frankhinek Jan 27, 2024
7ec833e
Complete implementation of DID Key
frankhinek Jan 29, 2024
29a27ab
Add KeyCompressor type to @web5/crypto
frankhinek Jan 31, 2024
64120f0
Complete refactor of DidIon
frankhinek Jan 31, 2024
4464e53
Complete adding secp256r1 test vectors
frankhinek Jan 31, 2024
2ebbd77
Remove old dependencies and bump versions
frankhinek Jan 31, 2024
6cb1abb
Resolve package dependency issue
frankhinek Jan 31, 2024
c26d27e
Remove old test-vectors directory
frankhinek Jan 31, 2024
38ba056
Remove references to tags in the XChaCha20Poly1305 comments
frankhinek Jan 31, 2024
258446c
Remove duplication from DidDhtUtils.identifierToIdentityKey()
frankhinek Jan 31, 2024
53b6712
Correct typo in comments
frankhinek Jan 31, 2024
0a97f05
Update crypto README
frankhinek Feb 1, 2024
a3e4448
Correct typo, add DHT test, and remove unused file
frankhinek Feb 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Correct typo in comments
Co-authored-by: nitro-neal <5314059+nitro-neal@users.noreply.github.com>
frankhinek and nitro-neal authored Jan 31, 2024
commit 53b671272820a6ce7888374f41f8d394ed41b4fb
4 changes: 2 additions & 2 deletions packages/dids/src/did-error.ts
Original file line number Diff line number Diff line change
@@ -16,8 +16,8 @@ export class DidError extends Error {
// and that V8 stack traces (like Chrome, Edge, and Node.js) are more readable and relevant.
Object.setPrototypeOf(this, new.target.prototype);

// Captures the stack trace in V8 engines (like Chrome, Edge, and Node.js). // In non-V8
// environments, the stack trace will still be captured.
// Captures the stack trace in V8 engines (like Chrome, Edge, and Node.js).
// In non-V8 environments, the stack trace will still be captured.
if (Error.captureStackTrace) {
Error.captureStackTrace(this, DidError);
}
Loading