You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deploy: supported HTTPS front end and the Secure session cookie #93
The session cookie is HttpOnly; SameSite=Strict but never Secure. ADR 0004 defers the flag to "deployment-hardening work before any pilot". docs/install.md tells operators to "put HTTPS in front" of anything beyond a trial, but gives no configuration, no required headers, and no warning about the cookie. As a result, a pilot agency has to work out TLS alone, and nothing stops a session cookie from being sent over plain HTTP.
Scope
In scope:
A decided way to mark the cookie Secure when the service is reached over HTTPS. Candidates are an explicit setting, or a trusted-proxy indication; an ADR records the choice and its failure modes.
A supported reverse-proxy configuration (for example, one of Caddy or nginx) in docs/install.md, covering forwarded headers and how the bind should look behind it.
Installer output that points at it.
Out of scope:
Built-in TLS termination in the executable.
Certificate automation beyond what the proxy provides.
Acceptance criteria
An ADR amending ADR 0004 says when Secure is set and how a misconfiguration fails.
Tests prove the cookie carries Secure in the HTTPS configuration and that login still works over plain loopback HTTP for a trial.
docs/install.md has a tested reverse-proxy recipe.
Expected proof
cargo test --workspace, including new cookie-attribute tests.
A recorded run of the documented proxy recipe against a release build.
Execution record
Authority and source: filed by the integrator from the 2026-10-14 project survey, requested by the maintainer. Not yet selected for work.
Next action: maintainer prioritization.
Related roadmap, decisions, or issues
ADR 0004 (local authentication)
ADR 0023 (Linux installation lifecycle), which lists this as open
Activity
docs: describe 0.1.0 in the roadmap and README
fix: validate the public URL's host and port; pass it to no-service s…
fix: name the public URL in the setup instruction; refuse non-canonic…
fix(installer): validate --public-url with the server's parser before…
fix: write the public origin the way a browser does
fix: revoke sessions issued without Secure when an https public URL s…
fix: record Secure session cookies in their own table