Repository navigation
Releases
Releases · nerveband/secret-gate
v0.9.2
v0.9.1
Added
TIMEZONEsetting (/set timezone, buttons in/settings): every time shown in Telegram, PushWard, and the owner entry page uses your zone with its abbreviation (14:35 PST). DefaultAmerica/Los_Angeles. Acceptspst,mst,cst,est,utc, or any IANA name. Zone data is built into the binary, so it works in the minimal image.
Changed
/settingspanel: the phone-window and tap-window switches are one full-width button each ("✅ Phone windows: ON"), so their labels are no longer cut off on a phone. Tapping flips the switch.
v0.9.0
Added
- Owner windows: open a read window yourself, before any agent asks (
/open, a pinned panel button, orPOST /approvals/windows). A window covers every item inOWNER_WINDOW_VAULTS, never Secret Gate's own credentials (titles matchingsecret gateorpushward;OWNER_WINDOW_DENYadds patterns), cards, bank, identity items, passkeys, or attachments, and never writes. An optionalOWNER_WINDOW_TAGnarrows it to items carrying that 1Password tag. Fixed length (30m default, 60m maximum, no extension), a budget of 30 requests and 10 distinct items (OWNER_WINDOW_MAX_REQUESTS,OWNER_WINDOW_MAX_ITEMS), one window per vault, 6 opens per hour, 4h per day. Every open needs a confirm tap with a single-use card. Design and threat model: docs/owner-window.md. - Values released under an owner window are process-only (clients refuse
--revealandread_item_fields, cache at most 15 minutes) and carry a reserved_secret_gate.expires_atkey; the daemon cache and ssh-agent never keep them past the window's end plus 5 minutes. A read approved by a window that was then revoked or ran out of budget is not released. - Telegram control surface:
/panel,/open,/close,/windows,/pending,/settings,/set,/help, registered in the bot's command menu. Telegram polling now also reads text messages. - Telegram alert modes
on,silent,off(TELEGRAM_NOTIFICATIONS,/set notifications ...). Silent sends without a push. Off sends nothing unprompted, so PushWard can carry the notifications while Telegram stays a control surface; commands, buttons, replies,/pending, and approvals tapped in Telegram keep working. Off acts as silent when PushWard is not configured, and Telegram posts a request silently when PushWard cannot take it. tap_windowsandowner_windowsswitches in/settings. Changes are saved toSETTINGS_PATH(the image sets/app/state/settings.json) and announced on PushWard.- Approver API:
POST /approvals/windowsandGET /approvals/windows, an opener token (SECRET_GATE_OPENER_TOKEN_SHA256) that can only open, list, and close windows, digest storage for the approver token (SECRET_GATE_APPROVER_TOKEN_SHA256),window.opened,window.used, andwindow.closedSSE events, and read-window support on the revoke route. AUDIT_LOG_PATH: owner window and settings events as JSON lines (mode 0600), names and counts only.- PushWard
SendAuditalerts for window open, first use, close, settings changes, and server restart.
Changed
- Breaking for group chats: Telegram taps are accepted only from
TELEGRAM_APPROVER_USER_ID(default:TELEGRAM_CHAT_IDwhen it is a private chat) in the configured chat. A groupTELEGRAM_CHAT_IDnow needsTELEGRAM_APPROVER_USER_ID. Taps and messages from anyone else are ignored and logged. - Telegram updates that queued while the server was down are dropped at startup, so an old tap cannot fire after a restart.
- The tap-opened read window ("Approve 30m") no longer covers Secret Gate's own credentials, passkeys, or attachments; those need a tap.
- Approval cards and PushWard options hide the window buttons when
tap_windowsis off or the window length is 0. - Connect item updates keep the item's tags.
- Telegram long polling uses its own HTTP client instead of swapping the timeout of the shared one.
- The process-only error message no longer says only "card number, CVV, or PIN".
- Update clients together with the server: clients before 0.8.0 ignore the process-only marker, and clients without this change keep window-released values for their normal cache time instead of capping them at the window's end.
- Secret Gate is now a standalone public project. The Go module path moved from
github.com/johnuopini/secret-gatetogithub.com/nerveband/secret-gate; updatego installcommands and imports. - Deployment docs describe a generic Compose layout. Host-specific notes moved to the gitignored
deploy/LOCAL.md. - README covers all three approval channels (Telegram, PushWard, HTTP Approver API) and states that only one is required, lists
browser_fill, and documentsdaemon flushas a dry run without--commit. The quick start no longer references the removed.env.example.
v0.8.3
Added
exec,exec --dry-run,exec_with_secret, andbrowser fillreturnalternatives: names of other fields that match the requested name with a different, non-empty value (a saved web-formPasswordnext to the login password). An agent whose login fails requests one (request submit --fields Password) and retries. The server lists them, names only, when it releases a field; the cached value never answers for an alternative.item fieldsshows each field'sselector. Fields without an ID whose label repeats (saved web-form fields) are now addressable aslabel#n.
Changed
- An exact field name now wins over the 1Password purpose:
Passwordreaches a non-empty field labeled exactlyPassword.password(the login field's ID) and other spellings still reach the login password, and an empty value still never wins.
v0.8.1
Added
request submit --amount '$412.30'(context.amountin MCP). Card approvals read "Approve $412.30 at aa.com checkout, Visa ending 1111, expires 08/2027", with an "Approve $412.30" button in Telegram and PushWard. Purpose and amount are limited to one line (80 and 24 characters).
Fixed
- Skill: card items carry the CVV and agents fill it at checkout; agents no longer send the owner to the entry page for a CVV, and say which field is missing from 1Password instead.
- PushWard rejected the Live Activity of entry-page writes (one option; approval cards need two to four). Those requests now skip PushWard; the Telegram link approves them.
- The attachment temp-file test failed on Linux CI since v0.7.0 (
stat -fmeans filesystem stat there); it now tries GNUstatfirst.
v0.5.5
Fixed
write createwith category PASSWORD (and LOGIN) no longer fails after approval:passwordandusernamefields carry the Connect purposes the template requires (#11). Purposes are not sent for SERVER, DATABASE, EMAIL_ACCOUNT, or WIRELESS_ROUTER, which Connect rejects.- Connect validation failures on writes return a
validationerror with Connect's message instead ofnetwork. - Writes are checked before the Telegram approval (unsupported category, missing password, empty values, existing or missing or duplicated title, double quote in title) so approvals are not spent on requests that cannot succeed. Categories are normalized to upper case.
credential,clientsecret,secretkey, and token-style fields are stored as concealed fields.- Reusing a pending approval no longer fails when Telegram answers "message is not modified", and refresh errors are logged (#13).
Known issues
- Connect read-after-write lag, titles containing a double quote, duplicate-title reads, and a possible duplicate on retry after an ambiguous write failure are tracked in #12.
v0.5.4
Fixed
- OTP aliases (
otp,totp,mfa,2fa,one-time password) andotp execwithout--fieldnow resolve to the item's single OTP-type field even when it has no label, at both approval and use. Several unlabeled OTP fields return a validation error listing their field IDs; the field ID still works.
v0.5.3
Fixed
- Upgrade the MCP Go SDK to v1.4.1 to address the three advisories flagged by govulncheck.
- Build the Docker server for the requested platform instead of defaulting to ARM64.
- Exclude Git metadata and runtime credential files from Docker build contexts.
- Let the optional local Compose stack use the host architecture.
Documentation
- Document m1pro-server as the active deployment host and the server workspace as the live Compose owner.
- Mark the retired DevBox deployment helpers as historical.
v0.5.2
Fixed
- Equivalent pending requests now refresh the original Telegram approval in place without sending a duplicate reminder.
v0.5.1
Added
- Root-owned systemd timer for automatic deployment of verified release tags on DevBox.
- One-command bootstrap installer for the automatic deployment service.
Fixed
- DevBox deployments authenticate private GitHub fetches, create writable service state, and build the server for amd64.
- Daemon shutdown no longer races with server goroutine registration.