Skip to content

Fallback to password doesn't show password prompt #38

@makkes

Description

@makkes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions