File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -1027,6 +1027,20 @@ as follows:
1027
1027
backends.ssh.allowed-signers = " /path/to/allowed-signers"
1028
1028
```
1029
1029
1030
+ ## Commit Signature Verification
1031
+
1032
+ By default signature verification and display is ** disabled** as it incurs a
1033
+ performance cost when rendering medium to large change logs.
1034
+
1035
+ If you want to verify and display commit signatures, you can use the
1036
+ provided template functions.
1037
+
1038
+ FIXME(pylbrecht): add example for using CryptographicSignature type
1039
+
1040
+ See [ CryptographicSignature Type] ( ./templates.md#cryptographicsignature-type )
1041
+ for available template methods.
1042
+
1043
+
1030
1044
## Git settings
1031
1045
1032
1046
### Default remotes for ` jj git fetch ` and ` jj git push `
Original file line number Diff line number Diff line change @@ -93,6 +93,7 @@ This type cannot be printed. The following methods are defined.
93
93
* ` parents() -> List<Commit> `
94
94
* ` author() -> Signature `
95
95
* ` committer() -> Signature `
96
+ * ` signature() -> Option<CryptographicSignature> `
96
97
* ` mine() -> Boolean ` : Commits where the author's email matches the email of the current
97
98
user.
98
99
* ` working_copies() -> String ` : For multi-workspace repository, indicate
@@ -129,6 +130,16 @@ The following methods are defined.
129
130
* ` .short([len: Integer]) -> String `
130
131
* ` .shortest([min_len: Integer]) -> ShortestIdPrefix ` : Shortest unique prefix.
131
132
133
+ ### CryptographicSignature type
134
+
135
+ The following methods are defined.
136
+
137
+ FIXME(pylbrecht): add descriptions to methods
138
+
139
+ * ` .verify() -> String `
140
+ * ` .key() -> String `
141
+ * ` .display() -> String `
142
+
132
143
### Email type
133
144
134
145
The following methods are defined.
You can’t perform that action at this time.
0 commit comments