Hello everyone,
Is sending TLS alerts before ClientHello is in compliance with TLS standard?
Golang crypto/tls sends InternalAlert if it failed to get random bytes before starting handshake.
RFC5246 - TLSv1.2 says
7.4.1.2. Client Hello
When this message will be sent:
When a client first connects to a server, it is required to send
the ClientHello as its first message. The client can also send a
ClientHello in response to a HelloRequest or on its own initiative
in order to renegotiate the security parameters in an existing
connection.
but I wanted to double check before filing a bug.
Thanks