summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christensen <echriste@redhat.com>2014-04-15 21:42:07 -0400
committerEric Christensen <echriste@redhat.com>2014-04-15 21:42:07 -0400
commitf369d8892b3af2727935c72b9b096d00fa311224 (patch)
treef0083ea53a2961e4d913095966a051a0c3147c42
parent170f999daea17e8b4cfe17b73df6c1d4fa23ce41 (diff)
downloadfedora-cookbook-f369d8892b3af2727935c72b9b096d00fa311224.tar.gz
fedora-cookbook-f369d8892b3af2727935c72b9b096d00fa311224.tar.xz
fedora-cookbook-f369d8892b3af2727935c72b9b096d00fa311224.zip
Started working on GPG stuff
-rw-r--r--en-US/Creating_GPG_Keys.xml92
-rw-r--r--en-US/GPG.xml25
2 files changed, 117 insertions, 0 deletions
diff --git a/en-US/Creating_GPG_Keys.xml b/en-US/Creating_GPG_Keys.xml
new file mode 100644
index 0000000..bef0507
--- /dev/null
+++ b/en-US/Creating_GPG_Keys.xml
@@ -0,0 +1,92 @@
+
+<?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
+ <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) 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) <heinrichh@duesseldorf.de>"
+
+Real name: Beefy
+Email address: beefy@fedoraproject.org
+Comment: FAKE
+You selected this USER-ID:
+ "Beefy (FAKE) <beefy@fedoraproject.org>"
+
+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) <beefy@fedoraproject.org>
+sub 3072R/C68ACE5D 2014-04-16 [expires: 2015-04-16]
+</screen>
+ </para>
+</section>
+
+
diff --git a/en-US/GPG.xml b/en-US/GPG.xml
new file mode 100644
index 0000000..7670e32
--- /dev/null
+++ b/en-US/GPG.xml
@@ -0,0 +1,25 @@
+
+<?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="GnuPG">
+ <title>GnuPG</title>
+ <para>
+ <firstterm>GNU Privacy Guard</firstterm> or <firstterm>GnuPG</firstterm> or just plain <firstterm>GPG</firstterm> is an open source iteration of <firstterm>Pretty Good Privacy</firstterm> (PGP) and provides authentication and encryption for email and files based on asymmetric cryptography. Using GPG allows an individual or organization to help protect their coorespondances as they cross the Internet or other medium.
+ </para>
+ <xi:include href="Creating_GPG_Keys.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
+
+</section>
+
+