SetupDeveloperEnvironment

Differences between revisions 2 and 3
Revision 2 as of 2012-11-12 10:13:55
Size: 359
Editor: 80
Comment:
Revision 3 as of 2012-11-12 14:12:39
Size: 1566
Editor: 80
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
== Create GPG Key == == Keys ==
Line 7: Line 7:
[[http://developer.ubuntu.com/packaging/html/getting-set-up.html#create-your-gpg-key|GPG Reference at developer.ubuntu.com]] === Create a GPG Key ===
Line 9: Line 9:
== Create SSH Key == ''For a more thorough explanation on GPG, see [[https://help.ubuntu.com/community/GnuPrivacyGuardHowto|GPG How To]]''

The GPG key is primarily used for signing Debian packages (.deb). To create a GPG key, use this command in a terminal:

{{{
$ gpg --gen-key
}}}

Follow the instructions carefully. Choosing the default options is fine. Make sure to type in your real name and the email you want to have associated with your key. Choose a secure passphrase. If you loose the passphrase, there is no way to retrieve it.

Once you are done, you will need to publish your key to a server in order for it to be usable. First, you need to find out what your public ID is. To see all the GPG keys in your system, do:

{{{
$ gpg --list-keys
}}}

In this example, the public ID is '''F06EFAE2'''

{{{
pub 2048R/F06EFAE2 2012-11-12
uid Kaj Ailomaa (Debian/Ubuntu signing key) <zequence@mousike.me>
sub 2048R/140030E5 2012-11-12
}}}

Now, publish your GPG key using your public ID:

{{{
$ gpg --send-keys <KEY ID>
}}}

It may take up to an hour before your key is published and ready to be used. There are alternative key servers to publish to, which may be quicker. For more info on that, please see [[https://help.ubuntu.com/community/GnuPrivacyGuardHowto|GPG How To]]

=== Create SSH Key ===
  • Set up launchpad account
  • Set up developer system
  • Set up testing system

Keys

Create a GPG Key

For a more thorough explanation on GPG, see GPG How To

The GPG key is primarily used for signing Debian packages (.deb). To create a GPG key, use this command in a terminal:

$ gpg --gen-key

Follow the instructions carefully. Choosing the default options is fine. Make sure to type in your real name and the email you want to have associated with your key. Choose a secure passphrase. If you loose the passphrase, there is no way to retrieve it.

Once you are done, you will need to publish your key to a server in order for it to be usable. First, you need to find out what your public ID is. To see all the GPG keys in your system, do:

$ gpg --list-keys

In this example, the public ID is F06EFAE2

pub   2048R/F06EFAE2 2012-11-12
uid                  Kaj Ailomaa (Debian/Ubuntu signing key) <zequence@mousike.me>
sub   2048R/140030E5 2012-11-12

Now, publish your GPG key using your public ID:

$ gpg --send-keys <KEY ID>

It may take up to an hour before your key is published and ready to be used. There are alternative key servers to publish to, which may be quicker. For more info on that, please see GPG How To

Create SSH Key

Setup Launchpad Account

Setup Developer System

Setup Testing Environment

UbuntuStudio/SetupDeveloperEnvironment (last edited 2015-11-09 12:16:45 by h-141-65)