Closed
Description
As per RFC 8446 "Clients can offer as many KeyShareEntry values as the number of supported groups it is offering" in ClientHello during TLS1.3 handshake
But currently OpenSSL does not support multiple key share entries corresponding to all the groups from supported_group list.
It sends only first preferred group in key share. And if server does not support it then it requires retry.
eg. if I have below given 2 groups in supported_group
secp521r1 (0x0019)
x448 (0x001e)
then Key_Share extension should contain "KeyShareEntry" value for both the groups. But currently key_share is sent only for 1st group i.e. secp521r1 (0x0019)
We need this feature (multiple key share entries ) support in OpenSSL.