From 5739bcbcc58fcb4f6e0d200f05d0fcd188013c27 Mon Sep 17 00:00:00 2001 From: DaevMithran Date: Wed, 11 Dec 2024 23:51:28 +0530 Subject: [PATCH] Move did:cheqd wallet injection to plugins Signed-off-by: DaevMithran --- acapy_agent/wallet/did_method.py | 8 -------- acapy_agent/wallet/routes.py | 12 ------------ 2 files changed, 20 deletions(-) diff --git a/acapy_agent/wallet/did_method.py b/acapy_agent/wallet/did_method.py index 1587f012c7..2acf670837 100644 --- a/acapy_agent/wallet/did_method.py +++ b/acapy_agent/wallet/did_method.py @@ -97,13 +97,6 @@ def holder_defined_did(self) -> HolderDefinedDid: holder_defined_did=HolderDefinedDid.NO, ) -CHEQD = DIDMethod( - name="cheqd", - key_types=[ED25519], - rotation=True, - holder_defined_did=HolderDefinedDid.ALLOWED, -) - class DIDMethods: """DID Method class specifying DID methods with supported key types.""" @@ -117,7 +110,6 @@ def __init__(self) -> None: PEER2.method_name: PEER2, PEER4.method_name: PEER4, TDW.method_name: TDW, - CHEQD.method_name: CHEQD, } def registered(self, method: str) -> bool: diff --git a/acapy_agent/wallet/routes.py b/acapy_agent/wallet/routes.py index afe6632902..0b33f1bd80 100644 --- a/acapy_agent/wallet/routes.py +++ b/acapy_agent/wallet/routes.py @@ -78,8 +78,6 @@ DIDMethod, DIDMethods, HolderDefinedDid, - CHEQD, - TDW, ) from .did_posture import DIDPosture from .error import WalletError, WalletNotFoundError @@ -321,16 +319,6 @@ class DIDListQueryStringSchema(OpenAPISchema): ) method = fields.Str( required=False, - validate=validate.OneOf( - [ - KEY.method_name, - SOV.method_name, - TDW.method_name, - CHEQD.method_name, - PEER2.method_name, - PEER4.method_name, - ] - ), metadata={ "example": KEY.method_name, "description": (