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 
<https://github.com/golang/go/blob/master/src/crypto/tls/handshake_client.go#L97>
 
before starting handshake.


RFC5246 - TLSv1.2 <https://tools.ietf.org/html/rfc5246#page-39> 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

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to