Repository navigation
Server 2.1.0: the new names everywhere, format 2, migrate - #16
Merged
Merged
Conversation
The project was renamed from PassMan to SecretSpace in November 2026; until now a server kept its old names inside. This gives everything the current ones, and lets the server hold accounts and vaults in the format SecretSpace 4 writes. - Program files secretspace_server.py / secretspace_setup.py, the unit secretspace-sync.service, /opt|/etc|/var/lib/secretspace, the user secretspace, SECRETSPACE_* settings, X-SecretSpace-* headers, the health name secretspace-sync. - `secretspace_setup.py migrate` moves an install from before the rename (--dry-run, --undo). Port, token and vaults are not changed. On Windows the setup step moves the data folder and replaces the task and firewall rules. - The old names are read, never written: old headers, old settings keys. - Accounts and vaults have a format. A converted account never goes back; a vault is stored in the new form only when every member's account is converted; a converted vault takes neither an old upload nor a member who has not updated. /health lists "format-2". - Tests: 622 (69 new); 35 mutants, all caught. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011ojnyXb6JY4UPVU4waZe1w
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011ojnyXb6JY4UPVU4waZe1w
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.
Part of the task "rename everything: PassMan → SecretSpace" (design:
DESIGN-RENAME.md, kept outside the repo).Until now a server carried the project's old name inside. This gives everything the current one and lets the server hold accounts and vaults in the format SecretSpace 4 writes.
What changes
secretspace_server.py,secretspace_setup.py,secretspace-sync.service;/opt/secretspace,/etc/secretspace,/var/lib/secretspace; usersecretspace;SECRETSPACE_*settings;X-SecretSpace-*headers; health namesecretspace-sync.secretspace_setup.py migratemoves an install from before the rename: stops the old service, renames the user, moves the three folders, rewrites the settings, installs the new unit and starts it.--dry-runonly shows;--undogoes back. Port, token and vaults are not changed./healthlistsformat-2.Proof
After the merge
Tag
v2.1.0, release the tarball. Production is yours: the README section has the four steps (migrate --dry-runfirst).🤖 Generated with Claude Code
https://claude.ai/code/session_011ojnyXb6JY4UPVU4waZe1w