From d6d7216bde1b3918fd17c90e659177d94332c91b Mon Sep 17 00:00:00 2001
From: Timo Glastra <timo@animo.id>
Date: Sat, 10 Apr 2021 16:12:10 +0200
Subject: [PATCH] fix: add assertionMethod to did:sov diddocs

Signed-off-by: Timo Glastra <timo@animo.id>
---
 aries_cloudagent/resolver/default/indy.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/aries_cloudagent/resolver/default/indy.py b/aries_cloudagent/resolver/default/indy.py
index b91b58ce2d..ab24ca10ca 100644
--- a/aries_cloudagent/resolver/default/indy.py
+++ b/aries_cloudagent/resolver/default/indy.py
@@ -57,6 +57,7 @@ async def _resolve(self, profile: Profile, did: str) -> dict:
             ident="key-1", suite=self.SUITE, material=recipient_key
         )
         builder.authentication.reference(vmethod.id)
+        builder.assertion_method.reference(vmethod.id)
         if endpoint:
             # TODO add priority
             builder.services.add_didcomm(