Repository navigation
Passlet: short-lived, repo-scoped GitHub tokens for Codex, approved with Touch ID #64582
zupo
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I make Passlet, so this is a maker post.
Codex needs GitHub access to push branches and open pull requests. The usual way is
gh auth loginon the machine Codex runs on, which hands it everything your account can reach for as long as the login lasts.With Passlet, the Codex plugin asks for the repositories and permissions a task needs, you approve on your Mac with Touch ID, and Codex gets a GitHub token for exactly that request, which expires in about eight hours. Approved grants are cached, so later sessions reuse them until they expire. Your long-lived credentials stay in the Mac's Keychain. Codex can run on the same Mac, or on a Linux box over SSH or Tailscale.
The CLI and the Mac app install through Homebrew or Nix, and approving needs macOS 26 on Apple Silicon. MIT, no account: https://github.com/ParetoSecurity/passlet
Happy to answer questions about the threat model.
All reactions