[gnutls-devel] GnuTLS | tls1.3: server returns early on handshake when no cert is provided by client (!711)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Fri Jul 27 15:08:12 CEST 2018


Daiki Ueno started a new discussion on lib/handshake-tls13.c:

> +			IMED_RET("generate app keys", ret, 0);
> +
> +			ret = _tls13_write_connection_state_init(session, STAGE_APP);
> +			IMED_RET("set write app keys", ret, 0);
> +
> +			_gnutls_handshake_log("HSK[%p]: switching early to application traffic keys\n", session);
> +		}
> +
> +		/* fall through */
> +	case STATE108:
> +		if (session->internals.resumed != RESUME_FALSE)
> +			_gnutls_set_resumed_parameters(session);
> +
> +		/* If we didn't request a client certificate we can send tickets now
> +		 * and return early */
> +		if (session->internals.hsk_flags & HSK_EARLY_START_USED) {

So this means a ticket are sent early by default, even when `GNUTLS_ENABLE_EARLY_START` is not set.  Wouldn't that cause any interoperability issue?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/711#note_90794268
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20180727/800b5ee5/attachment.html>


More information about the Gnutls-devel mailing list