From: Ian Jackson Date: Thu, 21 Jun 2012 02:06:19 +0000 (+0100) Subject: site: When if our MSG5s (or peer's MSG6s) get lost, preserve the key X-Git-Tag: debian/0.3.0_beta1~2 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/secnet/commitdiff_plain/bd98cd6bd47584447fcbf84f72ee9388f36ebb8c?ds=sidebyside;hp=bd98cd6bd47584447fcbf84f72ee9388f36ebb8c site: When if our MSG5s (or peer's MSG6s) get lost, preserve the key When we time out in state SENTMSG5, keep the key we negotiated. SENTMSG5 gives the peer permission to start sending packets with it so we need to be able to decrypt them. If we see such packets, we switch to using the new key at that point and throw the old key away. This is the final fix to the "connectivity loss during final key setup can cause locked-up session" bug. Signed-off-by: Ian Jackson ---