diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2024-07-17 17:04:39 +0200 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2024-07-19 13:19:19 +0200 |
commit | e33fb93c259af697520dc6346938b3bd02bdaf7c (patch) | |
tree | 4d29c446e92ead58860bb26f74dc0c3f76fce4cc /src/utils | |
parent | libdnssec: move sample keys from tests to libdnssec (diff) | |
download | knot-e33fb93c259af697520dc6346938b3bd02bdaf7c.tar.xz knot-e33fb93c259af697520dc6346938b3bd02bdaf7c.zip |
keymgr: add 'keystore-test' and 'keystore-bench' to documentation
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/keymgr/main.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/utils/keymgr/main.c b/src/utils/keymgr/main.c index ad6b41302..999b5c505 100644 --- a/src/utils/keymgr/main.c +++ b/src/utils/keymgr/main.c @@ -39,6 +39,7 @@ static void print_help(void) { printf("Usage:\n" " %s [-c | -C | -D <path>] [options] <zone_name> <command>\n" + " %s [-c | -C | -D <path>] [options] <keystore_id> <command>\n" " %s [-c | -C | -D <path>] [-j] -l\n" " %s -t <tsig_name> [<algorithm> [<bits>]]\n" "\n" @@ -90,6 +91,13 @@ static void print_help(void) " set Set existing key's timing attribute.\n" " (syntax: set <key_spec> <attribute_name>=<value>...)\n" "\n" + "Keystore commands:\n" + " keystore_test Conduct some tests on the specified keystore.\n" + " Use a configured keystore id or '-' for the default.\n" + " keystore_bench Conduct a signing benchmark for each supported algorithm.\n" + " Use a configured keystore id or '-' for the default.\n" + " (syntax: keystore_bench [<num_threads>])\n" + "\n" "Commands related to Offline KSK feature:\n" " pregenerate Pre-generate ZSKs for later rollovers with offline KSK.\n" " (syntax: pregenerate [<from>] <to>)\n" @@ -118,7 +126,8 @@ static void print_help(void) " ksk Whether the generated/imported key shall be Key Signing Key.\n" " created/publish/ready/active/retire/remove The timestamp of the key\n" " lifetime event (e.g. published=+1d active=1499770874)\n", - PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, CONF_DEFAULT_FILE, CONF_DEFAULT_DBDIR); + PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, PROGRAM_NAME, CONF_DEFAULT_FILE, + CONF_DEFAULT_DBDIR); } static int key_command(int argc, char *argv[], int opt_ind, knot_lmdb_db_t *kaspdb, |