HOW to upgrade: 2.0.22 --> 2.3.3 ???
Mike Schleif
mike at mdsresource.net
Fri Oct 4 19:45:54 CEST 2024
Werner, somehow I missed your message, before sending my message 2 hours
ago.
However, your actions do not work for me.
[ROOT at russell ~/.gnupg ] # date; /bin/gpg --version ;date
Fri Oct 4 12:38:19 CDT 2024
gpg (GnuPG) 2.3.3
libgcrypt 1.10.0-unknown
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later <https://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: /root/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
AEAD: EAX, OCB
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
Fri Oct 4 12:38:19 CDT 2024
BEFORE taking your actions:
[ROOT at russell ~/.gnupg ] # ls -al
total 864
drwx------. 3 root root 4096 Oct 4 12:35 .
dr-xr-x---. 14 root root 4096 Oct 4 12:31 ..
-rw-r--r--. 1 root root 0 Oct 3 10:45 .gpg-v21-migrated
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent.browser
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent.extra
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent.ssh
srwx------. 1 root root 0 Oct 3 10:45 S.scdaemon
-rw-r--r--. 1 root root 268006 Oct 4 12:35 exported.gpg
-rw-------. 1 root root 8071 Sep 5 2019 gpg.conf
drwx------. 2 root root 4096 Oct 3 10:45 private-keys-v1.d
-rw-------. 1 root root 273017 Jul 22 15:03 pubring.gpg
-rw-------. 1 root root 273017 Jul 22 15:03 pubring.gpg~
-rw-------. 1 root root 600 Oct 3 11:03 random_seed
-rw-------. 1 root root 5726 Jul 10 2017 secring.gpg
-rw-------. 1 root root 29360 Jul 22 15:03 trustdb.gpg
NOTE: NO .kbx files.
[ROOT at russell ~/.gnupg ] # mv pubring.gpg pubring.gpg.OLD
[ROOT at russell ~/.gnupg ] # ls -al
total 864
drwx------. 3 root root 4096 Oct 4 12:36 .
dr-xr-x---. 14 root root 4096 Oct 4 12:31 ..
-rw-r--r--. 1 root root 0 Oct 3 10:45 .gpg-v21-migrated
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent.browser
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent.extra
srwx------. 1 root root 0 Oct 3 10:45 S.gpg-agent.ssh
srwx------. 1 root root 0 Oct 3 10:45 S.scdaemon
-rw-r--r--. 1 root root 268006 Oct 4 12:35 exported.gpg
-rw-------. 1 root root 8071 Sep 5 2019 gpg.conf
drwx------. 2 root root 4096 Oct 3 10:45 private-keys-v1.d
-rw-------. 1 root root 273017 Jul 22 15:03 pubring.gpg.OLD
-rw-------. 1 root root 273017 Jul 22 15:03 pubring.gpg~
-rw-------. 1 root root 600 Oct 3 11:03 random_seed
-rw-------. 1 root root 5726 Jul 10 2017 secring.gpg
-rw-------. 1 root root 29360 Jul 22 15:03 trustdb.gpg
[ROOT at russell ~/.gnupg ] # /bin/gpg --import < exported.gpg
. . .
gpg: Total number processed: 189
gpg: w/o user IDs: 1
gpg: imported: 188
gpg: public key of ultimately trusted key 0000000000000000 not found
gpg: marginals needed: 3 completes needed: 1 trust model: classic
gpg: depth: 0 valid: 82 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 82u
gpg: next trustdb check due at 2033-09-13
[ROOT at russell ~/.gnupg ] # date; /bin/gpg -K ;date
Fri Oct 4 12:37:06 CDT 2024
gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr:
5d5ddc60954d5b06fa7b592ec45b70d9
gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr:
850d581e35383b8c11b50e471bb1b9be
gpg: key 0000000000000000 occurs more than once in the trustdb
gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr:
95b748bd217e51c036d8d0ce4387c502
gpg: key 0000000000000000 occurs more than once in the trustdb
/root/.gnupg/pubring.kbx
------------------------
sec dsa1024 2002-04-01 [SCA]
8C71B38C3A071ABCD831D4655257EBE831A070A8
uid [ultimate] publickey at provell.com
ssb elg1024 2002-04-01 [E]
sec rsa4096 2016-03-18 [SC]
3EA174A350A97D4356A35BC6455FC35E80167A71
uid [ultimate] Sempris <publickey at Sempris.com>
ssb rsa4096 2016-03-18 [E]
Fri Oct 4 12:37:06 CDT 2024
Please, advise. Thank you.
~ Mike
On Fri, Oct 4, 2024 at 10:14 AM Werner Koch <wk at gnupg.org> wrote:
> 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
>
--
If ever I can be of service to you; contact me at once.
I wish for you a truly extraordinary day ...
--
Best Regards,
Mike Schleif
612-235-6060
https://mikeschleif.net
http://mdsresource.net
http://www.linkedin.com/in/schleif
http://facebook.com/MDSResource
http://twitter.com/mikeschleif
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20241004/884f058d/attachment.html>
More information about the Gnupg-users
mailing list