summaryrefslogtreecommitdiffstats
path: root/en-US/Creating_GPG_Keys.xml
blob: 1a8eb9bd42dd9245b7bf35676bd2bd260cec6a9d (plain)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version='1.0' encoding='utf-8' ?>
 <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 
  "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % BOOK_ENTITIES SYSTEM "Fedora_Cookbook.ent">
    %BOOK_ENTITIES;
]>
<!-- Do not edit above this line -->
<!-- 
     Please provide some information so we can give you credit:
     name: Eric "Sparks" Christensen
     fas_id: Sparks
     email: sparks@fedoraproject.org
-->

<section id="Creating_GPG_Keys">
  <title>Creating GPG keys.</title>
  <para>
   Creating GPG keys is easy.  <code>gpg --gen-key</code>

<screen>
$ gpg --gen-key 
gpg (GnuPG) 1.4.16; Copyright (C) 2013 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

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)
Your selection? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (2048) 3072
Requested keysize is 3072 bits
Please specify how long the key should be valid.
         0 = key does not expire
      &lt;n&gt;  = key expires in n days
      &lt;n&gt;w = key expires in n weeks
      &lt;n&gt;m = key expires in n months
      &lt;n&gt;y = key expires in n years
Key is valid for? (0) 1y
Key expires at Wed 15 Apr 2015 09:40:08 PM EDT
Is this correct? (y/N) y

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) &lt;heinrichh@duesseldorf.de&gt;"

Real name: Beefy
Email address: beefy@fedoraproject.org
Comment: FAKE
You selected this USER-ID:
    "Beefy (FAKE) &lt;beefy@fedoraproject.org&gt;"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
You need a Passphrase to protect your secret key.

You don't want a passphrase - this is probably a *bad* idea!
I will do it anyway.  You can change your passphrase at any time,
using this program with the option "--edit-key".

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, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
..+++++
...+++++
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, utilize the
disks) during the prime generation; this gives the random number
generator a better chance to gain enough entropy.
......+++++
.........................+++++
gpg: key 20EE698C 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:  48  trust: 0-, 0q, 0n, 0m, 0f, 2u
gpg: depth: 1  valid:  48  signed:  50  trust: 47-, 0q, 0n, 0m, 1f, 0u
gpg: depth: 2  valid:   8  signed:  16  trust: 8-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2014-09-09
pub   3072R/20EE698C 2014-04-16 [expires: 2015-04-16]
      Key fingerprint = E6FE 3BF4 F307 00BD 6517  050F C159 309E 20EE 698C
uid                  Beefy (FAKE) &lt;beefy@fedoraproject.org&gt;
sub   3072R/C68ACE5D 2014-04-16 [expires: 2015-04-16]
</screen>
  </para>
</section>