Repository navigation
Version 2.0.3.8 Released
Date: 30th November 2026
This release closes a gap in device sign-in's HTTPS rule for installs behind Docker or a proxy OpenAlgo cannot see through, and makes device sign-in's approvals, sign-outs and settings changes show on Admin, Diagnostics as its design intended.
This is the first release after 2.0.3.7, with 3 commits since that bump, excluding automated frontend build commits and including this release. There is nothing to migrate: run cd upgrade && uv run migrate_all.py as usual and it reports nothing to do. Upgrade if you have turned device sign-in on, and especially if OpenAlgo runs in Docker or behind a tunnel.
Highlights
- A device OpenAlgo cannot place needs HTTPS to sign in (
975270160, #2527) - since 2.0.3.7, signing in and renewing a sign-in over plainhttpwere refused from internet addresses and allowed from your local network. A device whose address OpenAlgo cannot tell fell between the two and was allowed: behind Docker's gateway before you trust it on Admin, Device sign-in, or behind a proxy that does not pass on the device's address. Its sign-in token could then travel unencrypted over the internet. Now only your local network may use plainhttp; such a device is asked for thehttpsaddress with "This server cannot tell which network this device connects from, so it needs its https address. An admin can set Trusted proxies in Admin, Device sign-in." Setting Trusted proxies (for Docker behind the host's nginx, the one-buttonlocal,docker_gatewayon that page) lets OpenAlgo see the device's real address again. Found by the automated code review of #2526. - Signing out from the app stays accepted over
http(975270160, #2527) - the same review asked to refuse it too. That would make things worse: by the time OpenAlgo reads the sign-out, the token has already crossed the network, so refusing would leave it working. Accepting it signs the device out, and a token someone copied and renewed first is ended with it. Two tests now hold this in place. - Device sign-in shows on Admin, Diagnostics (
975270160, #2527) - approvals, reused sign-in tokens, sign-outs, signing key replacements, locked password confirmations and settings changes are written as warnings so that they show on Diagnostics, in place of alerts. Diagnostics readslog/errors.jsonl, which took errors only, so in 2.0.3.7 none of them showed. They now do; every other warning still stays out of Diagnostics. - Remote MCP design notes corrected (
6c3457534) -docs/prd/remote-mcp.mdsaid device sign-in is on by default. It is off until an admin turns it on, and the signing key it shares with Remote MCP is made at that moment.
Upgrade notes
- Docker behind the host's nginx: until Trusted proxies is
local,docker_gatewayon Admin, Device sign-in, a phone must sign in at yourhttpsaddress. A phone that signed in over plainhttpthrough the gateway can no longer renew its sign-in that way: it is not signed out, and it works again once the gateway is trusted or it uses thehttpsaddress. - A tunnel or proxy that does not name the device (for example a tunnel that sends no
X-Forwarded-For): plainhttpthrough it is now refused for device sign-in;httpsthrough it works. - Nothing changes for installs that use the API key only, or that have device sign-in off.
Dependencies
- No dependencies changed.
Contributors
- @marketcalls - the device sign-in HTTPS rule and Diagnostics fixes (#2527), the Remote MCP notes, and the release.
Links