From 964fc2421a0b33fe31c221bb4a5294f003a5b5c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 30 Apr 2023 13:13:14 +0200 Subject: [PATCH] Reformat the revocation SQL query --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c37020..fb4e48f 100644 --- a/README.md +++ b/README.md @@ -59,5 +59,10 @@ Keys are stored in an SQLite format 3 database. You may access it using the `sql The simplest way to revoke a key is to set its `not_after` field at the current timestamp. A new key will automatically be generated. You may also set the `revocation` field to a different timestamp in order to publish the key when desired. ``` -UPDATE key_db SET not_after = unixepoch(), revocation = unixepoch('now', '+20 days') WHERE selector = 'dkim-755512d8f51b4da6936d565a1ddbaf17'; +UPDATE key_db \ +SET \ + not_after = unixepoch(), \ + revocation = unixepoch('now', '+20 days') \ +WHERE \ + selector = 'dkim-755512d8f51b4da6936d565a1ddbaf17'; ```