Module hsc

Source
Available on crate feature hsc only.
Expand description

The hsc subcommand.

Structs§

CommonArgs 🔒
The common arguments of the key subcommands.
GetKeyArgs 🔒
The arguments of the GetKey subcommand.
KeygenArgs 🔒
The common arguments of the key subcommands.
RemoveKeyArgs 🔒
The arguments of the Remove subcommand.
RotateKeyArgs 🔒
The arguments of the Rotate subcommand.

Enums§

GenerateKey 🔒
Whether to generate the key if missing.
HscSubcommand 🔒
HscSubcommands 🔒
The hsc subcommands the arti CLI will be augmented with.
KeySubcommand 🔒
KeyType 🔒
A type of key

Functions§

display_service_discovery_key 🔒
Display the public part of a service discovery key.
get_onion_address 🔒
Prompt the user for an onion address.
prepare_service_discovery_key 🔒
Run the hsc prepare-stealth-mode-key subcommand.
prompt 🔒
Prompt the user to confirm by typing yes or no.
remove_service_discovery_key 🔒
Run the hsc remove-key subcommand.
rotate_service_discovery_key 🔒
Run the hsc rotate-key subcommand.
run 🔒
Run the hsc subcommand.
run_key 🔒
Run the hsc key subcommand
write_public_key 🔒
Write the public part of key to f.