Closed mirceanis closed 4 years ago
:tada: This issue has been resolved in version 2.2.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 2.3.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Problem
This DID resolver uses attribute names in the ERC1056 contract to compose the DID document. The attributes must follow a particular format to be counted during document resolution.
did/pub/(Secp256k1|RSA|Ed25519)/(veriKey|sigAuth)/(hex|base64)
(Essentiallydid/pub/<key algorithm>/<key purpose>/<encoding>
)These algorithms and key purposes only cover signing and verifying signatures, not encryption.
Proposal
I propose extending this support to the following
did/pub/(Secp256k1|RSA|Ed25519|X25519)/(veriKey|sigAuth|enc)/(hex|base64)
addingX25519
key algorithm andenc
key purpose.Example
A
DIDAttributeChanged
event for the identity0xf3beac30c498d9e26865f34fcaa57dbb935b0d74
with the namedid/pub/X25519/enc/base64
and the value of0x302a300506032b656e032100118557777ffb078774371a52b00fed75561dcf975e61c47553e664a617661052
generates aPublicKey
entry like this: