1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00
external-secrets/pkg
Andrew Gunnerson c7fc730019
fix(vault): Fix crash when caching is enabled and a token expires (#3598)
In the vault client library, LookupSelfWithContext calls ParseSecret,
which has a few places where it returns `nil, nil` instead of returning
a proper error. The most common scenario is when the token expires and
the Vault server returns:

    {
      "errors": [
        "permission denied"
      ]
    }

This commit adds an additional check to ensure that a nil response won't
be dereferenced in checkToken().

Signed-off-by: Andrew Gunnerson <andrew.gunnerson@elastic.co>
2024-06-18 09:28:41 +02:00
..
cache feat: add push secret to e2e tests (#3017) 2024-02-12 16:44:45 +01:00
common/webhook Update Go and golangci-lint version (#3396) 2024-04-25 06:36:11 -03:00
constants feat(certcontroller): Allow restricting CRDs and Webhook configs in Informer cache (#3588) 2024-06-16 12:52:10 +02:00
controllers Add logic to skip multiple stores. Add tests for multiple un/managed stores (#3123) 2024-06-18 07:56:20 +02:00
feature feat: add push secret to e2e tests (#3017) 2024-02-12 16:44:45 +01:00
find feature: aws getallsecrets (#820) 2022-03-24 17:09:32 +01:00
generator Fix typo privatKey in multiple files (#3578) 2024-06-17 11:12:03 +02:00
metrics Creating constants file (#2291) 2023-05-15 17:22:18 +02:00
provider fix(vault): Fix crash when caching is enabled and a token expires (#3598) 2024-06-18 09:28:41 +02:00
template Add CA-Bundle to pemToPkcs12 output (#3494) 2024-06-03 22:35:02 +02:00
utils fix: parameter store should be called only once (#3584) 2024-06-15 12:02:08 +02:00