Improve the --self-signer help texts and add to the template.

- Fixes 25e99e5afb1e2f382e138a4502c9e00641dd903b.
This commit is contained in:
Justus Winter 2024-12-03 20:05:40 +01:00
parent 84a57d45d1
commit 0d37335aad
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386
2 changed files with 5 additions and 2 deletions

View File

@ -764,9 +764,9 @@ This adds the certificates listed in the configuration file under \
",
SIGNER_SELF,
if let Some(certs) = config::get_augmentation(SIGNER_SELF) {
format!("The following certs will be added: {}.", certs)
format!("The following keys will be added: {}.", certs)
} else {
"Currently, the list of certificates to be added is empty."
"Currently, the list of keys to be added is empty."
.into()
}),
),

View File

@ -286,6 +286,9 @@ impl ConfigFile {
[encrypt]
#for-self = [\"fingerprint of your key\"]
[sign]
#signer-self = [\"fingerprint of your key\"]
[key.generate]
#cipher-suite = <DEFAULT-CIPHER-SUITE>