]> git.99rst.org Git - git.git/commit
gpg docs: explain better use of ssh.defaultKeyCommand
authorFabian Stelzer <redacted>
Wed, 8 Jun 2022 15:24:37 +0000 (17:24 +0200)
committerJunio C Hamano <redacted>
Wed, 8 Jun 2022 23:33:40 +0000 (16:33 -0700)
commitce18a30bb78720d90df42b9d9ee6b8b7dd33d7e6
treeff62097391dd860007845ec05624eb1decfc740e
parentdc8c8deaa6b5847733bd7df011a4c7b7d1a64e0a
gpg docs: explain better use of ssh.defaultKeyCommand

Using `ssh-add -L` for gpg.ssh.defaultKeyCommand is not a good
recommendation. It might switch keys depending on the order of known
keys and it only supports ssh-* and no ecdsa or other keys.
Clarify that we expect a literal key prefixed by `key::`, give valid
example use cases and refer to `user.signingKey` as the preferred
option.

Signed-off-by: Fabian Stelzer <redacted>
Signed-off-by: Junio C Hamano <redacted>
Documentation/config/gpg.txt
git clone https://git.99rst.org/PROJECT