docs: mention the signing key can be a file path too

This commit is contained in:
Alexis (Poliorcetics) Bourget 2024-03-13 17:39:15 +01:00 committed by Poliorcetics
parent 0120cf994b
commit f9f740b263

View file

@ -536,6 +536,8 @@ To do this you need to configure a signing backend.
sign-all = true
backend = "gpg"
key = "4ED556E9729E000F"
## You can set `key` to anything accepted by `gpg -u`
# key = "signing@example.com"
```
By default the gpg backend will look for a `gpg` binary on your path. If you want
@ -559,6 +561,8 @@ signing.backends.gpg.allow-expired-keys = false
sign-all = true
backend = "ssh"
key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGj+J6N6SO+4P8dOZqfR1oiay2yxhhHnagH52avUqw5h"
## You can also use a path instead of embedding the key
# key = "/home/me/.ssh/id_for_signing.pub"
```
By default the ssh backend will look for a `ssh-keygen` binary on your path. If you want