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

ValidationError(UnsupportedKeyAlgorithm) when using EC (ES256) alg with JWKS file #13

Open
kgeorgy opened this issue Apr 12, 2022 · 4 comments

Comments

@kgeorgy
Copy link

kgeorgy commented Apr 12, 2022

I'm not sure if it's a mosquitto-jwt-auth related issue or an issue in the biscuit library, but it make it difficult to use with EC based key pair.

@kgeorgy
Copy link
Author

kgeorgy commented Apr 12, 2022

An example of JWKS file here:

{
  "keys": [
    {
      "kid": "848cb986-9d09-4985-838e-b6cb5cc320e0",
      "kty": "EC",
      "use": "sig",
      "alg": "ES256",
      "crv": "P-256",
      "x": "V029NJ-9S_iE8CeDeeegki97ve8p-9R5rb4hYv0tfhg",
      "y": "w4WjIaNL37d0E9tf5W26apDwkftkelz6jrWHhplHmfc"
    }
  ]
}

@wiomoc
Copy link
Owner

wiomoc commented Apr 12, 2022

@kgeorgy
Copy link
Author

kgeorgy commented Apr 12, 2022

Thank's for the response, I'll open a issue there. I'll let you decide if we should close this issue, or wait that it is supported in biscuit.

@abh
Copy link

abh commented Dec 31, 2022

(see also #14).

@kgeorgy -- can you link the issue you opened in the biscuit project?

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

3 participants