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
Following this discussion, when signing a Verifiable Credential (VC) through the CLI command axoned credential sign <vc.jsonld>, we need to add the possibility to choose the proofPurpose field value instead of the default one currently set (assertionMethod).
👩💻 Solution
I am seeking clarification on whether the possible values for the proofPurpose field are limited to those listed in the W3C specification or if it can accept any string value.
To implement this feature, we will add a command flag --purpose to the sign command. If the possible values for proofPurpose are limited, we will validate the input against the allowed values. If the field can accept any string, we will allow any input. The logic for adding the signature with the specified purpose should be implemented here: sign.go#L262-L276.
📝 Purpose
Following this discussion, when signing a Verifiable Credential (VC) through the CLI command
axoned credential sign <vc.jsonld>
, we need to add the possibility to choose theproofPurpose
field value instead of the default one currently set (assertionMethod
).👩💻 Solution
I am seeking clarification on whether the possible values for the
proofPurpose
field are limited to those listed in the W3C specification or if it can accept any string value.To implement this feature, we will add a command flag
--purpose
to thesign
command. If the possible values forproofPurpose
are limited, we will validate the input against the allowed values. If the field can accept any string, we will allow any input. The logic for adding the signature with the specified purpose should be implemented here: sign.go#L262-L276.🔗 Related links
The text was updated successfully, but these errors were encountered: