Retire rotate-token's group rotation once allod secret rotate is deployed; decide where refresh-local-auth lives #52
Labels
No labels
blocked
bug
decision
duplicate
enhancement
help wanted
invalid
landed?
question
ready-to-merge
stale
wontfix
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
allod/nexus#52
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Retire
rotate-token's group rotation onceallod secret rotate(allod/tools#197) is deployed on the host, so value rotation has one implementation, and decide what becomes ofrefresh-local-auth, which that command deliberately does not absorb.Primary goals:
allod-toolspin carriesallod secret rotate, therotate,--group,--forgejo-token, and single-secret paths ofscripts/rotate-tokenand their tests are removed, and the docs point at the command.refresh-local-authkeeps a home — it installs root and user netrc bundles under sudo, a privilege classallod secretdoes not hold, which is why allod/tools#197 prints it as the operator's next step rather than running it. It stays a host script: either the remainingrotate-token refresh-local-auth, or a script of its own name, decided here.allod secret rotate --dry-run, then the real run, then the printed verification, before any bash path is deleted.Current state and specifics
scripts/rotate-tokenis about 1500 lines with 37 tests covering group selection, three plaintext formats, dry runs, printed instructions, and local auth refresh. allod/tools#197 ports everything exceptrefresh-local-authinto Go behind thesecrettag, with the same printed steps; the deploy step it prints for a group withlocal_auth_refreshentries isrotate-token refresh-local-auth --group <alias>, so that spelling must survive whatever the retirement decides, or the tools side changes with it.Scope
In: the removal, the local-auth decision, the docs, and the pin advance that carries the replacement. Out: changes to the rotation registry's name or shape (its own issue in
allod/secrets).allod-agent referenced this issue from allod/tools2026-09-12 19:15:14 +01:00
allod-agent referenced this issue from allod/memory2026-09-12 19:15:30 +01:00