Skip to content

Commit

Permalink
✨ add additional DID methods and key types (#209)
Browse files Browse the repository at this point in the history
* ✨ add additional DID methods and key types

* version bump
  • Loading branch information
ff137 authored Oct 17, 2024
1 parent 7d7b50a commit 7776a69
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions aries_cloudcontroller/models/did.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7776a69

Please sign in to comment.