Skip to main content

Module hsc

Module hsc 

Source
Expand description

The hsc subcommand.

Structsยง

CTorMigrateArgs ๐Ÿ”’
The arguments of the CTorMigrate subcommand.
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 ๐Ÿ”’
The hsc subcommand.
HscSubcommands ๐Ÿ”’
The hsc subcommands the arti CLI will be augmented with.
KeySubcommand ๐Ÿ”’
The hsc-key subcommand.
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.
migrate_ctor_keys ๐Ÿ”’
Run the hsc ctor-migrate subcommand.
prepare_service_discovery_key ๐Ÿ”’
Run the hsc prepare-stealth-mode-key subcommand.
read_ctor_keys ๐Ÿ”’
Helper function for migrate_ctor_keys.
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.