gates / gates (push) Successful in 3m34s
- Golden 0.352.0: bake, publish, one fresh install, the operator's vouch (R-468). - No clone holds a login in its address; the credential helper script is in the repository (R-925, R-1390). - N100 clock: a stale cached AppArmor profile stops chrony (R-1301, new R-1388). Read only. - Certificate pin spike on demo-hp (R-1380): the break, the proven hand repair (runbook), the CA-file test, 03-host-agent.md 12a, decision D80. - Rulings of 13:17 written down (09 decisions 297-302). Register 245 -> 248 (R-1388, R-1389, R-1390). - Docs, evidence and one helper script. No release, no floor change, no hub deploy. Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
24 lines
1.2 KiB
Bash
Executable File
24 lines
1.2 KiB
Bash
Executable File
#!/bin/sh
|
|
# git-credential-sec.sh — git credential helper for CC's clones on DooPlex (Part C, 2026-11-11; R-925).
|
|
#
|
|
# A repository address never holds a credential. Git asks this helper for the password at the moment it needs one,
|
|
# and the helper answers from the environment that the secret store sets for one command:
|
|
#
|
|
# sec run GITEA_GIT_TOKEN -- git push origin main
|
|
#
|
|
# Per clone (no secret in any of the three settings):
|
|
# git config --local credential.helper ""
|
|
# git config --local --add credential.helper /mnt/5_hdd/felhom.eu/git/felhom.eu/scripts/git-credential-sec.sh
|
|
# git config --local credential.username <login>
|
|
#
|
|
# Without `sec run` the helper gives no password and tells git to stop asking (no prompt, no other helper, no
|
|
# clear-text credentials file). A public repository still fetches, because the server asks for nothing.
|
|
# The helper writes the value only to git's pipe: never to a file, the terminal or a log.
|
|
[ "${1:-}" = get ] || exit 0
|
|
if [ -z "${GITEA_GIT_TOKEN:-}" ]; then
|
|
printf 'git-credential-sec: no token in the environment. Run: sec run GITEA_GIT_TOKEN -- git <command>\n' >&2
|
|
printf 'quit=true\n'
|
|
exit 0
|
|
fi
|
|
printf 'password=%s\n' "$GITEA_GIT_TOKEN"
|