diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2015-01-06 13:15:32 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2015-01-06 13:19:40 -0800 |
commit | 284073e411a75c75efb0426ea444fc8783462bb5 (patch) | |
tree | de69ff4ef4aa09d984c9ccb1f9cf022952664811 /gkeys-gen | |
parent | gkeygen/actions.py: Add list-specs action, example (diff) | |
download | gentoo-keys-284073e411a75c75efb0426ea444fc8783462bb5.tar.gz gentoo-keys-284073e411a75c75efb0426ea444fc8783462bb5.tar.bz2 gentoo-keys-284073e411a75c75efb0426ea444fc8783462bb5.zip |
gkeysgen/actions.py: Add gen-key example
Diffstat (limited to 'gkeys-gen')
-rw-r--r-- | gkeys-gen/gkeygen/actions.py | 50 |
1 files changed, 49 insertions, 1 deletions
diff --git a/gkeys-gen/gkeygen/actions.py b/gkeys-gen/gkeygen/actions.py index 740d954..8f8c81a 100644 --- a/gkeys-gen/gkeygen/actions.py +++ b/gkeys-gen/gkeygen/actions.py @@ -35,7 +35,55 @@ Action_Map = OrderedDict({ 'options': ['spec', 'dest'], 'desc': '''Generate a gpg key using a spec file''', 'long_desc': '''Generate a gpg key using a spec file''', - 'example': '''''', + 'example': '''$ gkey-gen gen-key + + GPG key creator + Spec file..: glep-63-recommended + Homepage...: https://wiki.gentoo.org/wiki/GLEP:63 + +Give your Full Name: Foo Barr +Give your Email: foo@barr.net + +Review: + Full Name: Foo Barr + Email: foo@barr.net + +Continue?[y/n]: y + +* Creating gpg folder at /home/brian/gkeys-user/gpghome + + * Creating gpg.conf file at /home/brian/gkeys-user/gpghome + + + ____________________ + < Generating GPG key > + -------------------- + \ ^__^ + \ (oo)\_______ + (__)\ )\/ + ||----w | + || || + + * Give the password for the key. (Pick a strong one) + Please surf the internet, type on your keyboard, etc. + This helps the random number generator work effectively + + Your new GLEP 63 based OpenPGP key has been created in /home/brian/gkeys-user/gpghome + + + GPG key info: + Full Name: Foo Barr, + Email: foo@barr.net, + Fingerprint: CF8F369903999538F79287497AD8F5FEF19A7A69 + + + In order to use your new key, place the new gpghome to your ~/.gnupg folder by running the following command: + mv /home/brian/gkeys-user/gpghome ~/.gnupg + Important: If you have another old key in ~/.gnupg please make sure you backup it up first. + + Please read the FAQ for post-generation steps that are available in: + https://wiki.gentoo.org/wiki/Project:Gentoo-keys/Generating_GLEP_63_based_OpenPGP_keys +''', }, 'list-specs': { 'func': 'list_specs', |