Re: TLS 1.3 post-handshake authentication vs. exceptions

Ludovic Courtès <[email protected]>
Newsgroups gmane.network.gnutls.general
Message-ID <[email protected]>
Hi,

Nikos Mavrogiannopoulos <[email protected]> skribis:

> On Fri, Jun 7, 2019 at 1:04 PM Ludovic Courtès <[email protected]> wrote:

[...]

>> The problem here is that you could get a GNUTLS_E_REAUTH_REQUEST
>> exception in the middle of a read from an I/O ports.  This breaks
>> abstraction because the caller of that read call may not know that the
>> port happens to be a GnuTLS record port.
>
> That should be similar to GNUTLS_E_REHANDSHAKE error. I'm not sure if
> that can be the right solution but there is the option of
> GNUTLS_AUTO_REAUTH.

Indeed, GNUTLS_AUTO_REAUTH looks like a simple solution.

Thanks!

Ludo’.

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.