diff options
author | David Goulet <dgoulet@torproject.org> | 2017-02-01 09:18:58 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2017-07-13 16:49:44 -0400 |
commit | 138e03c488bfa05504b69ced48ddf8f0afd1310c (patch) | |
tree | e6f0be3a485fa33572274797061864b0521066c8 /src/or/hs_common.h | |
parent | f3899acdbfe121521cbd8cc76983b1e1e149d38c (diff) | |
download | tor-138e03c488bfa05504b69ced48ddf8f0afd1310c.tar.gz tor-138e03c488bfa05504b69ced48ddf8f0afd1310c.zip |
prop224: Load and/or generate v3 service keys
Try to load or/and generate service keys for v3. This write both the public
and private key file to disk along with the hostname file containing the onion
address.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_common.h')
-rw-r--r-- | src/or/hs_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/hs_common.h b/src/or/hs_common.h index 64bf89f398..2b33914275 100644 --- a/src/or/hs_common.h +++ b/src/or/hs_common.h @@ -88,6 +88,7 @@ void hs_free_all(void); int hs_check_service_private_dir(const char *username, const char *path, unsigned int dir_group_readable, unsigned int create); +char *hs_path_from_filename(const char *directory, const char *filename); void hs_build_address(const ed25519_public_key_t *key, uint8_t version, char *addr_out); int hs_address_is_valid(const char *address); |