GNU bug report logs - #20982
25.0.50; GPG uses GUI dialog box to ask for passphrase

Previous Next

Package: emacs;

Reported by: Mark Karpov <markkarpov <at> openmailbox.org>

Date: Sat, 4 Jul 2015 17:44:02 UTC

Severity: wishlist

Merged with 20550, 22711

Found in versions 25.0.50, 25.0.91

Done: Daiki Ueno <ueno <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mark Karpov <markkarpov <at> openmailbox.org>
To: Daiki Ueno <ueno <at> gnu.org>
Cc: 20982 <at> debbugs.gnu.org
Subject: bug#20982: 25.0.50; GPG uses GUI dialog box to ask for passphrase
Date: Mon, 06 Jul 2015 15:20:50 +0600
Daiki Ueno <ueno <at> gnu.org> writes:

> Richard Stallman <rms <at> gnu.org> writes:
>
>> Maybe Emacs developers can cooperate with Werner Koch to set up a a
>> way GPG and Emacs can work together better for reading the passphrase.
>>
>> There is the option of using gpg-agent.
>
> We are already working on that, see:
> http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20550
>
> and the recent discussions on gnupg-devel mailing list, to make
> gpg-agent (and pinentry) respect the INSIDE_EMACS envvar:
> https://lists.gnupg.org/pipermail/gnupg-devel/2015-June/029915.html
>
> Now that all patches had landed in both GnuPG (2.1.x) and Emacs (git
> master), maybe people who demand on this feature could try it, so it can
> be safely backported to the GnuPG stable series?
>
> Regards,

I would like to try this. I have

  ~ $ gpg --version
  gpg (GnuPG) 2.1.6
  libgcrypt 1.6.3
  Copyright (C) 2015 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:
  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

…and Emacs built from git master (head: 8c81ac9 master ; Spelling fixes).

This doesn't seem to work out-of-the-box. What additional steps should
one undertake to get rid of the dialog box?




This bug report was last modified 9 years and 148 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.