summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNeel Chauhan <neel@neelc.org>2020-01-10 20:58:21 -0800
committerDavid Goulet <dgoulet@torproject.org>2020-06-25 13:35:15 -0400
commitef563a8fef28320a99d9836599013ebb31378d22 (patch)
treeabdf193df813d56cf8771cb408fb5a603d37314c /src/app
parentb4ccafd175465e811d2a70627465644760cc3fa4 (diff)
downloadtor-ef563a8fef28320a99d9836599013ebb31378d22.tar.gz
tor-ef563a8fef28320a99d9836599013ebb31378d22.zip
Add an fingerprint-ed25519 file to the data directory
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index dc39611f98..93291674cc 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -1054,12 +1054,14 @@ sandbox_init_filter(void)
OPEN_DATADIR("approved-routers");
OPEN_DATADIR_SUFFIX("fingerprint", ".tmp");
+ OPEN_DATADIR_SUFFIX("fingerprint-ed25519", ".tmp");
OPEN_DATADIR_SUFFIX("hashed-fingerprint", ".tmp");
OPEN_DATADIR_SUFFIX("router-stability", ".tmp");
OPEN("/etc/resolv.conf");
RENAME_SUFFIX("fingerprint", ".tmp");
+ RENAME_SUFFIX("fingerprint-ed25519", ".tmp");
RENAME_KEYDIR_SUFFIX("secret_onion_key_ntor", ".tmp");
RENAME_KEYDIR_SUFFIX("secret_id_key", ".tmp");