1

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.

4
  • Does this answer your question? How do I make a PGP key? - check out the other answers, not just the top one. Of course, you may not need to upload yours depending on what you're doing
    – cocomac
    May 2, 2022 at 20:01
  • @cocomac My appologies, I wasn't clear enough. If you follow the first link I provided, it will see it's the same link.
    – juggler
    May 2, 2022 at 20:07
  • You need to get it to give you a key when you do list-keys. Follow these directions, and skip everything after Importing your key into Launchpad with gpg. Let me know if that works
    – cocomac
    May 2, 2022 at 20:13
  • @cocomac How do you get it to give you a key when you do list-keys? And, again sorry, but those directions are the ones I was referring to when I said I had tried the tutorial, and it hadn't worked. I can now confirm that the last tutorial I link to -has- worked. (so it seems) I'm going to answer my own question now.
    – juggler
    May 2, 2022 at 20:29

0

You must log in to answer this question.

Browse other questions tagged .