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

Commits on Jan 25, 2024

  1. Update Web5 Test Vectors to latest

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    073c0f3 View commit details
    Browse the repository at this point in the history
  2. Fix issue with c8 not reporting code coverage and bump version

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    22c001f View commit details
    Browse the repository at this point in the history
  3. Remove unnecessary option in crypto tsconfig and enable strict mode f…

    …or dids
    
    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    e17d5e8 View commit details
    Browse the repository at this point in the history
  4. Add JWK Set to crypto package

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    09083b2 View commit details
    Browse the repository at this point in the history
  5. Add did:jwk and did:web implementations

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    7b51b76 View commit details
    Browse the repository at this point in the history
  6. Add utility type to @web5/common

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    1187a09 View commit details
    Browse the repository at this point in the history
  7. Improve DID Utility functions

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    b8cd77e View commit details
    Browse the repository at this point in the history
  8. Add FixedLengthArray utility type

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    b79dfff View commit details
    Browse the repository at this point in the history
  9. Add support for Base32Z to Convert utility

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    42bae59 View commit details
    Browse the repository at this point in the history
  10. Improve JWK type

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    197181c View commit details
    Browse the repository at this point in the history
  11. Add InferKeyGeneratorAlgorithm utility type

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    2da26ee View commit details
    Browse the repository at this point in the history
  12. Remove did-resolver dependency

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    cf4cb33 View commit details
    Browse the repository at this point in the history
  13. Temporarily disable old implementations

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    80ae0bd View commit details
    Browse the repository at this point in the history
  14. Update DID JWK and DHT implementations

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    de2cf33 View commit details
    Browse the repository at this point in the history
  15. Rename createFromKeys to fromKeys and change default publishing behavior

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    6eff583 View commit details
    Browse the repository at this point in the history
  16. Update JWK and DHT implementations

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    fcc2796 View commit details
    Browse the repository at this point in the history
  17. Rename DidKeySet to PortableDid and add uri

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    0b0693f View commit details
    Browse the repository at this point in the history
  18. Reorganize tests and reintroduce DidResolver

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    be13b71 View commit details
    Browse the repository at this point in the history
  19. Update package-lock.json

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    d14076a View commit details
    Browse the repository at this point in the history
  20. Rename P256 to Secp256r1 and add minimal tests

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    4148742 View commit details
    Browse the repository at this point in the history
  21. Add docs for undocumented methods

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    53aa79b View commit details
    Browse the repository at this point in the history
  22. Finish reintroducing DID resolvers

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    00700f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2024

  1. Support secp256k1 as an algorithm identifier for generateKey()

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    cfb8a44 View commit details
    Browse the repository at this point in the history
  2. Improve support for secp256r1

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    43f2507 View commit details
    Browse the repository at this point in the history
  3. Rename to LocalKeyManager & AwsKeyManager and improve docs

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 26, 2024
    Configuration menu
    Copy the full SHA
    0bfbc5b View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2024

  1. Fix Ed25519.validatePublicKey method signature

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    b7b8d79 View commit details
    Browse the repository at this point in the history
  2. Refactor of DID Key

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    11b69ed View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. Complete implementation of DID Key

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    7ec833e View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2024

  1. Add KeyCompressor type to @web5/crypto

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    29a27ab View commit details
    Browse the repository at this point in the history
  2. Complete refactor of DidIon

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    64120f0 View commit details
    Browse the repository at this point in the history
  3. Complete adding secp256r1 test vectors

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    4464e53 View commit details
    Browse the repository at this point in the history
  4. Remove old dependencies and bump versions

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    2ebbd77 View commit details
    Browse the repository at this point in the history
  5. Resolve package dependency issue

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    6cb1abb View commit details
    Browse the repository at this point in the history
  6. Remove old test-vectors directory

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    c26d27e View commit details
    Browse the repository at this point in the history
  7. Remove references to tags in the XChaCha20Poly1305 comments

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    38ba056 View commit details
    Browse the repository at this point in the history
  8. Remove duplication from DidDhtUtils.identifierToIdentityKey()

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    258446c View commit details
    Browse the repository at this point in the history
  9. Correct typo in comments

    Co-authored-by: nitro-neal <5314059+nitro-neal@users.noreply.github.com>
    frankhinek and nitro-neal committed Jan 31, 2024
    Configuration menu
    Copy the full SHA
    53b6712 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2024

  1. Update crypto README

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    0a97f05 View commit details
    Browse the repository at this point in the history
  2. Correct typo, add DHT test, and remove unused file

    Signed-off-by: Frank Hinek <frankhinek@users.noreply.github.com>
    frankhinek committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    a3e4448 View commit details
    Browse the repository at this point in the history