This is the second tutorial I've consulted on how to generate a pgp key. This was the first. The first one downloaded the necessary program for me:
$ sudo apt update
$ sudo apt install gnupg
They and others all seem to agree. But it doesn't work for me. All the options/choices it says I'll get I don't get. It jumps straight to having me enter my name, then eventually spits this out:
pub rsa3072 2022-05-02 [SC] [expires: 2024-05-01]
then
gpg --list-keys
gives me nothing, which is further suspicious.
When I send to the ubuntu server, I get:
eriadar@eriadar-Latitude-E7440:~/pgp$ gpg --keyserver keyserver.ubuntu.com --send-keys rsa3072 2022-05-02
gpg: "rsa3072" not a key ID: skipping
gpg: "2022-05-02" not a key ID: skipping
which you predicted based on what you saw above. I do -not- get anything like:
pub 1024D/12345678
So.. what do I do? (if all else fails, yes, I can try a gui..)
Edit: This tutorial more accurately shows what happens on my computer. ..Still looking through it, it probably has the answer.
Edit: Ok, that time the ubuntu key-server accepted it. So.. why are there tutorials with two different sets of instructions? ..Is one set out of date?
This is the tutorial that correctly reflects how my system actually behaves. My key has been sent to ubuntu. I don't know why there are two different sets of tutorials.
list-keys
. Follow these directions, and skip everything after Importing your key into Launchpad with gpg. Let me know if that works