{"thread":{"id":"61040","subject":"Modernise .gitconfig Signing Block Name","startedAt":"2024-03-02T20:01:54Z","lastAt":"2024-03-02T21:08:24Z","messageCount":2,"participants":["admin@inferencium.net","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"489795","messageId":"KfyeAjLLXySd6IEKwEmOvrDqtBIhoCRPon7r8IuUIwPbUhlf8XR0CCmqP3Y5D-8hur57_SFQPqwk0xOA7p0h6xqw48ZMdNbzTBPN2hh9Ph4=@inferencium.net","threadId":"61040","inReplyTo":null,"subject":"Modernise .gitconfig Signing Block Name","fromName":"","fromEmail":"admin@inferencium.net","sentAt":"2024-03-02T20:01:26Z","receivedAt":"2024-03-02T20:01:54Z","isPatch":false,"sender":{"key":"admin@inferencium.net","avatar":null},"body":"As SSH has been supported as a signing method for a while now in Git, the block name `gpg` within `.gitconfig` no longer makes sense as it's not the only method of signing commits and tags. I propose renaming `[gpg]` to something such as `[sig]` or `[sign]`. The current method of achieving this is `format = ssh` within the `[gpg]` block, which would be the same (hypothetically) as redefining SHA-1 to be SHA-256 via `format = sha256` within a `[sha1]` block; it really doesn't make sense in 2024 for it to be this way.\n\nThe outcome of this would be using `format = gpg` or `format = ssh` within a `[sig]` or `[sign]` block (or whatever anyone comes up with which could be better).\n\nFor backwards compatibility, `[gpg]` can also be allowed as an alias for the new name. The default could also be `format = gpg`, as it's still the most widely-used signing method.\n"},{"id":"489798","messageId":"xmqqsf18wddm.fsf@gitster.g","threadId":"61040","inReplyTo":"KfyeAjLLXySd6IEKwEmOvrDqtBIhoCRPon7r8IuUIwPbUhlf8XR0CCmqP3Y5D-8hur57_SFQPqwk0xOA7p0h6xqw48ZMdNbzTBPN2hh9Ph4=@inferencium.net","subject":"Re: Modernise .gitconfig Signing Block Name","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2024-03-02T21:08:21Z","receivedAt":"2024-03-02T21:08:24Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"admin@inferencium.net writes:\n\n> For backwards compatibility, `[gpg]` can also be allowed as an\n> alias for the new name. The default could also be `format = gpg`,\n> as it's still the most widely-used signing method.\n\nSounds good.  Patches welcome.\n\nThanks.\n"}]}