Skip to content

Commit

Permalink
sign: add signature verification docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pylbrecht committed Dec 24, 2024
1 parent 3df2603 commit f4d1de5
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,30 @@ as follows:
backends.ssh.allowed-signers = "/path/to/allowed-signers"
```

## Commit Signature Verification

`jj` attempts to verify any signatures found on commits when
displaying them with `jj log` or `jj show`.

By default signature verification and display is **disabled** as it incurs a
performance cost when rendering medium to large change logs.

If you want to verify and display commit signatures, you can use the
provided template:
```sh
jj log -Tbuiltin_log_detailed_with_sig
```

If you always want to display commit signatures, you can set the
[default template](#default-template):
```toml
[templates]
log = "builtin_log_detailed_with_sig"
```

See [CommitSignature Type](./templates.md#commitsignature-type) for available template methods.


## Git settings

### Default remotes for `jj git fetch` and `jj git push`
Expand Down

0 comments on commit f4d1de5

Please sign in to comment.