-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The DID spec mentions a controller property for DID public key entries.
Our resolver uses owner to describe a similar concept.
There is a slight difference in semantics. When the owner of an identity is changed in the ERC1056 registry, this should be reflected in the DID document entry in the controller field of the root key.
More specifically, if keyA calls changeOwner, listing keyB as the new owner, the DID document entry now looks like this:
{
id: 'did:ethr:0xkeyA#owner',
type: 'Secp256k1VerificationKey2018',
owner: 'did:ethr:0xkeyA',
ethereumAddress: '0xkeyB'
}A correction should be made to the did-resolver such that the public key entry should appear like so:
{
id: 'did:ethr:0xkeyA#owner',
type: 'Secp256k1VerificationKey2018',
controller: 'did:ethr:0xkeyB',
ethereumAddress: '0xkeyB'
}This mirrors [ #168401735 ] in PT
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working