[pkg-gnupg-maint] Bug#869416: Bug#869416: pinentry-gtk2: fails to request passphrase when importing OpenPGP secret key with Seahorse

NIIBE Yutaka gniibe at fsij.org
Mon Jul 31 02:21:08 UTC 2017


Thanks for your reply.

intrigeri <intrigeri at debian.org> wrote:
> Anything else I should try? Something about $GPG_TTY, or starting
> Seahorse from GNOME Terminal (instead of the GNOME Overview), perhaps?

It seems that the most likely case is the following scenario:

  (1) Upon login, gpg-agent is invoked with no DISPLAY.
  (2) While Sheahorse has DISPLAY and invokes gpg by gpgme,
      gpg connects to existing gpg-agent.
  (3) Because gpg-agent has no DISPLAY, when gpg-agent invokes
      pinentry, it fails at isatty(3).

Could you please try this?

  $ gpg-connect-agent updatestartuptty /bye

It should be done from your GNOME Terminal, before importing key by
Seahorse.  It updates variables of DISPLAY and TTY in gpg-agent.
-- 



More information about the pkg-gnupg-maint mailing list