You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a document stored on the iota network (i.e. an IotaDocument) has its controller property set to a DID with a DID method different that "iota" (e.g. did:key:....), resolution of such DID document fails.
IOTA Identity version
latest
Expected behaviour
Resolution of such a document should not fail, producing a valid IotaDocument. Further operation on the document that expect the document's controller to have a certain DID method should fail instead.
Actual behaviour
The document can't be resolved, failing with DIDSyntaxError as they expect the controller to be a did:iota DID.
This error originates in StateMetadataDocument, a structure used internally upon deserialization of a DID document from a Stardust AliasOutput's state_metadata property. Fixing this should be as simple as parsing the document's controller property into a CoreDID instead of an IotaDID.
The text was updated successfully, but these errors were encountered:
Bug description
When a document stored on the iota network (i.e. an
IotaDocument
) has itscontroller
property set to a DID with a DID method different that "iota" (e.g. did:key:....), resolution of such DID document fails.IOTA Identity version
latest
Expected behaviour
Resolution of such a document should not fail, producing a valid
IotaDocument
. Further operation on the document that expect the document's controller to have a certain DID method should fail instead.Actual behaviour
The document can't be resolved, failing with
DIDSyntaxError
as they expect the controller to be adid:iota
DID.This error originates in
StateMetadataDocument
, a structure used internally upon deserialization of a DID document from a Stardust AliasOutput's state_metadata property. Fixing this should be as simple as parsing the document's controller property into aCoreDID
instead of anIotaDID
.The text was updated successfully, but these errors were encountered: