git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git SSH/GPG signing flags and config
@ 2021-11-28 12:57 Fabian Stelzer
  2021-11-28 23:20 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Fabian Stelzer @ 2021-11-28 12:57 UTC (permalink / raw)
  To: git

Hi everyone,
the `signing git objects with ssh` series was released with 2.34 and i'd 
like to thank everyone for your support and the good reviews!
I think it would be beneficial now to adjust some of the wording in flags 
and the config. Currently everything is configured via gpg.* and all the 
`please sign this` flags are named --(no-?)gpg-sign.
I would be in favor of a more generic flag independent of the signing 
mechanism. Adding something like `--ssh-sign` would suggest that you'd be 
able to switch signing format with it which i think would not be terribly 
useful. If you need to use multiple signing mechanism those would usually be 
configured per repository and can easily be done with an `includeif gitdir:` 
in your config.
Therefore i would suggest just adding a generic `--(no-?)sign` to all the 
commands that support gpg-sign right now. The only problem i see is a 
conflict with `--signoff` so i'm open to other naming ideas. The same goes 
for the config. `sign.` as an alias to `gpg.` would work well with the 
current settings.
Let me know what you think and i could prepare a first patch for one command 
to see what the alias / config / docs change could look like.

Best regards,
Fabian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-05 11:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-28 12:57 Git SSH/GPG signing flags and config Fabian Stelzer
2021-11-28 23:20 ` Junio C Hamano
2021-12-05 11:36   ` Fabian Stelzer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).