Skip to main content

Module hss

Module hss 

Source
Expand description

The hss subcommand.

Structsยง

CTorMigrateArgs ๐Ÿ”’
The arguments of the CTorMigrate subcommand.
CommonArgs ๐Ÿ”’
The arguments shared by all HssSubcommands.
Hss ๐Ÿ”’
The hss subcommand and args.
OnionAddressArgs ๐Ÿ”’
The arguments of the OnionAddress subcommand.

Enumsยง

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

Functionsยง

build_prompt ๐Ÿ”’
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 ๐Ÿ”’
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 ๐Ÿ”’
Migrate the keys of the specified C Tor service to the Arti keystore.
onion_address ๐Ÿ”’
Run the hss onion-address subcommand.
remove_arti_entries ๐Ÿ”’
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 ๐Ÿ”’
Run the hss ctor-migrate subcommand.
run_onion_address ๐Ÿ”’
Run the hss onion-address subcommand.