-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing DID specs and limitations #43
Comments
@cl9200
When I tested with 2MB tx message, I got:
So, I think we don't need to define the max length of lists (such as But, it's worth to define the max length of the KeyID suffix as 128bytes, because the value is used for the keystore filename. (The max length of linux filenames is usually 256bytes). I'll open a PR for this. Please leave a comment if you have other ideas. |
Missing DID specs
@context
authentication
before seeking a public key from thepublicKey
list.authentication
: linkcontroller
. (which identifies the controller of the corresponding private key)DID Resolution--> Issue Support DID resolution metadata #47did-resolution-input-metadata
is REQUIRED, but the structure MAY be empty.did-resolution-metadata
is REQUIRED, but the structure MUST NOT be empty.did-document-metadata
: If the resolution is successful, this MUST be a metadata structure.-
Add thecreated
/updated
(These are not MUST, but SHOULD).Support the assertionMethod verification relationship (for Verifiable Credential).--> Issue Support theassertionMethod
for Verifiable Credentials #48Custom limitations (against Buffer-overflow attacks)
Each entry in the--> Instead of this strategy, I defined an enum for possible contexts: Add DID@context
should be an URL with max 2048-bytes length: link@context
and Extendauthentication
#44The max number of list entries is 10 (eg. entries in--> Add missing DID specs and limitations #43 (comment)@context
,publicKey
,authentication
, ...).did#suffix
).The text was updated successfully, but these errors were encountered: