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
{{ message }}
This repository has been archived by the owner on Sep 22, 2020. It is now read-only.
This causes did-auth-jose to fail when looking for matching keys in a DID document. So, we either need to modify did-auth-jose to accept key IDs without the prefix, or go modify the ion-test method. The DID specification is not clear on whether or not the prefix is required.
I did a bit of digging, and these are the places I could find that need modification:
IMO the use of id fields such as #key-1 is a bad practice, we should be encouraging the use of compound identifiers, such as ${did}#key-${kid} where kid is generated according to https://tools.ietf.org/html/rfc7638
The DID method
ion-test
does not include a DID prefix in thedocument.publicKey[i].id
ordocument.publicKey[i].publicKeyJwk.kid
fields:This causes did-auth-jose to fail when looking for matching keys in a DID document. So, we either need to modify did-auth-jose to accept key IDs without the prefix, or go modify the
ion-test
method. The DID specification is not clear on whether or not the prefix is required.I did a bit of digging, and these are the places I could find that need modification:
The text was updated successfully, but these errors were encountered: