Settings
Help

Module hss

Module hss 

Source
Available on crate feature onion-service-service only.
Expand description

The hss subcommand.

StructsΒ§

CTorMigrateArgs πŸ”’ onion-service-cli-extra
The arguments of the CTorMigrate subcommand.
CommonArgs πŸ”’
The arguments shared by all HssSubcommands.
Hss πŸ”’
OnionAddressArgs πŸ”’
The arguments of the OnionAddress subcommand.

EnumsΒ§

GenerateKey πŸ”’
Whether to generate the key if missing.
HssSubcommand πŸ”’
HssSubcommands πŸ”’
The hss subcommands the arti CLI will be augmented with.
KeyType πŸ”’
A type of key

FunctionsΒ§

build_prompt πŸ”’ onion-service-cli-extra
Helper function for migrate_ctor_keys. Builds a prompt that will be passed to the prompt function.
create_svc πŸ”’
Create the OnionService configured with nickname.
display_onion_address πŸ”’
Display the onion address, if any, of the specified service.
find_ctor_keystore πŸ”’ onion-service-cli-extra
Checks if the service identified by the [HsNickname] provided by the user is configured with any of the recognized CTor keystores.
get_or_generate_onion_address πŸ”’
Run the hss onion-address subcommand.
migrate_ctor_keys πŸ”’ onion-service-cli-extra
Migrate the keys of the specified C Tor service to the Arti keystore.
onion_address πŸ”’
Run the hss onion-address subcommand.
remove_arti_entries πŸ”’ onion-service-cli-extra
Helper function for migrate_ctor_keys. Removes all the Arti keystore entries provided. Prints an error for each failed removal attempt.
run πŸ”’
Run the hss subcommand.
run_migrate πŸ”’ onion-service-cli-extra
Run the hss ctor-migrate subcommand.
run_onion_address πŸ”’
Run the hss onion-address subcommand.