Ensure the invitation filenames do not reveal the secret cookie.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 20 Aug 2013 21:09:36 +0000 (23:09 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 20 Aug 2013 21:09:36 +0000 (23:09 +0200)
Since filenames could potentially leak to unprivileged users (for example,
because of locatedb), it should not contain the cookie used for invitations.
Instead, tinc now uses the hash of the cookie and the invitation key as the
filename to store pending invitations in.


No differences found