fix(runtime): harden smoke and credential boundaries
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
auth_dir=${SAMMO_GIT_AUTH_DIR:-/srv/data/git-auth}
|
||||
|
||||
case "${1:-}" in
|
||||
*Username*) cat "$auth_dir/https-username" ;;
|
||||
*Password*) cat "$auth_dir/https-token" ;;
|
||||
*) exit 1 ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user