Skip to content

rename enable-ssh to allow-ssh and use SSH Certs instead of keys - #460

Closed
patelspratik wants to merge 2 commits into
mainfrom
cafornodes
Closed

rename enable-ssh to allow-ssh and use SSH Certs instead of keys#460
patelspratik wants to merge 2 commits into
mainfrom
cafornodes

Conversation

@patelspratik

@patelspratik patelspratik commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

@patelspratik
patelspratik force-pushed the cafornodes branch 2 times, most recently from 35f8f10 to a1ba25c Compare August 27, 2026 15:38
@patelspratik patelspratik changed the title Cafornodes rename enable-ssh to allow-ssh and use SSH Certs instead of keys Aug 27, 2026
@patelspratik
patelspratik force-pushed the cafornodes branch 7 times, most recently from 068c9c3 to df9e8fe Compare August 28, 2026 20:49
Rebased onto pr1-register-resiliency (post ssh-certs uptake).

- BREV_ACCESS_KEY renamed to BREV_API_KEY (never released); all
  access-key identifiers and messages renamed to API key
- Env-key orgs resolve in real time from the backend: the key is bound
  to exactly one org server-side, so no persisted org is consulted and
  staleness is impossible. Established logins keep persisted org
  behavior (APIKeyOrgID / active-org cache)
- Single-org invariant hoisted to auth.SingleOrgForAPIKey, shared by
  register and the general resolution path
- GetActiveOrganizationOrNil branches on credential source; env path
  returns the full org (name included) without a second GetOrganization
  round-trip
- Register with no env key and no persisted credential now prompts the
  device-flow login (externalNodeAuth fallback) instead of erroring;
  tokens stay in memory, the login email is cached for pre-fill
- Register tests moved/renamed to the APIKey convention
@patelspratik
patelspratik force-pushed the cafornodes branch 2 times, most recently from d057349 to a0b3d68 Compare August 29, 2026 01:15
@patelspratik

Copy link
Copy Markdown
Contributor Author

closed in favor of #467

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant