From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4433C138A1A for ; Tue, 6 Jan 2015 21:45:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8989AE0854; Tue, 6 Jan 2015 21:45:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BE49BE0851 for ; Tue, 6 Jan 2015 21:45:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE57D340725 for ; Tue, 6 Jan 2015 21:45:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE3F7F04A for ; Tue, 6 Jan 2015 21:45:36 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1420579180.284073e411a75c75efb0426ea444fc8783462bb5.dolsen@gentoo> Subject: [gentoo-commits] proj/gentoo-keys:master commit in: gkeys-gen/gkeygen/ X-VCS-Repository: proj/gentoo-keys X-VCS-Files: gkeys-gen/gkeygen/actions.py X-VCS-Directories: gkeys-gen/gkeygen/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: 284073e411a75c75efb0426ea444fc8783462bb5 X-VCS-Branch: master Date: Tue, 6 Jan 2015 21:45:36 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 63fc3586-6d44-4aee-bfc3-b4a7f0b11932 X-Archives-Hash: 25ba5e038281c75b7900f1ecc0d095f6 commit: 284073e411a75c75efb0426ea444fc8783462bb5 Author: Brian Dolbec gentoo org> AuthorDate: Tue Jan 6 21:15:32 2015 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Tue Jan 6 21:19:40 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/gentoo-keys.git;a=commit;h=284073e4 gkeysgen/actions.py: Add gen-key example --- gkeys-gen/gkeygen/actions.py | 50 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) 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',