From 90cbd835de5a8a5c0d851b160dfe583126463509 Mon Sep 17 00:00:00 2001 From: ff137 Date: Thu, 17 Oct 2024 12:16:28 +0200 Subject: [PATCH 1/2] :sparkles: add additional DID methods and key types --- aries_cloudcontroller/models/did.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 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( From ed0beb387210b29bd811173ea8d79a01f1706e94 Mon Sep 17 00:00:00 2001 From: ff137 Date: Thu, 17 Oct 2024 12:16:34 +0200 Subject: [PATCH 2/2] version bump --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",