<div dir="ltr"><div dir="ltr">HOW ought we cleanup our keyring?<br><br>[ROOT@russell ~ ] # date; /bin/gpg --fingerprint 5d5ddc60954d5b06fa7b592ec45b70d9 ;date<br>Fri Oct 4 10:50:34 CDT 2024<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 5d5ddc60954d5b06fa7b592ec45b70d9<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 850d581e35383b8c11b50e471bb1b9be<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 95b748bd217e51c036d8d0ce4387c502<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>gpg: error reading key: No public key<br>Fri Oct 4 10:50:34 CDT 2024<br><br><br>[ROOT@russell ~ ] # date; /bin/gpg --delete-secret-key 5d5ddc60954d5b06fa7b592ec45b70d9 ;date<br>Fri Oct 4 10:52:40 CDT 2024<br>gpg (GnuPG) 2.3.3; Copyright (C) 2021 Free Software Foundation, Inc.<br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>gpg: key "5d5ddc60954d5b06fa7b592ec45b70d9" not found: Not found<br>gpg: 5d5ddc60954d5b06fa7b592ec45b70d9: delete key failed: Not found<br>Fri Oct 4 10:52:40 CDT 2024<br><br><br>[ROOT@russell ~ ] # date; /bin/gpg --delete-key 5d5ddc60954d5b06fa7b592ec45b70d9 ;date<br>Fri Oct 4 10:53:00 CDT 2024<br>gpg (GnuPG) 2.3.3; Copyright (C) 2021 Free Software Foundation, Inc.<br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>gpg: key "5d5ddc60954d5b06fa7b592ec45b70d9" not found: Not found<br>gpg: 5d5ddc60954d5b06fa7b592ec45b70d9: delete key failed: Not found<br>Fri Oct 4 10:53:00 CDT 2024<br><br><br>Even on the legacy system:<br><br>[ROOT@iceland ~ ] # date; /bin/gpg --fingerprint 5d5ddc60954d5b06fa7b592ec45b70d9 ;date<br>Fri Oct 4 10:26:06 CDT 2024<br>pub 1024R/4A63FA15 2003-06-17<br> Key fingerprint = 5D 5D DC 60 95 4D 5B 06 FA 7B 59 2E C4 5B 70 D9<br>uid PFSWebRSA <<a href="mailto:pfsftpserver1@pfsweb.com">pfsftpserver1@pfsweb.com</a>><br>Fri Oct 4 10:26:06 CDT 2024<br><br><br>[ROOT@iceland ~ ] # date; /bin/gpg --delete-secret-key 5d5ddc60954d5b06fa7b592ec45b70d9 ;date<br>Fri Oct 4 10:26:27 CDT 2024<br>gpg (GnuPG) 2.0.22; Copyright (C) 2013 Free Software Foundation, Inc.<br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>gpg: key "5d5ddc60954d5b06fa7b592ec45b70d9" not found: Unknown system error<br>gpg: 5d5ddc60954d5b06fa7b592ec45b70d9: delete key failed: Unknown system error<br>Fri Oct 4 10:26:27 CDT 2024<br><br><br>[ROOT@iceland ~ ] # date; /bin/gpg --delete-key 5d5ddc60954d5b06fa7b592ec45b70d9 ;date<br>Fri Oct 4 10:26:36 CDT 2024<br>gpg (GnuPG) 2.0.22; Copyright (C) 2013 Free Software Foundation, Inc.<br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>pub 1024R/4A63FA15 2003-06-17 PFSWebRSA <<a href="mailto:pfsftpserver1@pfsweb.com">pfsftpserver1@pfsweb.com</a>><br><br>Delete this key from the keyring? (y/N) y<br>gpg: Oops: keyid_from_fingerprint: no pubkey<br>Fri Oct 4 10:26:40 CDT 2024<br><br><br>[ROOT@iceland ~ ] # date; /bin/gpg --delete-key 4A63FA15 ;date<br>Fri Oct 4 10:57:31 CDT 2024<br>gpg (GnuPG) 2.0.22; Copyright (C) 2013 Free Software Foundation, Inc.<br>This is free software: you are free to change and redistribute it.<br>There is NO WARRANTY, to the extent permitted by law.<br><br>gpg: key "4A63FA15" not found: Unknown system error<br>gpg: 4A63FA15: delete key failed: Unknown system error<br>Fri Oct 4 10:57:31 CDT 2024<br><br><br>Please, advise. Thank you.<br><br>~ Mike<br></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 3, 2024 at 11:19 AM Mike Schleif <<a href="mailto:mike@mdsresource.net">mike@mdsresource.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Finally, we are moving from CentOS Linux release 7.9.2009 (Core) _to_ AlmaLinux release 9.4 (Seafoam Ocelot).</div><div><br></div><div>I copied .gnupg/ to the new host. Problems unsued ...<br></div><div><br></div><div>[ROOT@russell ~/tmP ] # date; /bin/gpg -K ;date<br>Thu Oct 3 11:13:52 CDT 2024<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 5d5ddc60954d5b06fa7b592ec45b70d9<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 850d581e35383b8c11b50e471bb1b9be<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 95b748bd217e51c036d8d0ce4387c502<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>/root/.gnupg/pubring.gpg<br>------------------------<br>sec dsa1024 2002-04-01 [SCA]<br> 8C71B38C3A071ABCD831D4655257EBE831A070A8<br>uid [ultimate] <a href="mailto:publickey@provell.com" target="_blank">publickey@provell.com</a><br>ssb elg1024 2002-04-01 [E]<br><br>sec rsa4096 2016-03-18 [SC]<br> 3EA174A350A97D4356A35BC6455FC35E80167A71<br>uid [ultimate] Sempris <publickey@Sempris.com><br>ssb rsa4096 2016-03-18 [E]<br><br>Thu Oct 3 11:13:52 CDT 2024</div><div><br></div><div><br></div><div>[ROOT@russell ~/tmP ] # date; /bin/gpg -K --debug=ipc ;date<br>Thu Oct 3 11:14:09 CDT 2024<br>gpg: reading options from '/root/.gnupg/gpg.conf'<br>gpg: reading options from '[cmdline]'<br>gpg: enabled debug flags: ipc<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 5d5ddc60954d5b06fa7b592ec45b70d9<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 850d581e35383b8c11b50e471bb1b9be<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 95b748bd217e51c036d8d0ce4387c502<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>gpg: DBG: chan_6 <- OK Pleased to meet you, process 88789<br>gpg: DBG: connection to the gpg-agent established<br>gpg: DBG: chan_6 -> RESET<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> OPTION ttyname=/dev/pts/4<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> OPTION ttytype=xterm<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> OPTION lc-ctype=C<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> OPTION lc-messages=C<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> GETINFO version<br>gpg: DBG: chan_6 <- D 2.3.3<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> OPTION allow-pinentry-notify<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> OPTION agent-awareness=2.1.0<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> HAVEKEY --list=1000<br>gpg: DBG: chan_6 <- [ 44 20 d5 a1 e8 57 87 66 fc 6d cc 90 8b 25 32 35 ...(74 byte(s) skipped) ]<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> KEYINFO D5A1E8578766FC6DCC908B25D600BAD639D641A6<br>gpg: DBG: chan_6 <- S KEYINFO D5A1E8578766FC6DCC908B25D600BAD639D641A6 D - - - P - - -<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> KEYINFO 50C781CC9FD53404EC17CF98BFC22BE65A1547E7<br>gpg: DBG: chan_6 <- S KEYINFO 50C781CC9FD53404EC17CF98BFC22BE65A1547E7 D - - - P - - -<br>gpg: DBG: chan_6 <- OK<br>/root/.gnupg/pubring.gpg<br>------------------------<br>sec dsa1024 2002-04-01 [SCA]<br> 8C71B38C3A071ABCD831D4655257EBE831A070A8<br>uid [ultimate] <a href="mailto:publickey@provell.com" target="_blank">publickey@provell.com</a><br>ssb elg1024 2002-04-01 [E]<br><br>gpg: DBG: chan_6 -> KEYINFO 6924009722E1790A3D3CB382FD26707F0A3136EE<br>gpg: DBG: chan_6 <- S KEYINFO 6924009722E1790A3D3CB382FD26707F0A3136EE D - - - P - - -<br>gpg: DBG: chan_6 <- OK<br>gpg: DBG: chan_6 -> KEYINFO 13CF8D0A979ADBF4D7D34E66841FCFA5CC7F5EB8<br>gpg: DBG: chan_6 <- S KEYINFO 13CF8D0A979ADBF4D7D34E66841FCFA5CC7F5EB8 D - - - P - - -<br>gpg: DBG: chan_6 <- OK<br>sec rsa4096 2016-03-18 [SC]<br> 3EA174A350A97D4356A35BC6455FC35E80167A71<br>uid [ultimate] Sempris <publickey@Sempris.com><br>ssb rsa4096 2016-03-18 [E]<br><br>gpg: secmem usage: 0/65536 bytes in 0 blocks<br>Thu Oct 3 11:14:09 CDT 2024</div><div><br></div><div><br></div><div>Initial attempt to encrypt resulted in error:</div><div>gpg: starting migration from earlier GnuPG versions</div><div><br></div><div>All subsequent attempts failed with this:<br></div><div>DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 5d5ddc60954d5b06fa7b592ec45b70d9</div><div><br></div><div>HOW to eliminate these?</div><div>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 850d581e35383b8c11b50e471bb1b9be<br>gpg: key 0000000000000000 occurs more than once in the trustdb</div><div><br></div><div><br></div><div>[ROOT@russell ~/tmP ] # date; /bin/gpg --list-secret-keys ;date<br>Thu Oct 3 11:19:03 CDT 2024<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 5d5ddc60954d5b06fa7b592ec45b70d9<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 850d581e35383b8c11b50e471bb1b9be<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>gpg: DBG: Oops: keyid_from_fingerprint: no pubkey; fpr: 95b748bd217e51c036d8d0ce4387c502<br>gpg: key 0000000000000000 occurs more than once in the trustdb<br>/root/.gnupg/pubring.gpg<br>------------------------<br>sec dsa1024 2002-04-01 [SCA]<br> 8C71B38C3A071ABCD831D4655257EBE831A070A8<br>uid [ultimate] <a href="mailto:publickey@provell.com" target="_blank">publickey@provell.com</a><br>ssb elg1024 2002-04-01 [E]<br><br>sec rsa4096 2016-03-18 [SC]<br> 3EA174A350A97D4356A35BC6455FC35E80167A71<br>uid [ultimate] Sempris <publickey@Sempris.com><br>ssb rsa4096 2016-03-18 [E]<br><br>Thu Oct 3 11:19:03 CDT 2024<br></div><div><br></div><div><br></div><div>Please, advise. Thank you.</div><div><br></div><div>~ Mike<br></div></div>
</blockquote></div><br></div>