summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-28 19:54:11 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-28 19:54:11 +0200
commit2343f5329c0d5e7d8073810e56577d944b7c518e (patch)
treee7a44cf6184a94e03538f179c2d95ac54611ef31 /src/config.c
parent6e63479b03df9c2189404fb631b1fbd4cab21186 (diff)
downloadfastd-2343f5329c0d5e7d8073810e56577d944b7c518e.tar
fastd-2343f5329c0d5e7d8073810e56577d944b7c518e.zip
ec25519: ensure old sessions are invalidated quickly after a new one has been established
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index d5165dd..48a9c8c 100644
--- a/src/config.c
+++ b/src/config.c
@@ -107,6 +107,7 @@ static void default_config(fastd_config_t *conf) {
conf->protocol = &fastd_protocol_ec25519_fhmqvc;
conf->method_default = &fastd_method_null;
conf->key_valid = 3600; /* 60 minutes */
+ conf->key_valid_old = 60; /* 1 minute */
conf->key_refresh = 3300; /* 55 minutes */
conf->key_refresh_splay = 300; /* 5 minutes */