From: Fkqqrr <fkqqrr@riseup.net>
To: Daiki Ueno <ueno@gnu.org>
Cc: Fkqqrr <fkqqrr@riseup.net>, 24783@debbugs.gnu.org
Subject: bug#24783: 25.1 launchs gpg-agent --homedir as ~/.emacs.d/elpa/gnupg
Date: Thu, 24 Nov 2016 13:01:40 +0800 [thread overview]
Message-ID: <87poll4gjv.fsf@riseup.net> (raw)
In-Reply-To: <od1fumucp8w.fsf-ueno@gnu.org> (Daiki Ueno's message of "Mon, 14 Nov 2016 11:47:11 +0100")
Daiki Ueno <ueno@gnu.org> writes:
> Fkqqrr <fkqqrr@riseup.net> writes:
>
>> I am running Emacs 25.1 under Gentoo.
>>
>> Each time I run `list-packages', Emacs 25.1 launchs Gnupg-2.1 gpg-agent,
>> but the `--homedir' argument is set to `~/.emacs.d/elpa/gnupg' though I
>> have it to `~/.gnupg' in `~/.gnupg/gpg-agent.conf'. Obviously, Emacs
>> 25.1 fails to respect `gpg-agent.conf'.
>
> I would say that is an expected behavior. package.el maintains keys
> under ~/.emacs.d/elpa/gnupg, not ~/.gnupg. If you want to configure
> anything for gpg-agent started by package.el, you should add it to
> ~/.emacs.d/elpa/gnupg/gpg-agent.conf, not ~/.gnupg/gpg-agent.conf.
>
If that's package.el's `wanted' feature (default in
~/.emacs.d/elpa/gnupg), it does not harm to system. I couldn't
figure out why not just use system default location.
Similarly, SSL certificates (of mail servers) are stored in
.emacs.d/network-security.data insead of ~/.gnutls/known_hosts
>> However if `gpg-agent' is launched before `list-package', Emacs 25.1
>> will respect that.
>
> Really? If it is the case, it must be a bug in GnuPG. As far as I know
> it allows multiple gpg-agent instances for each --homedir.
GnuPG does allow multiple gpg-agent insances. You can check that
by:
1. list-packages in Emacs, then an instance created under
~/.emacs.d/elpa/gnupg;
2. C-x C-f to opens a gpg file, then another instance (system
default one) created under ~/.gnupg/
--
Hello, world
next prev parent reply other threads:[~2016-11-24 5:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-24 12:11 bug#24783: 25.1 launchs gpg-agent --homedir as ~/.emacs.d/elpa/gnupg Fkqqrr
2016-11-12 14:14 ` npostavs
2016-11-14 10:47 ` Daiki Ueno
2016-11-24 5:01 ` Fkqqrr [this message]
2016-11-24 6:23 ` Daiki Ueno
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=87poll4gjv.fsf@riseup.net \
--to=fkqqrr@riseup.net \
--cc=24783@debbugs.gnu.org \
--cc=alicebob@riseup.net \
--cc=ueno@gnu.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.