Add comment about password/totp as binary data

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2026-03-21 20:49:13 +01:00
committed by GitHub
parent 7bdd515c21
commit 2b63af4b13

View File

@@ -295,6 +295,7 @@ EOF
}
Authenticate() {
# password and totp are passed via stdin as binary-data to prevent leakage via process information
sessionResponse="$(curl --connect-timeout 2 -skS -X POST "${API_URL}auth" \
--user-agent "PADD ${padd_version}" \
-H "Content-Type: application/json" \