Commit Graph
7 Commits
Author SHA1 Message Date
sam 2d475e281f fix(secret-engines): report a missing key as not found; age and Vault need no CLI
The age, Vault and SOPS engines shelled out with stderr discarded, so a
missing key and a broken setup both surfaced as 'exit status 1' and were
reported as the engine being unavailable. age now decrypts with the age
library and Vault reads over its API (KV v1 or v2, detected as the CLI
does), so neither needs a CLI on the host. SOPS still uses the CLI, whose
library would pull in every cloud KMS SDK, but decrypts the whole file to
JSON and looks the key up itself, so the key never reaches the CLI.
2026-10-25 18:11:39 +11:00
sam 16b832be4c fix(bws): refresh secrets and retry a failed read instead of caching the first result forever
The engine listed secrets once per process. A failed first read made every
key unavailable until a restart, and a rotated or added secret never showed.
The list is now cached for five minutes, re-read sooner for a missing key,
never cached on failure, and a stale value is served while a refresh fails.
2026-10-25 18:11:39 +11:00
sam 35009a16e2 fix(bws): declare the Bitwarden API hosts the bws CLI reaches 2026-10-07 21:49:54 +11:00
sam 6c2f1b20dd test(secret-engines/vault): table-test key validation 2026-10-05 18:24:57 +11:00
sam 0c27e9b8a5 fix(secret-engines/vault): refuse keys that would become CLI flags; document extension safety rules 2026-10-05 18:24:47 +11:00
sam 7b34ada564 feat(secret-engines): port age, sops and vault as secretengine.v1 extensions 2026-10-04 01:51:00 +10:00
sam 22b4262b01 feat(secret-engines): bws as a secretengine.v1 extension 2026-10-04 00:43:02 +10:00