chiark / gitweb /
keyexch, keymgmt: Include the peer's public key in the check hash.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 27 Oct 2006 16:55:27 +0000 (17:55 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 27 Oct 2006 16:55:27 +0000 (17:55 +0100)
commit9317aa9290393480e8004bd443c38b5faa5f6f0c
tree4e6bf5ea537702c06117bf2311b6c0bdbdc2332c
parent5251b2e9939493c088632a548fa61553ff53eae3
keyexch, keymgmt: Include the peer's public key in the check hash.

This turns out to be necessary for security: otherwise an adversary can
cross over two sessions, which is probably undesirable.  This also
requires that we know our own public key, which was previously
unnecessary.

Except for session-ids (we don't care if two `sessions' with the same
peer get crossed over, because we don't distinguish them anyway), the
protocol now matches the one described and proved secure in the crypto
paper.
keyexch.c
keymgmt.c
tripe.h