diff --git a/aries_cloudagent/wallet/askar.py b/aries_cloudagent/wallet/askar.py index 69f8c0282d..bc37833749 100644 --- a/aries_cloudagent/wallet/askar.py +++ b/aries_cloudagent/wallet/askar.py @@ -249,7 +249,7 @@ async def create_local_did( if not metadata: metadata = {} - + try: keypair = _create_keypair(key_type, seed) verkey_bytes = keypair.get_public_bytes() @@ -261,7 +261,7 @@ async def create_local_did( try: await self._session.handle.insert_key( - verkey, keypair, metadata=json.dumps(metadata), tags={} + verkey, keypair, metadata=json.dumps(metadata), tags={"kid": None} ) except AskarError as err: if err.code == AskarErrorCode.DUPLICATE: