mirror of
https://github.com/git/git
synced 2024-10-30 03:13:24 +00:00
Merge branch 'fs/ssh-default-key-command-doc'
Doc update. * fs/ssh-default-key-command-doc: gpg docs: explain better use of ssh.defaultKeyCommand
This commit is contained in:
commit
686790f6c1
1 changed files with 6 additions and 3 deletions
|
@ -36,9 +36,12 @@ gpg.minTrustLevel::
|
|||
|
||||
gpg.ssh.defaultKeyCommand::
|
||||
This command that will be run when user.signingkey is not set and a ssh
|
||||
signature is requested. On successful exit a valid ssh public key is
|
||||
expected in the first line of its output. To automatically use the first
|
||||
available key from your ssh-agent set this to "ssh-add -L".
|
||||
signature is requested. On successful exit a valid ssh public key
|
||||
prefixed with `key::` is expected in the first line of its output.
|
||||
This allows for a script doing a dynamic lookup of the correct public
|
||||
key when it is impractical to statically configure `user.signingKey`.
|
||||
For example when keys or SSH Certificates are rotated frequently or
|
||||
selection of the right key depends on external factors unknown to git.
|
||||
|
||||
gpg.ssh.allowedSignersFile::
|
||||
A file containing ssh public keys which you are willing to trust.
|
||||
|
|
Loading…
Reference in a new issue