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

What are various errors related to keys? #43

Open
ianbjacobs opened this issue May 30, 2018 · 2 comments
Open

What are various errors related to keys? #43

ianbjacobs opened this issue May 30, 2018 · 2 comments

Comments

@ianbjacobs
Copy link
Contributor

Because encryption is likely to play an important role in this specification, what are the various errors that one might encounter around keys? For example:

  • Attempt to fetch a key fails.
  • Incorrect key type. (This might be dealt with in the encryption spec.)

Others?

Ian

@stpeter
Copy link
Collaborator

stpeter commented May 30, 2018

Some other possibilities:

  • Expired key
  • Invalid / malformed key
  • Invalid scope/usage (e.g., encrypt-only key used for encrypt-and-sign - this might be your key type error)
  • Invalid chain (however I'm not sure if we'll use CA-issued keys)
  • Unsupported algorithm
  • Mismatched key (wrong intended recipient)

@ianbjacobs
Copy link
Contributor Author

To look further into, the x5u parameter in JWK:
https://tools.ietf.org/html/rfc7517#section-4.6

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

2 participants