Skip to content

auth logout: say that this machine's device key was revoked #1300

Open

Description

@neuromechanist

Seen during the epic #1272 walk-through (2026-09-08). nemar auth logout on an account signed in through the browser revokes this machine's device-minted key (verified: the key disappears from another machine's nemar auth keys list), but prints only "Logged out successfully". The pasted-key path does explain itself ("This key may be used on other machines and was kept; revoke it with ..."), and the failure path says "Could not revoke this machine's key (...); it stays valid", so the successful device path is the one case where the user is not told what happened to the key.

Proposal: after a successful revocation print one dim line, for example "This machine's key was revoked; run nemar auth login to sign in again.", matching the sentence nemar auth keys revoke current already prints. Nothing else changes.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions