From c2e5dfac769fb1825b600ae222ef91f3144f34b1 Mon Sep 17 00:00:00 2001 From: RisingOpsNinja <175097282+RisingOpsNinja@users.noreply.github.com.> Date: Wed, 4 Sep 2024 11:37:31 +0200 Subject: [PATCH] Update README and example configuration --- README.md | 1 + example.config.toml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ebb143e..cc2ece4 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,7 @@ mail_settings.smtp_port | Any positive number | The port of the SMTP server mail_settings.smtp_tls | `Tls` or `Starttls` | The encryption method to use mail_settings.mail_from | String | The email address to be used mail_settings.mail_subject | String | The confirmation email's subject +policy.key_max_validity | Any positive number | The maximum allowed validity period of a key in seconds. (optional) ## Environment Variables diff --git a/example.config.toml b/example.config.toml index 67a9724..e21792a 100644 --- a/example.config.toml +++ b/example.config.toml @@ -13,4 +13,7 @@ smtp_password = "verysecurepassword" smtp_port = 465 smtp_tls = "Tls" mail_from = "key-submission@example.org" -mail_subject = "Please confirm to %a your public key" \ No newline at end of file +mail_subject = "Please confirm to %a your public key" + +[policy] +key_max_validity = 0