mirror of
https://github.com/martinvonz/jj.git
synced 2025-02-06 11:34:54 +00:00
sign: Update config-schema.json
This commit is contained in:
parent
431a4effa0
commit
1516c90aa9
1 changed files with 36 additions and 4 deletions
|
@ -366,11 +366,12 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"backend": {
|
"backend": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "Which backend to use to create commit signatures"
|
"enum": ["gpg", "ssh"],
|
||||||
|
"description": "The backend to use for signing commits"
|
||||||
},
|
},
|
||||||
"key": {
|
"key": {
|
||||||
"type": "string",
|
"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": {
|
"sign-all": {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
|
@ -380,7 +381,38 @@
|
||||||
"backends": {
|
"backends": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "Tables of options to pass to specific signing backends",
|
"description": "Tables of options to pass to specific signing backends",
|
||||||
"properties": {},
|
"properties": {
|
||||||
|
"gpg": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"program": {
|
||||||
|
"type": "string",
|
||||||
|
"description": "Path to the gpg program to be called",
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"allowed-signers": {
|
||||||
|
"type": "boolean",
|
||||||
|
"description": "Path to an allowed signers file used for signature verification",
|
||||||
|
"default": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"additionalProperties": true
|
"additionalProperties": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue