TLS 1.3 non compliance with current draft

Hubert Kario <[email protected]> Fri, 01 Sep 2017 19:05:51 +0200
Newsgroups gmane.comp.encryption.openssl.devel
Message-ID <[email protected]>
When openssl sends a second Client Hello message, it modifies it quite 
extensively, not only client_random is changed but also advertised cipher 
suites.

see https://github.com/openssl/openssl/issues/4292

That makes it non-compliant with the current draft (-21):

   When a client first connects to a server, it is REQUIRED to send the
   ClientHello as its first message.  The client will also send a
   ClientHello when the server has responded to its ClientHello with a
   HelloRetryRequest.  In that case, the client *MUST send the same*
   *ClientHello* (without modification) except:

   -  If a "key_share" extension was supplied in the HelloRetryRequest,
      replacing the list of shares with a list containing a single
      KeyShareEntry from the indicated group.

   -  Removing the "early_data" extension (Section 4.2.9) if one was
      present.  Early data is not permitted after HelloRetryRequest.

   -  Including a "cookie" extension if one was provided in the
      HelloRetryRequest.

   -  Updating the "pre_shared_key" extension if present by recomputing
      the "obfuscated_ticket_age" and binder values and (optionally)
      removing any PSKs which are incompatible with the server's
      indicated cipher suite.


-- 
Regards,
Hubert Kario
Senior Quality Engineer, QE BaseOS Security team
Web: www.cz.redhat.com
Red Hat Czech s.r.o., Purkyňova 115, 612 00  Brno, Czech Republic

-- 
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAABCgAGBQJZqZNvAAoJEJKo0bgB0vX1U28P/3+UDHczC0SJwdpoCunT/GmN
9UsuaKeJdpmud1WoBfLwtWPoJ5wh4tCnxuPOno2PFj7u5Rp3LUi/tZbPmOQIhLnf
gkDqaP87abEuNZmEXZ0gbvf4FexOVTLfWNtQKv12nSsmlGQ2K+DVwAdOSTY7GMkL
Px2Qu/A0DTYk0nDFcy85OHdLkRtCmrfikTB40JnO6n6F+dW90nZObGrqENFH+Uct
ok3kdsSbOijVyxjQfkjxKn2kA5F4iKTlEvBUQSzXdkt6UPQpeF6RPPiy3aqnWaDO
6DiUcflrq1SQWf2sc/nMSL3hXe3S6+SBXtSyKqM48hujXtGk6uyJcLnk8I/1aAnX
xEpg+yZsGsZHw42kN2fvziIEnBrpJSY5qerL6sr89o46w9mpvaTSRqFkZQiL/vkP
DTsWX6Arl6V/Csa5OLZT9URylI5L5bH4MJZV1e3XoE3Vi7e+8JugwWUat3QtkVxq
+WqWtMggoSDSZtgrrUYWDfyEJTt53xT+oua5cXJ2mbGPEZipEDRCCrW2wkHzvddL
Fy+WQOFLrJbQR/o8MzTUoc1OZzewZ0D7y0XpJgVloqEkxB2Gmu2m4Rb6xczNc1dy
frvZCI54hvCiC7X8fywCEj3ohy0pdotdqF1tTsqT9c7SoFELOhnlStya0GxKrDfW
8hXcRRw1VhIWuc4HXm5l
=Qt1f
-----END PGP SIGNATURE-----