HOW to upgrade: 2.0.22 --> 2.3.3 ???

Werner Koch wk at gnupg.org
Fri Oct 4 17:14:03 CEST 2024


On Fri,  4 Oct 2024 07:41, Mike Schleif said:

> Also, how ought I cleanup these old, unused keys?

  $ gpg --export --export-options backup > exported.gpg
  $ echo use-keyboxd ~/.gnupg/common.conf
  $ gpgconf -K all
  $ gpg --import --import-options restore < exported.gpg
  
If you use a decent 2.4 version.  If your version is older do

  $ gpg --export > exported.gpg
  $ mv ~/.gnupg/pubring.kbx ~/.gnupg/pubring.kbx-old
  $ mv ~/.gnupg/pubring.gpg ~/.gnupg/pubring.gpg-old
  $ gpg --import < exported.gpg


Salam-Shalom,

   Werner


-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241004/7aee4672/attachment-0001.sig>


More information about the Gnupg-users mailing list