git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git uses wrong subkey for signing commits with GPG key
@ 2018-01-13  0:09 Andrzej Ośmiałowski
  2018-01-13  0:22 ` Todd Zullinger
  0 siblings, 1 reply; 5+ messages in thread
From: Andrzej Ośmiałowski @ 2018-01-13  0:09 UTC (permalink / raw)
  To: git

I have an issue with git and signing commits with GPG subkey.

My setup:
- master key used for certification only
- subkey for my main workstation
- subkey for my mobile workstation (a notebook).

Both subkeys are used for signing only.

I've configured git to use my specific subkey however it does not
work: git config --global user.signingkey = KEYID. Every commit is
being signed using the newest subkey. I've verified the same behavior
on three systems (although with the same setup). I've tried to use
--gpg-sign=KEYID flag, but it does not work either.

Environment:
OS: Archlinux
Shell: ZSH
GPG: 2.2.4
Git: 2.15.1.

Is there any other info I shall provide?

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

end of thread, other threads:[~2018-01-16 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-13  0:09 Git uses wrong subkey for signing commits with GPG key Andrzej Ośmiałowski
2018-01-13  0:22 ` Todd Zullinger
2018-01-13 12:40   ` Andrzej Ośmiałowski
2018-01-13 17:25     ` Todd Zullinger
2018-01-16 18:23       ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).