[gnutls-devel] GnuTLS | OpenSSL IPv6 PSK Incompatibility (#683)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Jan 24 15:44:14 CET 2019


It is failing in the SNI handling code introduced by 88b4f9036aefd0f8e20de6cae56b62be7a721b70.  However, this seems like a correct behavior as RFC 6066 says: Literal IPv4 and IPv6 addresses are not permitted in "HostName".

It should work if you supply the server name with:
```
openssl s_client -connect '[::1]:5000' -servername localhost6 -psk_identity foo -psk 7df28f5439b5a051cc138b6e12128264
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/683#note_134588376
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/20190124/f5d266d1/attachment.html>


More information about the Gnutls-devel mailing list