mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-01 20:56:02 +09:00
The e2e test mints a password, logs in with it, and checks every place it could be read again: the account Secret must hold a SCRAM verifier, decoded rather than matched in the raw base64; neither the application, any Helm revision nor what the tenant's super-admins read through tenantsecrets may carry it; and they cannot read the account Secret. Each read is captured in an assignment, which stops the script on failure, so a failed kubectl, base64 or gunzip cannot leave a check with nothing to assert on, and at least one Helm release Secret is required. The step runs under bash and passes the password to psql on stdin, never as an exec argument. Co-authored-by: IvanHunters <xorokhotnikov@gmail.com> Assisted-by: LLM Signed-off-by: Timofei Larkin <lllamnyp@gmail.com> Signed-off-by: Andrei Kvapil <kvapss@gmail.com>