mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-29 07:43:34 +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": {
|
||||
"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",
|
||||
|
@ -380,10 +381,41 @@
|
|||
"backends": {
|
||||
"type": "object",
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue