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


Message #20 received at 20982 <at> debbugs.gnu.org (full text, mbox):

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

> I would like to try this. I have

Thanks.

>   ~ $ 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?

First, make sure that your Pinentry is 0.9.5 or later.  Secondly, add
allow-emacs-pinentry to your ~/.gnupg/gpg-agent.conf.  Finally, start
the Emacs Pinentry server with M-x pinentry-start.

Then, you should be able to interact with gpg through minibufer.  Try
M-x shell and run gpg from there (or do M-x epa-encrypt-region, etc.).

If it doesn't work well, let me know (I expect that there are still
rough edges).

Regards,
-- 
Daiki Ueno





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

Previous Next


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