Skip to content

Implementation of the did:peer method

Notifications You must be signed in to change notification settings

Diwala/did-peer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript did:peer

This is a typescript implementation of the did:peer method.

Currently it more correctly aligns with the python peerdid implementation of the method. Work is required to update the did:peer method to be conformant with did-core and since this was created to interoperate with other did:peer didcomm participants interoperability has been chosen over spec correctness.

Assumptions and limitations

  • Only static layers 1, 2a, 2b are supported
  • Only X25519 keys are supported for key agreement
  • Only Ed25519 keys are supported for authentication
  • Supported verification materials (input and in the resolved DID Document)
    • 2020 verification materials (Ed25519VerificationKey2020 and X25519KeyAgreementKey2020) with multibase base58 (publicKeyMultibase) public key encoding.
    • JWK (JsonWebKey2020) using JWK (publicKeyJwk) public key encoding 2018/2019 verification materials (Ed25519VerificationKey2018 and X25519KeyAgreementKey2019)
    • using base58 (publicKeyBase58) public key encoding.

About

Implementation of the did:peer method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%