From 231c95f29e5ad8766c0b243a8a9b5421b98f36df Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 28 Aug 2018 16:01:06 -0700 Subject: [PATCH] modules/console: Add the verify-keys regen for new crt cmd. --- modules/console.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/modules/console.cc b/modules/console.cc index e5852328c..b76bcded5 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -2715,6 +2715,21 @@ console_cmd__key__get(opt &out, const string_view &line) return true; } +bool +console_cmd__key__crt__sign(opt &out, const string_view &line) +{ + using prototype = void (const m::event &); + static m::import create_my_key + { + "s_keys", "create_my_key" + }; + + create_my_key({}); + + out << "done" << std::endl; + return true; +} + // // stage //