~launchpad-pqm/launchpad/devel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<html>
  <head>
    <title>Importing an OpenPGP key</title>
    <link rel="stylesheet" type="text/css"
          href="/+icing/yui/cssreset/reset.css" />
    <link rel="stylesheet" type="text/css"
          href="/+icing/yui/cssfonts/fonts.css" />
    <link rel="stylesheet" type="text/css"
          href="/+icing/yui/cssbase/base.css" />
  </head>
  <body>
    <h1>Importing an OpenPGP key</h1>

    <p>To import your OpenPGP key into Launchpad, you first need the key's fingerprint.</p>

    <p><strong>Note:</strong> You must ensure your <a href="/+help-registry/openpgp-keys.html#publish">key is in the Ubuntu keyserver</a> before you try to add it to Launchpad.</p>

    <h2>Retrieving the key in Ubuntu</h2>

    <p>
      The easiest way to generate a new OpenPGP key in Ubuntu is to use the
      <em>Passwords and Encryption Keys</em> tool. If you are using Ubuntu
      10.04 or an earlier version, it is located at
      <em>Applications &gt; Accessories &gt; Passwords and Encryption Keys</em>.
      In Ubuntu 10.10 and later versions, it is located at
      <em>System &gt; Preferences &gt; Passwords and Encryption Keys</em>.
    </p>

    <p>
      <strong>Step 1</strong> Open <em>Passwords and Encryption Keys</em>.
    </p>

    <p>
      <strong>Step 2</strong> Select the <em>My Personal Keys</em> tab, select
      your key and open the property window by pressing Space Bar or double
      clicking with your pointer. Select the Details tab of the property
      window.
    </p>

    <p>
      <strong>Step 3</strong> Select the Fingerprint text (the ten blocks of
      numbers and letter). Copy the text by pressing the
      <code>Ctrl+c</code> keys together.
    </p>

    <h2>Retrieving the key using the GPG command</h2>

    <p>Open a terminal and enter:</p>

    <p><code>gpg --fingerprint</code></p>

    <p>GPG will display a message similar to:</p>

    <p><code>pub   1024D/12345678 2007-01-26<br />
             Key fingerprint = 0464 39CD 2486 190A 2C5A  0739 0E68 04DC 16E7 CB72<br />
             Geoffrey Hayes (My OpenPGP key) &lt;geoffrey@bungle.com&gt;<br />
             sub   2048g/ABCDEF12 2007-01-26</code>
    </p>

    <p>
      Highlight and copy only the numeric fingerprint: <code>0464 39CD 2486 190A 2C5A  0739 0E68 04DC 16E7 CB72</code> in the example above.
    </p>
  </body>
</html>