[Bug 1862430] Re: gpg in focal doesn't find my private keys
Dimitri John Ledkov
launchpad at surgut.co.uk
Fri Feb 14 01:39:05 UTC 2020
Make a backup of .gnupg with like rsync!
Then:
gpg --import ~/.gnupg/secring.gpg
should fix this for you
Also you want to migrate the rest of the stuff to the new storage
format, i.e.:
cd ~/.gnupg
gpg --export-ownertrust >otrust.lst
mv pubring.gpg publickeys
gpg --import-options import-local-sigs --import publickeys
gpg --import-ownertrust otrust.lst
mv pubkeys pubring.gpg
Or remove pubring.gpg if you will no longer use gnupg1.
Test that everything works as you expect, and remove the backup you did
in the beginning.
** Changed in: gnupg2 (Ubuntu)
Status: Incomplete => Invalid
--
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/1862430
Title:
gpg in focal doesn't find my private keys
Status in gnupg2 package in Ubuntu:
Invalid
Bug description:
I recently upgraded to focal, and gpg can no longer find my secret
keys:
~$ gpg --list-secret-keys
~$
attached is the output of 'strace -e openat,access' for the above
command, which I found puzzling and might be a clue if one is needed.
Please do reach out if you need more info.
Thank you.
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: gnupg 2.2.17-3ubuntu1
ProcVersionSignature: Ubuntu 5.4.0-12.15-generic 5.4.8
Uname: Linux 5.4.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu16
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Feb 7 23:04:00 2020
DistributionChannelDescriptor:
# This is a distribution channel descriptor
# For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
canonical-oem-somerville-xenial-amd64-20160624-2
InstallationDate: Installed on 2018-02-24 (713 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
PackageArchitecture: all
SourcePackage: gnupg2
UpgradeStatus: Upgraded to focal on 2020-02-05 (2 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg2/+bug/1862430/+subscriptions
More information about the foundations-bugs
mailing list