I created a new local PGP key but I dont find how to publish it so Launchpad will recognize it.
All explanations are only in english but in my german Ubuntu I cannot find the tools under those names:
I created a new local PGP key but I dont find how to publish it so Launchpad will recognize it.
All explanations are only in english but in my german Ubuntu I cannot find the tools under those names:
Note that the following steps are described in this page of the Ubuntu Packaging Guide.
You first need to send your PGP key to the Ubuntu keyserver. To do this, first run gpg --list-keys
to find out your key ID. The key ID will be the part after 2048R/
or 4096R/
. Next, run gpg --send-keys --keyserver hkp://keyserver.ubuntu.com keyid
; replace keyid
with your key ID.
For the second part, run gpg --fingerprint
to get the fingerprint of your key. This part is in 8 blocks of 4 characters. Copy that, and paste that in the text box in the page in the Edit PGP Keys link.
After submitting, you should see that a key was added, and you should get an email saying that a PGP key was added.
Note that you also need to create an SSH key. You can run ssh-keygen -t rsa
to create a 2048-bit SSH key. It is recommended that you have a passphrase for this key, as this key can not only be used for communication between your computer and Launchpad, but could also be used (by you) to access your computer remotely. Run cat ~/.ssh/id_rsa.pub
, and copy the output. Then, paste this into the section on adding an SSH key.
Another way, use seahorse
GUI to create/manage/sync your keys (Installed by default in Ubuntu).
For PGP key: It will be used mainly to sign packages (PPA's)
hkp://keyserver.ubuntu.com:11371
, CloseFor SSH key: It will be used for bzr
repositories (Code repo)
Backup your Complete Key OS reinstall: If you don't want to loose/replace them.
Right click on key → Details → Export SSH:"Complete Key"/PGP:"Private Key"
gpg --list-keys
. It only exists as a file:~/.ssh/id_rsa_launchpad
and~/.ssh/id_rsa_launchpad.pub
– rubo77 Jul 09 '14 at 02:20gpg --gen-key
, and follow the prompts. Use RSA and RSA (this means have a separate public key used for verification and encrypting messages (by other people) and a private key that only you have that you use to sign messages). – saiarcot895 Jul 09 '14 at 02:25