[Bug 1777710] Re: gpg throws out my secret keys after upgrade to 18.04
Dimitri John Ledkov 🌈
launchpad at surgut.co.uk
Fri Jun 22 13:26:23 UTC 2018
So yeah, my suggestion to reimport public key was right. It is an odd
corner case. I think it has to do with something how the upstream choose
to reorganize public & secret keyrings; such that the split of which
bits need to be where is now different, and the export of old is either
incomplete for what the new one wants or the new one does import all the
right things during migration.
I think it is prudent to refresh / have an up to date public key,
wherever private keys are. I've seen this trip up a few people, but it
is a bit of a self-service that one must do when migrating to 2.1
unfortunately.
It could be "fixed" by automatic refreshing of public keys.... but we
are not going to do that.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1777710
Title:
gpg throws out my secret keys after upgrade to 18.04
Status in gnupg2 package in Ubuntu:
New
Bug description:
I recently upgraded a server from 16.04 to 18.04 and gpg has started
throwing out my secret keys. I even tried deleting the .gnupg
directory and re-importing or just copying the secring from another
working system, and it still throws out the secret keys.
Working system:
C:\Users\psusi\AppData\Roaming\gnupg>gpg --version
gpg (GnuPG) 2.0.28 (Gpg4win 2.2.5)
C:\Users\psusi\AppData\Roaming\gnupg>gpg -K
C:/Users/psusi/AppData/Roaming/gnupg/secring.gpg
------------------------------------------------
sec# 2048R/A70FB705 2011-12-13
uid Phillip Susi <psusi at ubuntu.com>
uid Phillip Susi <psusi at cfl.rr.com>
ssb 2048R/51FEF1C9 2011-12-13
ssb 2048R/FA9EEEF9 2011-12-14
ssb 2048R/3348AAF0 2013-11-26
ssb 2048R/BDCC7F92 2013-11-26
ssb 2048R/9C8E5E51 2014-10-29
ssb 2048R/93A02CCD 2014-10-29
ssb 2048R/5CBBA516 2015-10-05
ssb 2048R/10850B71 2015-10-05
ssb 2048R/6100FE84 2017-01-06
ssb 2048R/0F60068B 2017-01-06
Broken system:
psusi at devserv:~$ gpg --version
gpg: WARNING: unsafe permissions on homedir '/home/psusi/.gnupg'
gpg (GnuPG) 2.2.4
psusi at devserv:~$ gpg -K
gpg: WARNING: unsafe permissions on homedir '/home/psusi/.gnupg'
/home/psusi/.gnupg/pubring.kbx
------------------------------
sec# rsa2048 2011-12-13 [SCA]
1B49F933916A37A3F45A1812015F4DD4A70FB705
uid [ultimate] Phillip Susi <psusi at ubuntu.com>
uid [ultimate] Phillip Susi <psusi at cfl.rr.com>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1777710/+subscriptions
More information about the foundations-bugs
mailing list