Skip to content

Respect Git configuration related to signing when creating commits #3586

@Byron

Description

@Byron

Currently, GPG based signature configuration is not respected by default, even though users would expect commits to be created just like Git would.

For instance, creating a commit in a virtual branch and pushing that will cause the commit to be unsigned, even if the user configured commit signatures, i.e.:

[user]
  name = User
  email = [email protected]
  signingkey = 4D90A8D52B4321F7
[commit]
  gpgsign = true

Right now there is an option (default off) to sign with a locally generated key…

Screenshot 2024-04-23 at 11 56 04

…but using that wouldn't imply that it is trusted by other parties.

Sources of Confusion

  • The "Use Git executable" authentication method actually affects how to fetch and push, with auth* being implied. Users may think that this rather means to use Git for all (or most) operations so that their settings would be respected no matter what.
Screenshot 2024-04-23 at 13 13 26

Related Issues

Metadata

Metadata

Assignees

Labels

UXsomething related to the user's experienceenhancementAn improvement to an existing feature

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions