authelia/internal/configuration
James Elliott 622bf42ed4
fix(configuration): secret permission errors panic (#5141)
This fixes an issue where attempting to load secrets the process does not  have read permissions for would cause panics as well as the bit size check of the OpenID Connect 1.0 private key can potentially panic on malformed private keys. This was caused by us returning values on errors instead of nil's.

Fixes #5138

Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
2023-04-08 16:02:34 +10:00
..
schema refactor: log warnings on startup about oidc secrets (#5047) 2023-03-09 18:26:52 +11:00
test_resources test: add test for 2329 expand-env (#4870) 2023-02-03 10:36:38 +11:00
validator fix(configuration): secret permission errors panic (#5141) 2023-04-08 16:02:34 +10:00
config.template.yml docs: fix rfc references and fix misc issues (#4879) 2023-02-05 18:11:30 +11:00
configuration_test.go fix: include major in go.mod module directive (#2278) 2021-08-11 11:16:46 +10:00
const.go fix(configuration): secret permission errors panic (#5141) 2023-04-08 16:02:34 +10:00
decode_hooks.go build(deps): update module github.com/go-crypt/crypt to v0.2.2 (#4452) 2022-12-05 09:37:08 +11:00
decode_hooks_test.go refactor: any (#4133) 2022-10-05 16:05:23 +11:00
deprecation.go feat(server): customizable authz endpoints (#4296) 2023-01-25 20:36:40 +11:00
helpers.go ci: gen github tmpl locales and commitlint (#3759) 2022-09-16 14:21:05 +10:00
helpers_test.go ci: gen github tmpl locales and commitlint (#3759) 2022-09-16 14:21:05 +10:00
koanf_callbacks.go fix(configuration): secret permission errors panic (#5141) 2023-04-08 16:02:34 +10:00
koanf_callbacks_test.go fix(configuration): secret permission errors panic (#5141) 2023-04-08 16:02:34 +10:00
koanf_provider_filtered_file.go feat(templates): templating functions (#4635) 2022-12-23 21:58:54 +11:00
koanf_provider_filtered_file_test.go feat(configuration): file filters (#4515) 2022-12-21 20:48:14 +11:00
koanf_util.go build(deps): update module github.com/knadh/koanf to v2 (#4952) 2023-02-19 11:49:08 +11:00
koanf_util_test.go build(deps): update module github.com/knadh/koanf to v2 (#4952) 2023-02-19 11:49:08 +11:00
provider.go build(deps): update module github.com/knadh/koanf to v2 (#4952) 2023-02-19 11:49:08 +11:00
provider_test.go fix(configuration): secret permission errors panic (#5141) 2023-04-08 16:02:34 +10:00
sources.go build(deps): update module github.com/knadh/koanf to v2 (#4952) 2023-02-19 11:49:08 +11:00
template.go feat(configuration): file filters (#4515) 2022-12-21 20:48:14 +11:00
template_test.go test: use testing tempdir tooling (#4468) 2022-12-04 20:57:28 +11:00
types.go build(deps): update module github.com/knadh/koanf to v2 (#4952) 2023-02-19 11:49:08 +11:00