Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gopass setup --crypto=age pinentry error #2511

Closed
tekumara opened this issue Jan 11, 2023 · 2 comments
Closed

gopass setup --crypto=age pinentry error #2511

tekumara opened this issue Jan 11, 2023 · 2 comments

Comments

@tekumara
Copy link

Summary

gopass setup --crypto=age pinentry error

Steps To Reproduce

❯ gopass setup --crypto=age

   __     _    _ _      _ _   ___   ___
 /'_ '\ /'_'\ ( '_'\  /'_' )/',__)/',__)
( (_) |( (_) )| (_) )( (_| |\__, \\__, \
'\__  |'\___/'| ,__/''\__,_)(____/(____/
( )_) |       | |
 \___/'       (_)

🌟 Welcome to gopass!
🌟 Initializing a new password store ...
🔐 No useable cryptographic keys. Generating new key pair
🧪 Creating cryptographic key pair (age) ...
⚠ Do you want to enter a passphrase? (otherwise we generate one for you) [y/N/q]:
✅ Key pair for age generated
Passphrase: doctrine sponsor librarian support
⚠ You need to remember this very well!
⚠ 🔐 We need to unlock your newly created private key now! Please enter the passphrase you just generated.
2023/01/11 15:29:25 failed to check private keys: failed to create new private key: failed to list private keys: failed to decrypt /Users/tekumara/.config/gopass/age/identities: pinentry error: pinentry error: pinentry: unexpected response: "S ERROR curses.isatty 83918950 "

Expected behavior

Environment

  • OS: macOS
  • OS version: Darwin arm64
  • gopass Version: gopass 1.15.3 go1.19.4 darwin arm64
  • Installation method: brew

Additional context

@tekumara
Copy link
Author

Closing as duplicate of #1879

@tekumara
Copy link
Author

Resolved by first setting:

export GPG_TTY=$(tty)

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

No branches or pull requests

1 participant