[Bug 640724] Re: gpgsm: gpg-protect-tool: error while asking for the passphrase: Unknown system error
Alif Mubarak Ahmad
640724 at bugs.launchpad.net
Mon Aug 11 09:54:44 UTC 2014
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
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/640724
Title:
gpgsm: gpg-protect-tool: error while asking for the passphrase:
Unknown system error
Status in “gnupg2” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: gnupg2
I want to import a pkcs12 certificate.
If I call "gpgsm --import certbundle.p12" this will crash with:
gpgsm: gpgsm: GPG_TTY has not been set - using maybe bogus default
gpgsm: gpg-protect-tool: error while asking for the passphrase: Unknown system error
gpgsm: error running `/usr/lib/gnupg2/gpg-protect-tool': exit status 2
gpgsm: total number processed: 0
Furthermore, this also crashes the running gnome-keyring-daemon.
I've attached a strace output of this command.
I don't know how to work arround this - maybe, someone get a idea...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/640724/+subscriptions
More information about the foundations-bugs
mailing list