distribution/registry
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
..
api chore: fix some typos in comments 2024-04-23 17:48:53 +08:00
auth feature: Bump go-jose and require signing algorithms in auth 2024-05-30 20:44:35 +01:00
handlers Stop proxy scheduler on system exit 2024-05-13 17:01:35 +03:00
listener feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00
middleware Merge pull request #2752 from davidswu/registry-driver-middleware 2023-06-21 10:06:13 -07:00
proxy Stop proxy scheduler on system exit 2024-05-13 17:01:35 +03:00
storage Set readStartAtFile context aware for purge uploads 2024-05-02 11:06:39 +02:00
doc.go Move initialization code from main.go to the registry package 2015-09-09 14:39:31 -07:00
registry.go Stop proxy scheduler on system exit 2024-05-13 17:01:35 +03:00
registry_test.go Add registry.Shutdown method for graceful shutdown of embedded registry 2024-04-29 20:18:58 +02:00
root.go feat(linter): enable errcheck linter in golangci-lint 2023-11-18 07:19:24 +00:00