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
IonAttestor.signing_key() takes an optional key_id argument
The specified key is returned by looping over the JWK's returned by the read_signing_keys() method on the AttestorKeyManager trait.
Currently the loop matches on the optional key_id field of the JWK struct.
This JWK field is currently not populated when keys are written to file by the trustchain key manager.
Instead, the query key_id should be matched against the compulsory id field associated with each key in the verificationMethod field of the DID Document.
To implement this change, the associated key id's for each key in a DID Document must be maintained in the file system (eg. written to file during the did create operation)
The text was updated successfully, but these errors were encountered:
IonAttestor.signing_key()
takes an optionalkey_id
argumentThe specified key is returned by looping over the
JWK
's returned by theread_signing_keys()
method on theAttestorKeyManager
trait.Currently the loop matches on the optional
key_id
field of theJWK
struct.This
JWK
field is currently not populated when keys are written to file by the trustchain key manager.Instead, the query
key_id
should be matched against the compulsoryid
field associated with each key in theverificationMethod
field of the DID Document.To implement this change, the associated key
id
's for each key in a DID Document must be maintained in the file system (eg. written to file during the didcreate
operation)The text was updated successfully, but these errors were encountered: