SetupDeveloperEnvironment
- Set up launchpad account
- Set up developer system
- Set up testing system
Create GPG Key
"GPG stands for GNU Privacy Guard and it implements the OpenPGP standard which allows you to sign and encrypt messages and files. This is useful for a number of purposes. In our case it is important that you can sign files with your key so they can be identified as something that you worked on. If you upload a source package to Launchpad, it will only accept the package if it can absolutely determine who uploaded the package."
Command to create a gpg key in a terminal
gpg --gen-key
Press Enter to select (default):
Please select what kind of key you want: (1) RSA and RSA (default) (2) DSA and Elgamal (3) DSA (sign only) (4) RSA (sign only)
Press Enter to select (2048):
What keysize do you want? (2048)
Press Enter to select (0):
Please specify how long the key should be valid. 0 = key does not expire <n> = key expires in n days <n>w = key expires in n weeks <n>m = key expires in n months <n>y = key expires in n years Key is valid for? (0)
Answer y for Yes:
Is this correct? (y/N)
Type your real name here:
You need a user ID to identify your key; the software constructs the user ID from the Real Name, Comment and Email Address in this form: "Heinrich Heine (Der Dichter) <heinrichh@duesseldorf.de>" Real name: Kaj Ailomaa
Type your email adress:
Email address: zequence@mousike.me
Add a comment for you to keep track of this gpg key:
Comment: Debian/Ubuntu signing key
Answer O to accept:
You selected this USER-ID: "Kaj Ailomaa (Debian/Ubuntu package signing key) <zequence@mousike.me>" Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit?
Create a password which will be used each time you sign with this key:
Enter passphrase: <longandcomplexpassword>
The result will look something like this:
gpg: key F06EFAE2 marked as ultimately trusted public and secret key created and signed. gpg: checking the trustdb gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model gpg: depth: 0 valid: 2 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 2u pub 2048R/F06EFAE2 2012-11-12 Key fingerprint = 85A3 E041 0A36 8A7C 9EDA 06C9 1473 559D F06E FAE2 uid Kaj Ailomaa (Debian/Ubuntu signing key) <zequence@mousike.me> sub 2048R/140030E5 2012-11-12
Next, you need to upload the public part of your key to a keyserver so the world can identify messages and files as yours. To do so, enter: (KEY ID in my case is F06EFAE2 as seen above)
gpg --send-keys <KEY ID>
It may take up to one hour before the key is published and ready to be used
GPG Reference at developer.ubuntu.com
Create SSH Key
Setup Launchpad Account
Setup Developer System