secubox-deb/scripts/lib
CyberMind-FR 2ecd96e688 feat(metablog): SSH preflight + Gitea key enrolment helper (ref #94)
gitea CLI in 1.22 lacks 'user keys add', so enrolment goes:
generate-access-token (--config app.ini) -> POST /api/v1/user/keys via
LXC loopback -> delete token via sqlite3 (token list/delete API requires
basic auth in 1.22, not token auth).

Key finding: Gitea builtin SSH server (START_SSH_SERVER=true) rejects
the conventional "git@" username — the connecting username must match
the OS user Gitea runs as ("gitea" here). GITEA_SSH_USER var controls
this, defaulting to "gitea".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-12 16:29:34 +02:00
..
agent-worktree-lib.sh feat(scripts): implement agent-worktree start sub-command (ref #83) 2026-05-12 09:54:12 +02:00
gitea-ssh-preflight.sh feat(metablog): SSH preflight + Gitea key enrolment helper (ref #94) 2026-05-12 16:29:34 +02:00
streamlit-ingest-app.sh feat(streamlit): Per-app ingest function (idempotent, history-preserving) (ref #95) 2026-05-12 16:29:34 +02:00
test-helpers.sh docs(spec): CMSD-1.0 license headers across the codebase 2026-05-12 09:10:37 +02:00
tier-manifest.sh fix(scripts): Harden tier-manifest helper per code review (ref #80) 2026-05-12 09:24:28 +02:00