Repository navigation
Conversation
just netcup-login now stores the SCP refresh token in secrets/secrets.yaml instead of printing an export line into terminal history, and just apply loads it from there. docs/operator-security.md covers the accounts and machine that are the real perimeter (2FA on provider, registrar, DNS, GitHub; protecting the age key with a hardware key or SOPS_AGE_KEY_CMD; hardware-backed SSH keys; least-privilege API keys) and what to rotate after a leak. Closes #8 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G22o7QQ17GRtkCqpJNFr9B
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #8
Changes
just netcup-loginstores the SCP refresh token directly insecrets/secrets.yaml(netcup.scp_refresh_token, encrypted) instead of printing anexportline that ends up in shell history.just applyloads it automatically whenprovider = "netcup"; an explicitly exportedNETCUP_SCP_REFRESH_TOKENstill takes precedence.docs/operator-security.mdcovers the accounts and machine that are the real perimeter:SOPS_AGE_KEY_CMDwith a password manager (sops 3.13 in the dev shell supports both);ed25519-skSSH keys;docs/security.md.Testing
All 5 provider example systems build. nixfmt, shellcheck and tofu validate pass. The netcup login flow itself needs a netcup account.
🤖 Generated with Claude Code
https://claude.ai/code/session_01G22o7QQ17GRtkCqpJNFr9B
Generated by Claude Code