Skip to content

Commit 7776a69

Browse files
authored
✨ add additional DID methods and key types (#209)
* ✨ add additional DID methods and key types * version bump
1 parent 7d7b50a commit 7776a69

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

aries_cloudcontroller/models/did.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ class DID(BaseModel):
3333

3434
# keep custom changes
3535
did: Annotated[str, Field(strict=True)] = Field(description="DID of interest")
36-
key_type: Literal["ed25519", "bls12381g2"] = Field(
37-
description="Key type associated with the DID"
38-
)
36+
key_type: Literal[
37+
"ed25519", "x25519", "bls12381g1", "bls12381g2", "bls12381g1g2"
38+
] = Field(description="Key type associated with the DID")
3939
metadata: Optional[Dict[str, Any]] = Field(
4040
default=None, description="Additional metadata associated with the DID"
4141
)
42-
method: Literal["sov", "key"] = Field(
42+
method: Literal["sov", "key", "web", "did:peer:2", "did:peer:4"] = Field(
4343
description="Did method associated with the DID"
4444
)
4545
posture: Literal["public", "posted", "wallet_only"] = Field(

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def parse_requirements(filename: str):
1919
if __name__ == "__main__":
2020
setup(
2121
name=PACKAGE_NAME,
22-
version="1.0.0b1",
22+
version="1.0.0b2",
2323
description="A simple python client for controlling an ACA-Py agent",
2424
long_description=long_description,
2525
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)