{"thread":{"id":"22053","subject":"signing tags: user.name assumed to be gpg uid?","startedAt":"2009-12-29T20:36:37Z","lastAt":"2009-12-30T10:47:21Z","messageCount":3,"participants":["Peter Vereshagin","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"130476","messageId":"20091229203637.GA3036@screwed.box","threadId":"22053","inReplyTo":null,"subject":"signing tags: user.name assumed to be gpg uid?","fromName":"Peter Vereshagin","fromEmail":"peter@vereshagin.org","sentAt":"2009-12-29T20:36:37Z","receivedAt":"2009-12-29T20:36:37Z","isPatch":false,"sender":{"key":"peter@vereshagin.org","avatar":"https://gravatar.com/avatar/27a92b8c80743df8621433ca040657c4ac37a78497228d04f703e70731c5f30b?d=mp&s=160"},"body":"Como esta, git?\n\nI notice that after I init and config user.name and user.email the user.comment gets taken from ~/.gpg automatically. Is it a correct behaviour?\nAnd, when I try\ngit tag v0.1 -s\nI get :\n===\ngpg: skipped \"Peter Vereshagin <peter@vereshagin.org>\": secret key not available\n===\nand this is because I need to config user.name with the gpg comment: when I \n===\ngit config --global user.name \"Peter Vereshagin (http://vereshagin.org)\"\n===\nthe git tag signs well. But is it a correct behaviour to need the comment as a user's name? On key editing the gpg makes difference between (N)ame and (C)omment by far.\n\n73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)\n-- \nhttp://vereshagin.org\n"},{"id":"130481","messageId":"7vaax1bi3e.fsf@alter.siamese.dyndns.org","threadId":"22053","inReplyTo":"20091229203637.GA3036@screwed.box","subject":"Re: signing tags: user.name assumed to be gpg uid?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-12-29T21:12:05Z","receivedAt":"2009-12-29T21:12:05Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Peter Vereshagin <peter@vereshagin.org> writes:\n\n> I notice that after I init and config user.name and user.email the\n> user.comment gets taken from ~/.gpg automatically.\n\nWhat is \"user.comment\"?\n\n> Is it a correct behaviour?\n\nYes, matching with user.name/user.email (actually committer information)\nis often the most convenient thing to do.\n\nYou can use user.signingkey configuration to use a key that doesn't match\nyour name, too.\n"},{"id":"130534","messageId":"20091230104720.GA3229@screwed.box","threadId":"22053","inReplyTo":"7vaax1bi3e.fsf@alter.siamese.dyndns.org","subject":"Re: signing tags: user.name assumed to be gpg uid?","fromName":"Peter Vereshagin","fromEmail":"peter@vereshagin.org","sentAt":"2009-12-30T10:47:21Z","receivedAt":"2009-12-30T10:47:21Z","isPatch":false,"sender":{"key":"peter@vereshagin.org","avatar":"https://gravatar.com/avatar/27a92b8c80743df8621433ca040657c4ac37a78497228d04f703e70731c5f30b?d=mp&s=160"},"body":"Oh Junio want you buy me a mersedes benz?\n2009/12/29 13:12:05 -0800 Junio C Hamano <gitster@pobox.com> => To Peter Vereshagin :\n\nJCH> > I notice that after I init and config user.name and user.email the\nJCH> > user.comment gets taken from ~/.gpg automatically.\nJCH> What is \"user.comment\"?\n\nMy probable suggestion about where the gpg key's comment field should be written for config --global. Sorry, it's not from ~/.gnupg\n\nJCH> > Is it a correct behaviour?\nJCH> Yes, matching with user.name/user.email (actually committer information)\nJCH> is often the most convenient thing to do.\n\nIs it necessary the pgp comment field to be present on the user.name? It isn't for From: in e-mail messages.\n\nJCH> You can use user.signingkey configuration to use a key that doesn't match\nJCH> your name, too.\n\nThanks!\n\n73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB  12F8 0CE1 4AAC A0E2 6627)\n-- \nhttp://vereshagin.org\n"}]}