From 7776a6905a664e09c288f4b96acb020b7b13a260 Mon Sep 17 00:00:00 2001 From: Mourits de Beer <31511766+ff137@users.noreply.github.com> Date: Thu, 17 Oct 2024 14:09:22 +0200 Subject: [PATCH] :sparkles: add additional DID methods and key types (#209) * :sparkles: add additional DID methods and key types * version bump --- aries_cloudcontroller/models/did.py | 8 ++++---- setup.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/aries_cloudcontroller/models/did.py b/aries_cloudcontroller/models/did.py index de427b4d..fd44d850 100644 --- a/aries_cloudcontroller/models/did.py +++ b/aries_cloudcontroller/models/did.py @@ -33,13 +33,13 @@ class DID(BaseModel): # keep custom changes did: Annotated[str, Field(strict=True)] = Field(description="DID of interest") - key_type: Literal["ed25519", "bls12381g2"] = Field( - description="Key type associated with the DID" - ) + key_type: Literal[ + "ed25519", "x25519", "bls12381g1", "bls12381g2", "bls12381g1g2" + ] = Field(description="Key type associated with the DID") metadata: Optional[Dict[str, Any]] = Field( default=None, description="Additional metadata associated with the DID" ) - method: Literal["sov", "key"] = Field( + method: Literal["sov", "key", "web", "did:peer:2", "did:peer:4"] = Field( description="Did method associated with the DID" ) posture: Literal["public", "posted", "wallet_only"] = Field( diff --git a/setup.py b/setup.py index aa7122af..5e16f0cf 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ def parse_requirements(filename: str): if __name__ == "__main__": setup( name=PACKAGE_NAME, - version="1.0.0b1", + version="1.0.0b2", description="A simple python client for controlling an ACA-Py agent", long_description=long_description, long_description_content_type="text/markdown",