distribution/registry/auth
Milos Gajdos 52d68216c0
feature: Bump go-jose and require signing algorithms in auth
This bumps go-jose to the latest available version: v4.0.3.
This slightly breaks the backwards compatibility with the existing
registry deployments but brings more security with it.

We now require the users to specify the list of token signing algorithms in
the configuration. We do strive to maintain the b/w compat by providing
a list of supported algorithms, though, this isn't something we
recommend due to security issues, see:
* https://github.com/go-jose/go-jose/issues/64
* https://github.com/go-jose/go-jose/pull/69

As part of this change we now return to the original flow of the token
signature validation:
1. X2C (tls) headers
2. JWKS
3. KeyID

Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
2024-05-30 20:44:35 +01:00
..
htpasswd cleanup: move init funcs to the top of the source 2023-11-28 06:50:48 +00:00
silly cleanup: move init funcs to the top of the source 2023-11-28 06:50:48 +00:00
token feature: Bump go-jose and require signing algorithms in auth 2024-05-30 20:44:35 +01:00
auth.go chore: fix some typos in comments 2024-04-23 17:48:53 +08:00