[pkg-gnupg-maint] Bug#834548: Bug#834548: gnupg2: Ignores secret-keyring config when importing secret keys from gpg1

Werner Koch wk at gnupg.org
Wed Aug 17 07:59:19 UTC 2016


On Wed, 17 Aug 2016 01:23, mh+reportbug at glandium.org said:

> contains my private keys. But gpg2 seems to always want to import
> ~/.gnupg/secret.gpg, disregarding the config.

Right.  Automatic migration is only done for the default configuration.

Manual migration is easy:

  gpg --import MYSECRETKEYRING

you may want to add --batch, so you are not asked for the passphrases.
For MYSECRETKEYRING you can in practise use any secring.gpg as created
by older GnuPG versions.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <https://openpgp-conf.org> */



More information about the pkg-gnupg-maint mailing list