File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,12 @@ gpg.minTrustLevel::
36
36
37
37
gpg.ssh.defaultKeyCommand::
38
38
This command that will be run when user.signingkey is not set and a ssh
39
- signature is requested. On successful exit a valid ssh public key is
40
- expected in the first line of its output. To automatically use the first
41
- available key from your ssh-agent set this to "ssh-add -L".
39
+ signature is requested. On successful exit a valid ssh public key
40
+ prefixed with `key::` is expected in the first line of its output.
41
+ This allows for a script doing a dynamic lookup of the correct public
42
+ key when it is impractical to statically configure `user.signingKey`.
43
+ For example when keys or SSH Certificates are rotated frequently or
44
+ selection of the right key depends on external factors unknown to git.
42
45
43
46
gpg.ssh.allowedSignersFile::
44
47
A file containing ssh public keys which you are willing to trust.
You can’t perform that action at this time.
0 commit comments