Skip to content

Commit

Permalink
Merge pull request #2684 from OpSecId/pstlouis/add_did_web_support
Browse files Browse the repository at this point in the history
Add did web method type as a default option
  • Loading branch information
swcurran authored Jan 4, 2024
2 parents 4e8da4e + a58a5e3 commit 7ea0f19
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions aries_cloudagent/wallet/did_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ def holder_defined_did(self) -> HolderDefinedDid:
key_types=[ED25519, BLS12381G2],
rotation=False,
)
WEB = DIDMethod(
name="web",
key_types=[ED25519, BLS12381G2],
rotation=True,
holder_defined_did=HolderDefinedDid.REQUIRED,
)
PEER2 = DIDMethod(
name="did:peer:2",
key_types=[ED25519, X25519],
Expand All @@ -86,6 +92,7 @@ def __init__(self) -> None:
self._registry: Dict[str, DIDMethod] = {
SOV.method_name: SOV,
KEY.method_name: KEY,
WEB.method_name: WEB,
PEER2.method_name: PEER2,
}

Expand Down

0 comments on commit 7ea0f19

Please sign in to comment.