mirror of
https://github.com/cozystack/cozystack.git
synced 2026-10-30 00:27:04 +09:00
The e2e step looked for the plaintext in the account Secret's raw JSON, where data is base64, so it passed even with the plaintext stored, and it ran process substitution under the sandbox's dash. It now runs under bash, decodes the stored value and requires a SCRAM verifier, and also checks the application, every Helm revision, what the tenant's super-admins read through tenantsecrets, and that they cannot read the account Secret. Both the step and the backup helper passed the minted password to kubectl exec as an argument, which travels in the request URI the audit log records at any level; it now goes to psql on stdin. The helper's tests stub the mint instead of the removed Secret read, and the platform Job test names a neutral image, since a first-party one there counts as an unenumerated image ref. Assisted-by: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com>