The keys changing is to avoid a guard from knowing you’re the same user from a
new IP. The keys help encrypt communication between you and the Tor Network.
I’m not sure about the technical specifics, maybe someone else is but that’s a
high level overview :)
Cordially,
Nathaniel Suchy
Dec 4,
Hello,
According to
/tor/src/core/mainloop/connection.c
Lines 4700 - 4710:
/* The interface changed. We're a client, so we need to regenerate our
* keys. First, reset the state. */
log_notice(LD_NET, "Our IP address has changed. Rotating keys...");
tor_addr_copy(*last_interface_