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 F32A81384B4 for ; Tue, 22 Dec 2015 18:22:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D8AC721C122; Tue, 22 Dec 2015 18:22:10 +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 DCD5521C059 for ; Tue, 22 Dec 2015 18:22:09 +0000 (UTC) Received: from [IPv6:2a02:8109:a640:180c:5ee0:c5ff:fe8e:77db] (unknown [IPv6:2a02:8109:a640:180c:5ee0:c5ff:fe8e:77db]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: patrick) by smtp.gentoo.org (Postfix) with ESMTPSA id C1B5F340997 for ; Tue, 22 Dec 2015 18:22:08 +0000 (UTC) Subject: Re: [gentoo-dev] Re: repo/gentoo.git, or how committing is challenging To: gentoo-dev@lists.gentoo.org References: <566DACB3.2010105@gentoo.org> <20151213222001.0c1c466a3f3b8b0b53c69a9d@gentoo.org> <20151213190045.1e186781.dolsen@gentoo.org> <20151220212127.6e5cd419@caribou.gateway.pace.com> <56791ACB.3000903@gentoo.org> <567947B7.7090205@gentoo.org> <567950CB.4070307@gentoo.org> From: Patrick Lauer X-Enigmail-Draft-Status: N1110 Message-ID: <567994B0.7090100@gentoo.org> Date: Tue, 22 Dec 2015 19:21:36 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 79232e40-c6d1-4488-beef-347b35c453b8 X-Archives-Hash: 7fac3323f09975f34f3d58fb42527bef On 12/22/2015 03:04 PM, Rich Freeman wrote: > On Tue, Dec 22, 2015 at 8:31 AM, Patrick Lauer wrote: >>> Do you want to see this fixed? >>> Are you willing to do the fixing yourself? >> I don't have infinite time, and wasting a day documenting things that >> should have been documented a year ago is not a good way of spending time. > So, it sounds like the answer to the first question is yes, and the > second is no... I shouldn't have to clean up other people's mess. I mean, cleaning up after toddlers is ok, but, well ... sigh. Are any of you toddlers? :D > >>> If the answer to the first question is yes, and the second is no, then >>> you've just volunteered for the job of either community motivator, or >>> frustrated user. The goal then is to make people care more about >>> going out of their way to fix things than going out of their way to >>> find ways to make you even more frustrated. Which do you think is >>> going to be more emotionally satisfying to those who read this thread? >>> >> Things working. >> >> So, the trick is not to have user-visible breakage. >> >> Now you know the great trick too and can apply it to your daily life. >> > Yeah, but if I don't lift a finger to help fix this bug, I know it > will drive you crazy for a few more days, or even months. That's > basically my point. You're basically begging everybody who would > otherwise want to fix this issue to just troll you instead. And that > isn't helpful to anybody. > > You can't just wave your hands and have no user-visible breakage. You > either need to fix things yourself or help motivate others to do it. > The approach you're taking is about as helpful as telling your > significant other that they're fat. After they're finished stabbing > you to death with their spoon they're going to stick it in some Ben > and Jerry's. > > Ugh, gotta take a break. Happy holidays! > So here's the magic: Create a file "keyspec.txt" containing something like: """ %echo Generating a basic OpenPGP key Key-Type: RSA Key-Length: 4096 Key-Usage: sign Expire-Date: 1y Subkey-Type: RSA Subkey-Length: 4096 Subkey-Usage: sign Name-Real: Patrick Lauer Name-Email: changethis@email.xyz Passphrase: ThisIsBadPassphrayse %commit %echo done """ Not that Name-* and Passphrase should be personalized (or Passphrase removed!) Now make a backup of .gnupg because this will be destructive. Do not run this command as a normal user unless you are sure you want to overwrite the default keyring. So now that we are sure that you don't accidentally all your keys (do not run this for fun! This is a destructive command) """ gpg --batch --gen-key keyspec.txt """ Tadaah! (well, it'll take a few minutes, since gpg wants really sexy entropy and takes its time to get there) The part I haven't figured out yet is how to non-interactively set key validity, so you will need to run a second command: """ gpg --edit-key expire """ and set validity to, say, 3 years, confirm, save, done. (This mostly obsoletes the 500 lines of eyebleed that were gkeys-gen, and it actually works. Do you understand why I'm feeling very confused that something this trivial took over a year?!) Time from start of RTFM to email: 1h.