I also experience this bug on Kubuntu 14.04 $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.1 LTS Release: 14.04 Codename: trusty
Here is my kernel information. $ uname -a Linux localhost 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Here is output of gpgsm commands $ gpgsm --call-protect-tool --p12-import mycert.p12 gpg-protect-tool: error while asking for the passphrase: End of file $ gpgsm --import mycert.p12 gpgsm: gpg-protect-tool: error while asking for the passphrase: End of file gpgsm: error running `/usr/lib/gnupg2/gpg-protect-tool': exit status 2 gpgsm: total number processed: 0 I've set GPG_TTY before $ export GPG_TTY=$(tty) Here is gpgsm version $ gpgsm --version gpgsm (GnuPG) 2.0.22 libgcrypt 1.5.3 libksba 1.3.0 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://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: ~/.gnupg Supported algorithms: Cipher: 3DES, AES, AES192, AES256, SERPENT128, SERPENT192, SERPENT256, SEED, CAMELLIA128, CAMELLIA192, CAMELLIA256 Pubkey: RSA, ECDSA Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224, WHIRLPOOL ** Tags added: pinentry-curses pinentry-qt4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/640724 Title: gpgsm: gpg-protect-tool: error while asking for the passphrase: Unknown system error To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/640724/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
