Skip to content

Commit

Permalink
Update config-schema.json
Browse files Browse the repository at this point in the history
  • Loading branch information
julienvincent committed Feb 17, 2024
1 parent a43d58f commit 52dc451
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions cli/src/config-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -366,17 +366,23 @@
"properties": {
"backend": {
"type": "string",
"description": "Which backend to use to create commit signatures"
"enum": ["gpg", "ssh"],
"description": "The backend to use for signing commits"
},
"key": {
"type": "string",
"description": "The key parameter to pass to the signing backend. Overridden by `jj sign` parameter or by the global `--sign-with` option"
"description": "The key the configured signing backend will use to to sign commits. Overridden by `jj sign` parameter or by the global `--sign-with` option"
},
"sign-all": {
"type": "boolean",
"description": "Whether to sign all commits by default. Overridden by global `--no-sign` option",
"default": false
},
"show-signatures": {
"type": "boolean",
"description": "Whether or not to always verify and display commit signatures",
"default": false
},
"backends": {
"type": "object",
"description": "Tables of options to pass to specific signing backends",
Expand All @@ -387,12 +393,27 @@
"program": {
"type": "string",
"description": "Path to the gpg program to be called",
"default": "gpg2"
"default": "gpg"
},
"allow-expired-keys": {
"type": "boolean",
"description": "Whether to consider signatures generated with an expired key as invalid",
"default": true
}
}
},
"ssh": {
"type": "object",
"properties": {
"program": {
"type": "string",
"description": "Path to the ssh-keygen program to be called",
"default": "ssh-keygen"
},
"consider-expired-keys-bad": {
"allowed-signers": {
"type": "boolean",
"description": "Whether to consider signatures made with an expired key as bad",
"default": false
"description": "Path to an allowed signers file used for signature verification",
"default": true
}
}
}
Expand Down

0 comments on commit 52dc451

Please sign in to comment.