From e29024608fca1b811aa72a7aafd930a42740b968 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Sat, 13 Aug 2016 11:13:49 -0400 Subject: Address some issues with PR 492 Adds copyright notices for Juraj Somorovsky and Christian Mainka of Hackmanit for the changes in 7c7fcecbe6a and 6d327f879c Add Policy::check_peer_key_acceptable which lets the app set an arbitrary callback for examining keys - both the end entity signature keys from certificates and the peer PFS public keys. Default impl checks that the algorithm size matches the min keylength. This centralizes this logic and lets the application do interesting things. Adds a policy for ECDSA group size checks. Increases default policy minimums to 2048 RSA and 256 ECC. (Maybe I'm an optimist after all.) --- src/lib/tls/tls_messages.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/lib/tls/tls_messages.h') diff --git a/src/lib/tls/tls_messages.h b/src/lib/tls/tls_messages.h index a5ababc0e..c6a65b658 100644 --- a/src/lib/tls/tls_messages.h +++ b/src/lib/tls/tls_messages.h @@ -499,7 +499,6 @@ class Server_Key_Exchange final : public Handshake_Message Server_Key_Exchange(const std::vector& buf, const std::string& kex_alg, const std::string& sig_alg, - const Policy& policy, Protocol_Version version); ~Server_Key_Exchange(); -- cgit v1.2.3