mirror of
https://github.com/matrix-construct/construct
synced 2024-11-16 15:00:51 +01:00
modules/console: Add the verify-keys regen for new crt cmd.
This commit is contained in:
parent
60571aabf3
commit
231c95f29e
1 changed files with 15 additions and 0 deletions
|
@ -2715,6 +2715,21 @@ console_cmd__key__get(opt &out, const string_view &line)
|
||||||
return true;
|
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
|
// stage
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue