Skip to content

feat: fix passphrase fatigue by wiring OS keychain caching into all CLI commands#112

Merged
bordumb merged 1 commit intomainfrom
dev-passwordFatigue
Mar 27, 2026
Merged

feat: fix passphrase fatigue by wiring OS keychain caching into all CLI commands#112
bordumb merged 1 commit intomainfrom
dev-passwordFatigue

Conversation

@bordumb
Copy link
Copy Markdown
Contributor

@bordumb bordumb commented Mar 27, 2026

The main auths binary used an in-process CachedPassphraseProvider that
was empty on every invocation, prompting for a passphrase every time.
Meanwhile auths-sign already used KeychainPassphraseProvider (OS
keychain-backed, persists across invocations).

  • Replace CachedPassphraseProvider with KeychainPassphraseProvider in build_config() so all CLI commands benefit from OS keychain caching
  • Wire agent_signing into build_auths_context() so CommitSigningContext gets a real agent provider instead of NoopAgentProvider
  • Improve error messages for IncorrectPassphrase and PassphraseExhausted to surface AUTHS_PASSPHRASE and auths agent start options

…LI commands

  The main `auths` binary used an in-process CachedPassphraseProvider that
  was empty on every invocation, prompting for a passphrase every time.
  Meanwhile `auths-sign` already used KeychainPassphraseProvider (OS
  keychain-backed, persists across invocations).

  - Replace CachedPassphraseProvider with KeychainPassphraseProvider in
  build_config() so all CLI commands benefit from OS keychain caching
  - Wire agent_signing into build_auths_context() so CommitSigningContext
  gets a real agent provider instead of NoopAgentProvider
  - Improve error messages for IncorrectPassphrase and PassphraseExhausted
  to surface AUTHS_PASSPHRASE and `auths agent start` options
@bordumb bordumb self-assigned this Mar 27, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auths Ready Ready Preview, Comment Mar 27, 2026 2:02am

@github-actions
Copy link
Copy Markdown

Auths Commit Verification

Commit Status Details
47596e21 ✅ Verified Signed by z6MktnihicwetvA16FtHFynaJTn9eDZw51eizUEA1yGJCR4o@auths.local

Result: ✅ 1/1 commits verified

@bordumb bordumb merged commit 9779eb2 into main Mar 27, 2026
14 checks passed
@bordumb bordumb deleted the dev-passwordFatigue branch March 27, 2026 02:04
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