Hi all, I am trying to use gkeys gen-key to create a Gentoo-compliant GPG key following this tutorial: https://wiki.gentoo.org/wiki/Project:Gentoo-keys/Generating_GLEP_63_based_OpenPGP_keys I receive the below error using app-crypt/gnupg-2.2.3: Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/gkeys-gen", line 50, in <module> success = main() File "/usr/lib64/python2.7/site-packages/gkeygen/cli.py", line 59, in __call__ return self.run(args) File "/usr/lib64/python2.7/site-packages/gkeys/base.py", line 346, in run success, results = func(args) File "/usr/lib64/python2.7/site-packages/gkeygen/actions.py", line 163, in genkey shutil.copy('/usr/share/gnupg/gpg-conf.skel', newgpgconfpath) File "/usr/lib64/python2.7/shutil.py", line 133, in copy copyfile(src, dst) File "/usr/lib64/python2.7/shutil.py", line 96, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: '/usr/share/gnupg/gpg-conf.skel' It looks like this file was removed after gnupg 2.1 https://lists.gnupg.org/pipermail/gnupg-commits/2017-April/013663.html Thanks, Sarnex
gkeys-gen should just be removed from the tree altogether, just use the gnupg CLI to generate key material.
(In reply to Kristian Fiskerstrand from comment #1) > gkeys-gen should just be removed from the tree altogether, just use the > gnupg CLI to generate key material. I have no problem with this, but please create a wiki page that has a step-by-step example on creating GPG keys compatible with GLEP 63. I do not have much experience with GPG and I had to have someone walk me through it. Thanks, Sarenx
I would agree with that, especially when the docs and the tools are all stale and/or broken. This is not something I do every day, and I'd really prefer not wasting time or having to "wing" my way through creating the right key. The current state of things seems woefully inadequate.
After email from dolsen, I went to the wiki, to generate a new key, had to unmask a few dependencies, then hit this problem. Please update the wiki. https://wiki.gentoo.org/wiki/Project:Gentoo-keys/Generating_GLEP_63_based_OpenPGP_keys
Package removed per last-rites.