A crypto library aimed at auditability
A crypto library aimed at auditability
Posted Jan 13, 2014 20:10 UTC (Mon) by luto (subscriber, #39314)In reply to: A crypto library aimed at auditability by Cyberax
Parent article: A crypto library aimed at auditability
I don't think your protocol works. I think you're saying:
Client connects to server and verifies server cert. All remaining communication goes over the resulting channel.
Server -> Client: server_nonce
Client -> Server: Sign(server_nonce)
This isn't secure without a lot of care -- an attacker could get the client to connect (knowingly) to the attacker, and then the attacker could ask the client to sign the real server's nonce. Game over.
This is why I think that a good protocol would provide nonces that are bound to the session key.