Repository navigation
docs(deb): describe turning REST auth on per device (R-1, S-38) - #37
Merged
Merged
Conversation
The packaged unit starts with no auth. On the test device auth is now on through a device-local EnvironmentFile drop-in; this documents the procedure without any values. - DEPLOYMENT_CHECKLIST §7a: /etc/sandstar/auth.env (root, 0600) with SANDSTAR_AUTH_USER/PASS, optional SANDSTAR_AUTH_TOKEN and SANDSTAR_WS_ALLOWED_ORIGINS; auth.conf drop-in with EnvironmentFile; verification (open reads 200, unauthenticated writes and editor endpoints 401, log line, password not in systemctl show, editor login); how to turn it off. - HowToUses/03_WEB_EDITOR.md: logging in to a device with auth on. - OVERVIEW: packaged unit is open on a fresh install; per-device drop-in turns auth on; editor logs in since S-32b. No code change. Verified on the test device (2026-11-23): open reads 200; unauthenticated pointWrite, HEAD /live/sedonaState, /api/sox/tree and PUT /file 401; editor SCRAM login, tree loaded, cookie PUT /file 200. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QKRNiek8qYRoRt7dcrDDVC
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.
Summary
EnvironmentFiledrop-in (/etc/sandstar/auth.env, root 0600), verification steps and rollback. No values in the repo.HowToUses/03_WEB_EDITOR.md: editor login on a device with auth on.Test plan
/live/sedonaState,/api/sox/tree,PUT /file401; editor SCRAM login and cookiePUT /file200🤖 Generated with Claude Code
https://claude.ai/code/session_01QKRNiek8qYRoRt7dcrDDVC