Do

gpg --keyserver keyserver.ubuntu.com --send-keys does not work

Asked by Theodotos Andreou

I try to become Ubuntero and accept the Ubuntu code but my key does not reach the keyserver. I use this command:

gpg --keyserver keyserver.ubuntu.com --send-keys

but nothing seems to happen. Am I doing something wrong?

Question information

Language:
English Edit question
Status:
Solved
For:
Do Edit question
Assignee:
No assignee Edit question
Solved by:
Justin Lei GAO
Solved:
Last query:
Last reply:
Revision history for this message
Best Justin Lei GAO (leikao) said :
#1

The correct command line likes,
gpg --keyserver keyserver.ubuntu.com --send-keys USER-ID

You've forgot the USER-ID in the command line.

Justin.

Revision history for this message
Theodotos Andreou (theodotos) said :
#2

Thanks Justin Lei Kao, that solved my question.

Revision history for this message
Theodotos Andreou (theodotos) said :
#3

Now any idea howto use this key on thunderbird to reply to the email they sent me?

Revision history for this message
Urbán Dániel (urban.dani) said :
#4

With the Enigmail extension of Thunderbird. You have to install the "mozilla-thunderbird-enigmail" package.

Revision history for this message
Theodotos Andreou (theodotos) said :
#5

Thanks I got it now.

Revision history for this message
Ziaa (ziaphx-2007) said :
#6

Hi
I encontoured the same probelm, but what do you mean by USER-ID.
Plz explain explicitly.

Regards
Zia

Revision history for this message
Theodotos Andreou (theodotos) said :
#7

It means the id you use to login on launchpad eg <email address hidden>

Revision history for this message
Ziaa (ziaphx-2007) said :
#8

Hi
 When I added my user id to code it still doesn't work

Quote

ziaa@Gikian:~$ gpg --keyserver keyserver.ubuntu.com --send-keys <email address hidden> gpg: "<email address hidden>" not a key ID: skipping
ziaa@Gikian:~$
Thanks!!!!!!!!!!!!!!

Revision history for this message
Bodsda (bodsda) said :
#9

Hi, when generating your key, in the output just after, it gives you the ID

We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, use the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
+++++.+++++...+++++.+++++.++++++++++..++++++++++.++++++++++....++++++++++.++++++++++.++++++++++++++++++++...++++++++++.++++++++++..++++++++++.+++++.+++++++++++++++..+++++.+++++++++++++++.+++++>++++++++++++++++++++..+++++++++++++++.+++++.++++++++++>.+++++>+++++>+++++........>.+++++............................................>+++++<.+++++........................................................<+++++.............>+++++.................+++++^^^
gpg: key 8CB51C5B marked as ultimately trusted
public and secret key created and signed.

its the 8CB51C5B bit you want, or at least, thats what worked for me.

Hope this helps,

Bodsda

Revision history for this message
Najmi (najmi-zabidi) said :
#10

The port used by gpgkeys might be blocked.. you can check via netstat -punat|grep gpgkeys

root@stansted:/home/najmi# netstat -putan|grep gpgkeys
tcp 0 1 X.X.X.38:52667 91.189.94.173:11371 SYN_SENT 10602/gpgkeys_hkp

Seems that it is using port 52667 to send the keys out..