From 2a7d2f59bc1f927022c197a00d307748e76b693d Mon Sep 17 00:00:00 2001 From: mhoennig Date: Wed, 26 Aug 2026 19:13:12 +0200 Subject: [PATCH] fix(deploy): reset-password nennt die Probe ohne Passwort im Befehl MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Der Schlusshinweis empfahl 'curl -su werkbaum:' — dieselbe Falle wie beim Hashen, nur auf der anderen Seite: Die Shell fasst das Passwort an, und die Antwort ist ein 401, obwohl der Hash stimmt. 'curl -su werkbaum' fragt selbst danach. Co-Authored-By: Claude Opus 5 --- scripts/reset-password.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/reset-password.sh b/scripts/reset-password.sh index a11588b..e629e7f 100755 --- a/scripts/reset-password.sh +++ b/scripts/reset-password.sh @@ -133,5 +133,9 @@ REMOTE unset PASSWORT PASSWORT2 -echo "==> Fertig. Probe:" -echo " curl -su werkbaum: https://werkbaum.javagil.de/api/v1/documents" +echo "==> Fertig. Probe — curl fragt selbst nach dem Passwort:" +echo " curl -su werkbaum /api/v1/documents" +echo +echo " Bewusst OHNE Passwort im Befehl: In 'curl -u werkbaum:ge\$heim' fasst" +echo " die Shell es genauso an wie beim Hashen — und dann ist die Antwort" +echo " ein 401, obwohl der Hash stimmt."