mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-06-21 11:48:27 -07:00
Updated rngit docs
This commit is contained in:
@@ -1413,13 +1413,13 @@ Enabling Reticulum commit signing for all repositories is as simple as:
|
||||
|
||||
$ git config --global gpg.format ssh
|
||||
$ git config --global gpg.ssh.program rngcs
|
||||
$ git config --global gpg.ssh.allowedsignersfile
|
||||
$ git config --global gpg.ssh.allowedsignersfile none
|
||||
$ git config --global user.signingKey ~/.rngit/client_identity
|
||||
|
||||
With this configuration, all commits you sign with ``git commit -S`` will use your Reticulum identity.
|
||||
|
||||
.. note::
|
||||
The ``gpg.ssh.allowedsignersfile`` configuration key **must** be *set* for ``git`` to allow invoking the signing and verification shim. It is not actually used by ``rngcs``, and can be set to an empty or arbitrary value. All validation operations happen exclusively based on the information in the embedded RSG data.
|
||||
The ``gpg.ssh.allowedsignersfile`` configuration key **must** be *set* for ``git`` to allow invoking the signing and verification shim. It is not actually used by ``rngcs``, and can be set to an arbitrary value. All validation operations happen exclusively based on the information in the embedded RSG data.
|
||||
|
||||
**Per-Repository Configuration**
|
||||
|
||||
@@ -1430,7 +1430,7 @@ To enable signing only for a specific repository:
|
||||
$ cd /path/to/repository
|
||||
$ git config --local gpg.format ssh
|
||||
$ git config --local gpg.ssh.program rngcs
|
||||
$ git config --local gpg.ssh.allowedsignersfile
|
||||
$ git config --local gpg.ssh.allowedsignersfile none
|
||||
$ git config --local user.signingKey ~/.rngit/client_identity
|
||||
|
||||
This is useful when you want to use different identities for different projects, or when only specific repositories require signed commits.
|
||||
|
||||
Reference in New Issue
Block a user