-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
As per RFC an arbitrary number of (empty, unencrypted) change_cipher_spec records may be send during the handshake.
Most clients will most likeley use this feature in order to increase chances for successfully establishing a TLS connection over the Internet.
OpenSSL s_client and TLS-tris for example do so and thus currently are not compatible.
Fixing might be possible at
Line 383 in 83ba9bc
| switch RecordType(header[0]) { |
However, while enabling connections from OpenSSL/tris, a simple
func (r *DefaultRecordLayer) nextRecord(allowOldEpoch bool) (*TLSPlaintext, error) {
again:
....
case RecordTypeChangeCipherSpec:
goto again
would not be sufficient as these records must only occur unencrypted during the handshake (before the client finished).
Metadata
Metadata
Assignees
Labels
No labels