Skip to content
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

Validate JWK fields based on algorithm #409

Open
sandrask opened this issue Sep 18, 2020 · 1 comment
Open

Validate JWK fields based on algorithm #409

sandrask opened this issue Sep 18, 2020 · 1 comment
Milestone

Comments

@sandrask
Copy link
Contributor

sandrask commented Sep 18, 2020

From spec:
The object MUST include a type property, and its value SHOULD be the identifier type string of a registered Cryptographic Suite that supports JWK representations - for example:

  • EcdsaSecp256k1VerificationKey2019
  • JsonWebKey2020

The object MUST include a jwk property, and its value MUST be a public key expressed as a IETF RFC 7517 compliant JWK representation for a KEY_ALGORITHM supported by the implementation. If the value is not a compliant JWK representation, the entire Patch Action MUST be discarded, without any of it being used to modify the DID’s state.

@sandrask
Copy link
Contributor Author

Review latest spec before coding this.

@sandrask sandrask added this to the Backlog milestone Nov 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant