0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-26 13:58:18 +02:00

modules/console: Add the verify-keys regen for new crt cmd.

This commit is contained in:
Jason Volk 2018-08-28 16:01:06 -07:00
parent 60571aabf3
commit 231c95f29e

View file

@ -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<prototype> create_my_key
{
"s_keys", "create_my_key"
};
create_my_key({});
out << "done" << std::endl;
return true;
}
//
// stage
//