Skip to content

verify_code: serve Apple Passwords codes on every site (#339) - #340

Merged
MehdiMamas merged 2 commits into
mainfrom
verify-any-site
Nov 16, 2026
Merged

MehdiMamas merged 2 commits into
mainfrom
verify-any-site

Conversation

@MehdiMamas

Copy link
Copy Markdown
Owner

verify_code now has a second code source for non-Apple hosts: the one-time codes Apple Passwords offers for the tab (authenticator codes saved for the site; Messages/Mail codes on Mac), picked by optional username. Apple sign-in hosts keep the prompt reader and the allowlist rule; the reader never runs elsewhere. Non-Apple hosts need the allowlist, or Allow every site with the sign_in every-site rules. Shared 3 per 10 min limit, code checked as 4-10 digits, never in a reply or log. no_code carries a Keytray hint; several_codes lists usernames only. CLI: verify-code [site] [username]. Docs and AGENTS.md updated.

Tested: pnpm typecheck green; unit.test.ts verify_code block (new cases for vault path, hint, several_codes, username, needs_user, http/local/blocked refusal, shared rate limit, bad code, no code in reply). Pre-existing on main and unrelated: one managed options-page unit failure; relay/wsl python tests fail locally because the installed helper holds the named pipe.

Closes #339

@MehdiMamas
MehdiMamas merged commit a3b0522 into main Nov 16, 2026
5 checks passed
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.

verify_code on every site: serve Apple Passwords codes (TOTP, Messages) beyond Apple sign-in

1 participant