Skip to content

Commit

Permalink
insert empty kid
Browse files Browse the repository at this point in the history
Signed-off-by: PatStLouis <[email protected]>
  • Loading branch information
PatStLouis committed Sep 26, 2024
1 parent 4d8805f commit fd2cdb0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aries_cloudagent/wallet/askar.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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:
Expand Down

0 comments on commit fd2cdb0

Please sign in to comment.