Opened 12 years ago

Last modified 7 years ago

#368 closed defect (Fixed)

short-uptime tor server never rotate onion key

Reported by: arma Owned by:
Priority: Low Milestone:
Component: Core Tor/Tor Version: 0.1.2.3-alpha
Severity: Keywords:
Cc: arma Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

/ How often do we rotate onion keys? */
#define MIN_ONION_KEY_LIFETIME (7*24*60*60)

if (server_mode(options) &&

get_onion_key_set_at()+MIN_ONION_KEY_LIFETIME < now) {

log_info(LD_GENERAL,"Rotating onion key.");

But since onionkey_set_at is reset to whenever we launched Tor,
if our uptime never reaches a week, we never rotate.

[Automatically added by flyspray2trac: Operating System: All]

Child Tickets

Change History (2)

comment:1 Changed 12 years ago by nickm

flyspray2trac: bug closed.
Fixed in r9120.

comment:2 Changed 7 years ago by nickm

Component: Tor RelayTor
Note: See TracTickets for help on using tickets.