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

Fallback to password doesn't show password prompt #38

Open
makkes opened this issue Jul 31, 2024 · 0 comments
Open

Fallback to password doesn't show password prompt #38

makkes opened this issue Jul 31, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@makkes
Copy link

makkes commented Jul 31, 2024

Describe the bug

When the Touch ID dialog opens and I click on "Use Password...", no password prompt opens and GPG says "gpg: signing failed: No passphrase given".

Steps to reproduce:

  1. Run echo 'hello, world!' | gpg -as
  2. In the Touch ID dialog click on "Use Password..."

System information

macOS

  • Architecture: M3 Pro
  • Version: 14.5

GPG

  • Output of gpg --version:
    gpg (GnuPG) 2.4.5
    libgcrypt 1.10.3
    Copyright (C) 2024 g10 Code GmbH
    License GNU GPL-3.0-or-later <https://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.
    
    Home: /Users/max/.gnupg
    Supported algorithms:
    Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
    Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
            CAMELLIA128, CAMELLIA192, CAMELLIA256
    Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
    Compression: Uncompressed, ZIP, ZLIB, BZIP2
    
  • Installed via Homebrew? yes

Configuration

gpg:OpenPGP:/opt/homebrew/Cellar/gnupg/2.4.5/bin/gpg
gpgsm:S/MIME:/opt/homebrew/Cellar/gnupg/2.4.5/bin/gpgsm
keyboxd:Public Keys:/opt/homebrew/Cellar/gnupg/2.4.5/libexec/keyboxd
gpg-agent:Private Keys:/opt/homebrew/Cellar/gnupg/2.4.5/bin/gpg-agent
scdaemon:Smartcards:/opt/homebrew/Cellar/gnupg/2.4.5/libexec/scdaemon
dirmngr:Network:/opt/homebrew/Cellar/gnupg/2.4.5/bin/dirmngr
pinentry:Passphrase Entry:/opt/homebrew/opt/pinentry/bin/pinentry

Logs

$ echo 'hello, world!' | gpg -as
gpg: signing failed: No passphrase given
-----BEGIN PGP MESSAGE-----

gpg: signing failed: No passphrase given

gpg-agent:

gpg-agent.log

pinentry-touchid:

2024/07/31 18:44:38 main.go:118: Ready!
2024/07/31 18:44:39 main.go:348: Failed to authenticate
@makkes makkes added the bug Something isn't working label Jul 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant