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