Skip to content

RFC cryptoSign flag & config

Fabian Stelzer git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2crypto sign: add crypto-sign alias flagDocumentation/git-commit.txt builtin/commit.c+14 -62 replies
2/2crypto sign: add cryptoSign.* configDocumentation/config/gpg.txt gpg-interface.c+42 -192 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/2] cryptoSign flag & config

Since git now supports multiple methods for signing objects some of the existing flags and configuration variables can be misleading. Especially the flags could be understood as selecting a format (--gpg-sign), which they do not.

This series introduces the more generic name "cryptoSign". Using just "sign" could otherwise be too easily confused with "sign-off".

For now I have only adjusted the gpg-sign flag to a single command and added the new configuration prefix and would like to hear some feedback. If we can agree on the naming and implementation I will of course adjust all the other commands likewise and add some tests for the compatibility layer. The (commit|tag|push).gpgsign var is still on my todo list as well.

My earlier question to the list (<[email protected]>) did not receive much feedback so i'm sending this rfc patch.

Fabian Stelzer (2):
crypto sign: add crypto-sign alias flag
crypto sign: add cryptoSign.* config

 Documentation/config/gpg.txt | 31 ++++++++++++++++++++-----------
 Documentation/git-commit.txt | 15 ++++++++++-----
 builtin/commit.c             |  5 ++++-
 gpg-interface.c              | 30 ++++++++++++++++++++++--------
 4 files changed, 56 insertions(+), 25 deletions(-)
Signature · 1 line
2.33.1