From: Daiki Ueno <ueno@gnu.org>
To: Mark Karpov <markkarpov@openmailbox.org>
Cc: 20982@debbugs.gnu.org
Subject: bug#20982: 25.0.50; GPG uses GUI dialog box to ask for passphrase
Date: Mon, 06 Jul 2015 19:57:55 +0900 [thread overview]
Message-ID: <871tgl1rkc.fsf-ueno@gnu.org> (raw)
In-Reply-To: <87mvz9wsjx.fsf@openmailbox.org> (Mark Karpov's message of "Mon, 06 Jul 2015 15:20:50 +0600")
Mark Karpov <markkarpov@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
next prev parent reply other threads:[~2015-07-06 10:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-04 17:39 bug#20982: 25.0.50; GPG uses GUI dialog box to ask for passphrase Mark Karpov
2015-07-04 19:25 ` Stefan Monnier
2015-07-05 21:56 ` Richard Stallman
2015-07-06 4:43 ` Daiki Ueno
2015-07-06 9:20 ` Mark Karpov
2015-07-06 10:57 ` Daiki Ueno [this message]
2015-07-27 2:32 ` Daiki Ueno
2015-07-06 14:58 ` Richard Stallman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871tgl1rkc.fsf-ueno@gnu.org \
--to=ueno@gnu.org \
--cc=20982@debbugs.gnu.org \
--cc=markkarpov@openmailbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.