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

github.com/square/go-jose is deprecated #734

Closed
4 of 6 tasks
mitar opened this issue Jan 10, 2023 · 3 comments
Closed
4 of 6 tasks

github.com/square/go-jose is deprecated #734

mitar opened this issue Jan 10, 2023 · 3 comments
Labels
feat New feature or request.

Comments

@mitar
Copy link
Contributor

mitar commented Jan 10, 2023

Preflight checklist

Describe your problem

We really do not have luck with JWT libraries, https://github.com/square/go-jose is deprecated. They moved development to https://github.com/go-jose/go-jose, but that one looks abandoned as well. :-(

Describe your ideal solution

Figure out why JWT libraries are not supported anymore. What is Square using?

Workarounds or alternatives

Maintain our own JWT library?

Version

latest main branch

Additional Context

Maybe the great Ory bot could detect when a dependency get its repository archived and open an issue about deprecation automatically?

@mitar mitar added the feat New feature or request. label Jan 10, 2023
@mitar
Copy link
Contributor Author

mitar commented Jan 10, 2023

Some background: square/go-jose#342

Possible alternative: https://github.com/lestrrat-go/jwx

@james-d-elliott
Copy link
Contributor

I have been looking at this and the libraries usage of the jose library. From what I can tell there are two primary areas this is utilized:

  • JWK Sets which could relatively be hard forked (even partially) from another library as mostly from what I can tell this is used as a communication method of items used for the other usage
  • JWT signing / parsing / validation which could be replaced by several libraries including https://github.com/golang-jwt/jwt and https://github.com/golang-jwt/jwe most likely which just take a signing method struct they supply, and the *rsa/ecdsa.PrivateKey effectively for signing (or hmac bytes).

@alnr
Copy link
Contributor

alnr commented Aug 3, 2023

Fixed in #752

@alnr alnr closed this as completed Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

3 participants