[Bug 640724] Re: gpgsm: gpg-protect-tool: error while asking for the passphrase: Unknown system error

Alif Mubarak Ahmad 640724 at bugs.launchpad.net
Tue Aug 19 17:43:36 UTC 2014


On Tuesday, August 19, 2014 05:06:17 PM you wrote:
> Workaround (works on Kubuntu 14.04):
> 
> unset GPG_AGENT_INFO; gpgsm --import mycert.p12
> 
> Got from here: 
https://bugzilla.redhat.com/show_bug.cgi?id=548528#c28

Thanks. This temporary workaround is working with pinentry-qt4.
Confirmed on Kubuntu 14.04.1 64bit

Unfortunately, this doesn't work with pinentry-curses, since 
pinentry curses could not be brought upfront.

-- 
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