Adds support for inspecting a hex encoded public key (#7344)

* Adds support for inspecting a hex encoded public key

This adds support for inspecting hex encoded public keys to subkey. The
command looks like:

`subkey inspect --public 0xPUBLICHEX`

* Update client/cli/src/commands/utils.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
This commit is contained in:
Bastian Köcher
2020-10-17 09:43:46 +02:00
committed by GitHub
parent da8ce4f258
commit 158fdecc0b
7 changed files with 139 additions and 26 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ mod generate_node_key;
mod generate;
mod insert;
mod inspect_node_key;
mod inspect;
mod inspect_key;
mod key;
pub mod utils;
@@ -44,7 +44,7 @@ pub use self::{
sign::SignCmd,
generate::GenerateCmd,
insert::InsertCmd,
inspect::InspectKeyCmd,
inspect_key::InspectKeyCmd,
generate_node_key::GenerateNodeKeyCmd,
inspect_node_key::InspectNodeKeyCmd,
key::KeySubcommand,