From: Grant Olson Date: Tue, 04 May 2010 02:23:31 GMT Subject: Re: PATCH: Less fragile lookup of gpg key Message-ID: <4BDF8523.1030202@grant-olson.net> In-Reply-To: <20100504021937.GY14986@thunk.org> On 5/3/2010 10:19 PM, tytso@mit.edu wrote: > On Mon, May 03, 2010 at 06:19:17PM -0400, Greg A. Woods wrote: >> Meanwhile the original problem here appears to me to be that Git >> effectively encourages use of multiple valid keys that may have the same >> e-mail address attached to multiple key-IDs. > > Yes, I think that *is* the problem. If you want to optimize for the > common case, that's fine, but it's also useful to have a way for users > to specify in their gitconfig files that a specific KeyID should be > used if they are signing with a particular e-mail ID. > That's already there: git config user.signingkey 0xDEADBEEF -Grant