[Bug 1565963] Re: gpg secret keys not migrated after upgrade to gnupg 2.1

Werner Koch wk at gnupg.org
Sat Apr 9 11:53:36 CEST 2016

On Sat,  9 Apr 2016 01:37, dkg at fifthhorseman.net said:

> It's a little unusual to have ~/.gnupg/private-keys-v1.d not be u+x, as
> that would imply that the directory isn't listable.  This is probably
> causing problems for the gpg-agent.

Yes, gpg-agent provide commands to list private keys and we may
eventually use that feature to speed up the --list-secret-keys command
in certain cases.

> I have no idea how this directory got the u+x bit cleared, but maybe
> that's something that either:
>  a) gpg-agent could clean up on its own, or

That is a good idea.  ~/.gnupg is anyway a property of GnuPG and thus
gpg-agent should be allowed to change the permissions.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list