🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
17 messages
17 total messages Started by Michael Bäuerle Fri, 03 Aug 2018 13:21
[INN] TLS Signature algorithm selection
#87829
Author: Michael Bäuerle
Date: Fri, 03 Aug 2018 13:21
17 lines
1668 bytes
While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
INN 2.6.1 the question comes up how INN selects the signature algorithm
from the list provided by a client.

flnews behaves like (first one preferred):
| 
| $ openssl s_client -sigalgs "RSA-PSS+SHA512:RSA-PSS+SHA384:RSA-PSS+SHA256"

but INN (with "tlspreferserverciphers" default) seems to always select
the weakest one (SHA256 based), even for AES256 and ChaCha20 based
ciphersuites.

This seems not to be the default behaviour of OpenSSL, a connection
against its own s_server utility negotiates "RSA-PSS+SHA512" in the case
above.

Re: [INN] TLS Signature algorithm selection
#87833
Author: Julien ÉLIE
Date: Sat, 25 Aug 2018 14:11
31 lines
2228 bytes
Hi Michael,

> While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
> INN 2.6.1 the question comes up how INN selects the signature algorithm
> from the list provided by a client.

The only action INN does is setting the following option:
   SSL_CTX_set_options(CTX, SSL_OP_CIPHER_SERVER_PREFERENCE);



> flnews behaves like (first one preferred):
> |
> | $ openssl s_client -sigalgs "RSA-PSS+SHA512:RSA-PSS+SHA384:RSA-PSS+SHA256"
> 
> but INN (with "tlspreferserverciphers" default) seems to always select
> the weakest one (SHA256 based), even for AES256 and ChaCha20 based
> ciphersuites.

I'm afraid I don't know why the weakest algorithm is selected.  At least 
INN does not enforce that choice.

Note that if "tlsciphers" is unset in inn.conf, the OpenSSL's default 
cipher suite list is used.  I hope SHA256 is not at the beginning!

-- 
Julien ÉLIE

« Vtilitas publica praeferenda est priuatorum contractibus. »

Re: [INN] TLS Signature algorithm selection
#87834
Author: Michael Bäuerle
Date: Sat, 25 Aug 2018 15:32
46 lines
2898 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > 
> > While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
> > INN 2.6.1 the question comes up how INN selects the signature algorithm
> > from the list provided by a client.
> 
> The only action INN does is setting the following option:
>   SSL_CTX_set_options(CTX, SSL_OP_CIPHER_SERVER_PREFERENCE);
> 
> 
> > flnews behaves like (first one preferred):
> > |
> > | $ openssl s_client -sigalgs "RSA-PSS+SHA512:RSA-PSS+SHA384:RSA-PSS+SHA256"
> > 
> > but INN (with "tlspreferserverciphers" default) seems to always select
> > the weakest one (SHA256 based), even for AES256 and ChaCha20 based
> > ciphersuites.
> 
> I'm afraid I don't know why the weakest algorithm is selected.  At 
> least INN does not enforce that choice.
> 
> Note that if "tlsciphers" is unset in inn.conf, the OpenSSL's default 
> cipher suite list is used.  I hope SHA256 is not at the beginning!

First I thought about whether SSL_OP_CIPHER_SERVER_PREFERENCE really
covers the signature algorithm negotiation too (and not only the cipher
suite negotiation), because the documentation of SSL_CTX_set_options()
[1] doesn't explicitly state that. But in [2] it is stated in the NOTES
section:
| 
| The supported signature algorithms set by a server are not sent to
| the client but are used to determine the set of shared signature
| algorithms and (if server preferences are set with
| SSL_OP_CIPHER_SERVER_PREFERENCE) their order.

Maybe the OpenSSL snapshot used for the test doesn't use the final
set of algorithms and ordering yet. Let's see how the final 1.1.1 will
behave.


____________
[1] <https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set_options.html>
[2] <https://www.openssl.org/docs/manmaster/man3/SSL_CTX_set1_sigalgs.html>

Re: [INN] TLS Signature algorithm selection
#87873
Author: Julien ÉLIE
Date: Tue, 11 Sep 2018 20:10
24 lines
2210 bytes
Hi Michaël,

>>> While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
>>> INN 2.6.1 the question comes up how INN selects the signature algorithm
>>> from the list provided by a client.
>
> | The supported signature algorithms set by a server are not sent to
> | the client but are used to determine the set of shared signature
> | algorithms and (if server preferences are set with
> | SSL_OP_CIPHER_SERVER_PREFERENCE) their order.
> 
> Maybe the OpenSSL snapshot used for the test doesn't use the final
> set of algorithms and ordering yet. Let's see how the final 1.1.1 will
> behave.

Now that the final 1.1.1 version has been released, is the behaviour better?

-- 
Julien ÉLIE

« Rien ni personne n'a tout à fait tort : même une horloge
   arrêtée a raison deux fois par jour. » (John Steinbeck)

Re: [INN] TLS Signature algorithm selection
#87874
Author: Michael Bäuerle
Date: Tue, 11 Sep 2018 20:51
22 lines
2036 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > > Michael Bäuerle wrote:
> > > > 
> > > > While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
> > > > INN 2.6.1 the question comes up how INN selects the signature algorithm
> > > > from the list provided by a client.
> > 
> > | The supported signature algorithms set by a server are not sent to
> > | the client but are used to determine the set of shared signature
> > | algorithms and (if server preferences are set with
> > | SSL_OP_CIPHER_SERVER_PREFERENCE) their order.
> > 
> > Maybe the OpenSSL snapshot used for the test doesn't use the final
> > set of algorithms and ordering yet. Let's see how the final 1.1.1 will
> > behave.
> 
> Now that the final 1.1.1 version has been released, is the behaviour better?

Not tested with 1.1.1 yet. I will post results the next days.

Re: [INN] TLS Signature algorithm selection
#87875
Author: Michael Bäuerle
Date: Fri, 14 Sep 2018 13:57
57 lines
3645 bytes
Michael Bäuerle wrote:
> Julien ÉLIE wrote:
> > Michael Bäuerle wrote:
> > > > Michael Bäuerle wrote:
> > > > > 
> > > > > While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
> > > > > INN 2.6.1 the question comes up how INN selects the signature algorithm
> > > > > from the list provided by a client.
> > > 
> > > | The supported signature algorithms set by a server are not sent to
> > > | the client but are used to determine the set of shared signature
> > > | algorithms and (if server preferences are set with
> > > | SSL_OP_CIPHER_SERVER_PREFERENCE) their order.
> > > 
> > > Maybe the OpenSSL snapshot used for the test doesn't use the final
> > > set of algorithms and ordering yet. Let's see how the final 1.1.1 will
> > > behave.
> > 
> > Now that the final 1.1.1 version has been released, is the behaviour better?
> 
> Not tested with 1.1.1 yet. I will post results the next days.

The behaviour has not changed.

Offered to the server (Client Hello decoded by Wireshark):
<https://micha.freeshell.org/tmp/2018-09-14_flnews_TLS1.3_CH.png>
The server selects AES256 as symmetric cipher and the highlighted entry
from the signature algorithm list (according to the following OpenSSL
functions):

   SSL_get_peer_signature_nid()
   SSL_get_peer_signature_type_nid()

For TLSv1.3 the last 3 entries with PKCS1-v1_5 padding are no
longer allowed inside the protocol (only for signatures in
certificates).


I have tested it with s_client too (in this case ECDSA signature
algorithms are offered with highest preference, followed by EdDSA and
the RSA-PSS ones). For all three groups the weakest hash algorithm
is offered with highest preference. But even in this case the server
selects RSA-PSS/SHA256:
| 
| Peer signing digest: SHA256
| Peer signature type: RSA-PSS


In general this is not a problem, for AES128 (that I have offered too)
RSA-PSS/SHA256 would be a matching choice.
But it's a bit strange that OpenSSL chose the strongest symmetric
cipher (and a matching ECDHE group for key exchange -- with s_client
X25519 is used, but when I additionally offer X448 with flnews, X448
is chosen by the server) together with the weakest hash algorithm
for signatures.

Re: [INN] TLS Signature algorithm selection
#87879
Author: Julien ÉLIE
Date: Sun, 28 Oct 2018 21:11
43 lines
2962 bytes
Hi Michael,

> While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
> INN 2.6.1 the question comes up how INN selects the signature algorithm
> from the list provided by a client.
> 
> flnews behaves like (first one preferred):
> |
> | $ openssl s_client -sigalgs "RSA-PSS+SHA512:RSA-PSS+SHA384:RSA-PSS+SHA256"

Just to be sure, is the behaviour similar when you use TLSv1.3 signature 
scheme names?  (rsa_pss_pss_sha256 and rsa_pss_pss_sha512)
Maybe it is treated differently (but that would be a bug; note that 
RSA-PSS is not mentioned in SSL_CONF_cmd man page):

https://www.openssl.org/docs/man1.1.1/man3/SSL_CONF_cmd.html

"The value argument should be a colon separated list of signature 
algorithms in order of decreasing preference of the form algorithm+hash 
or signature_scheme. algorithm is one of RSA, DSA or ECDSA and hash is a 
supported algorithm OID short name such as SHA1, SHA224, SHA256, SHA384 
of SHA512. Note: algorithm and hash names are case sensitive. 
signature_scheme is one of the signature schemes defined in TLSv1.3, 
specified using the IETF name, e.g., ecdsa_secp256r1_sha256, ed25519, or 
rsa_pss_pss_sha256."


https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set1_sigalgs.html

"The short or long name values for digests can be used in a string (for 
example "MD5", "SHA1", "SHA224", "SHA256", "SHA384", "SHA512") and the 
public key algorithm strings "RSA", "RSA-PSS", "DSA" or "ECDSA".

The TLS 1.3 signature scheme names (such as "rsa_pss_pss_sha256") can 
also be used with the _list forms of the API."

-- 
Julien ÉLIE

« Donner un César à une tragédienne ? Mais c'est absurde ! »
   (Astérix)

Re: [INN] TLS Signature algorithm selection
#87880
Author: Michael Bäuerle
Date: Mon, 29 Oct 2018 13:31
94 lines
5056 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > 
> > While testing TLSv1.3 from flnews-0.16pre6 via OpenSSL 1.1.1-pre8 to
> > INN 2.6.1 the question comes up how INN selects the signature algorithm
> > from the list provided by a client.
> > 
> > flnews behaves like (first one preferred):
> > |
> > | $ openssl s_client -sigalgs "RSA-PSS+SHA512:RSA-PSS+SHA384:RSA-PSS+SHA256"
> 
> Just to be sure, is the behaviour similar when you use TLSv1.3 
> signature scheme names?  (rsa_pss_pss_sha256 and rsa_pss_pss_sha512)
> Maybe it is treated differently (but that would be a bug; note that 
> RSA-PSS is not mentioned in SSL_CONF_cmd man page):
> 
> https://www.openssl.org/docs/man1.1.1/man3/SSL_CONF_cmd.html
> 
> "The value argument should be a colon separated list of signature 
> algorithms in order of decreasing preference of the form algorithm+hash 
> or signature_scheme. algorithm is one of RSA, DSA or ECDSA and hash is 
> a supported algorithm OID short name such as SHA1, SHA224, SHA256, 
> SHA384 of SHA512. Note: algorithm and hash names are case sensitive. 
> signature_scheme is one of the signature schemes defined in TLSv1.3, 
> specified using the IETF name, e.g., ecdsa_secp256r1_sha256, ed25519, 
> or rsa_pss_pss_sha256."
> 
> 
> https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set1_sigalgs.html
> 
> "The short or long name values for digests can be used in a string (for 
> example "MD5", "SHA1", "SHA224", "SHA256", "SHA384", "SHA512") and the 
> public key algorithm strings "RSA", "RSA-PSS", "DSA" or "ECDSA".
> 
> The TLS 1.3 signature scheme names (such as "rsa_pss_pss_sha256") can 
> also be used with the _list forms of the API."

I have now tested (with s_client):

   -sigalgs "rsa_pss_pss_sha512"

This should offer signature scheme code 0x080B according to RFC 8446 [1]
(and really do so according to Wireshark), but it doesn't work:
| 
| 140187577419520:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:ssl/record/rec_layer_s3.c:1528:SSL alert number 40

Both:

   -sigalgs "rsa_pss_rsae_sha512"

and

   -sigalgs "RSA-PSS+SHA512"

do the same and offer signature scheme code 0x0806. With that code
I can connect via TLSv1.3 (tested with the server from Emil Schuster):
| 
| [...]
| Peer signing digest: SHA512
| Peer signature type: RSA-PSS

I have tested flnews in September and checked the Client Hello with
Wireshark and the offered list was correctly transmitted:
<https://micha.freeshell.org/tmp/2018-09-14_flnews_TLS1.3_CH.png>
The first three elements are the list quoted above, the last three
elements are for TLSv1.2 (and for signatures in certificates using
RSA with PKCSv1.5 padding).
The other (server) side has rejected my preference in favour of the
weaker RSA-PSS+SHA256 (0x0804) signature scheme (as long as Emil had
his server configured to use local OpenSSLs preferences, currently
his server follows the clients preferences).

This is the default list offered by s_client (from OpenSSL 1.1.1):
<https://micha.freeshell.org/tmp/2018-10-29_OpenSSL_signature_schemes.png>
Weaker hash algorithms are preferred not only for RSA.
For ECDSA and EdDSA weaker curves are preferred.
Only for RSA PSS is preferred over the weaker PKCSv1.5 padding
and for DSA the SHA224 hash is preferred over the weaker SHA1.
Looks like OpenSSLs server code uses the same list (maybe to reduce
CPU load instead of maximizing strength).


BTW: Your server has still rejected the PSS-based signature algorithm
(when I offered it without alternatives):
| 
| 140187577419520:error:14094417:SSL routines:ssl3_read_bytes:sslv3 alert illegal parameter:ssl/record/rec_layer_s3.c:1528:SSL alert number 47

and negotiates TLSv1.2 when I use OpenSSLs default list.


_________________
[1] <https://tools.ietf.org/html/rfc8446#section-4.2.3>

Re: [INN] TLS Signature algorithm selection
#87884
Author: Julien ÉLIE
Date: Sat, 10 Nov 2018 22:10
45 lines
3269 bytes
Hi Michael,

> I have tested flnews in September and checked the Client Hello with
> Wireshark and the offered list was correctly transmitted:
> <https://micha.freeshell.org/tmp/2018-09-14_flnews_TLS1.3_CH.png>
> The first three elements are the list quoted above, the last three
> elements are for TLSv1.2 (and for signatures in certificates using
> RSA with PKCSv1.5 padding).
> The other (server) side has rejected my preference in favour of the
> weaker RSA-PSS+SHA256 (0x0804) signature scheme (as long as Emil had
> his server configured to use local OpenSSLs preferences, currently
> his server follows the clients preferences).

May it be because INN currently enforces the use of the NIST P-256 
elliptic curve when using OpenSSL 1.1.0 or later?
There has been a change in OpenSSL 1.1.0:  the SSL_CTX_set_ecdh_auto() 
function, upon which INN's logic was relying on, was removed (this 
function permitted selecting the most secure curve to use).  If not 
available, INN then fell back to NIST P-256.

I've now fixed that:
   https://inn.eyrie.org/trac/changeset/10297

Maybe it explains why INN was selecting SHA256 for signing digest?  (I'm 
unfortunately not enough keen on cryptography to determine whether it 
could be related to the behaviour you saw when server preferences are used.)



> BTW: Your server has still rejected the PSS-based signature algorithm
> (when I offered it without alternatives)
> and negotiates TLSv1.2 when I use OpenSSLs default list.

Yes, that's normal.  I still haven't taken the time to make a fresh 
OpenSSL 1.1.1 build work.  Besides, there currently isn't any backport 
for Debian stable.  So my INN build uses an anterior version of OpenSSL 
without TLS 1.3 support.  I hope to upgrade it soon.

-- 
Julien ÉLIE

« Il y a un vieux proverbe chinois qui dit : "Quand tu n'as plus rien
   à dire, cite un vieux proverbe chinois." »

Re: [INN] TLS Signature algorithm selection
#87885
Author: Michael Bäuerle
Date: Sun, 11 Nov 2018 11:19
53 lines
3437 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > 
> > I have tested flnews in September and checked the Client Hello with
> > Wireshark and the offered list was correctly transmitted:
> > <https://micha.freeshell.org/tmp/2018-09-14_flnews_TLS1.3_CH.png>
> > The first three elements are the list quoted above, the last three
> > elements are for TLSv1.2 (and for signatures in certificates using
> > RSA with PKCSv1.5 padding).
> > The other (server) side has rejected my preference in favour of the
> > weaker RSA-PSS+SHA256 (0x0804) signature scheme (as long as Emil had
> > his server configured to use local OpenSSLs preferences, currently
> > his server follows the clients preferences).
> 
> May it be because INN currently enforces the use of the NIST P-256 
> elliptic curve when using OpenSSL 1.1.0 or later?
> There has been a change in OpenSSL 1.1.0:  the SSL_CTX_set_ecdh_auto() 
> function, upon which INN's logic was relying on, was removed (this 
> function permitted selecting the most secure curve to use).  If not 
> available, INN then fell back to NIST P-256.
> 
> I've now fixed that:
>   https://inn.eyrie.org/trac/changeset/10297
> 
> Maybe it explains why INN was selecting SHA256 for signing digest?  

For the ECDSA-based ones, forcing P-256 (aka secp256r1) should also
force SHA256 according to [1] (Code 0x0403).

Maybe the selection for RSA is in some way bound to the strength of
the RSA key too. We have tested with Let's Encrypt (using RSA2048
key -- for which SHA256 should be a matching choice).


> [...]

Another issue:
Emil Schuster has now tested 2.6.2 too (formerly 2.6.1) with no
difference according to ciphersuite selection. TLSv1.3 ciphersuites
are not accepted via the "tlsciphers" parameter (We have tried to enable
AES in CCM mode for TLSv1.3 -- which is disabled by default in OpenSSL
1.1.1 -- via TLS_AES_128_CCM_SHA256).

Likely the reason is that TLSv1.3 ciphersuites must be configured with
the different OpenSSL function SSL_[CTX_]set_ciphersuites() [2].
What do you think about an additional parameter like "tlsciphers13"?


________________
[1] <https://tools.ietf.org/html/rfc8446#section-4.2.3>
[2] <https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_set_cipher_list.html>

Re: [INN] TLS Signature algorithm selection
#87886
Author: Julien ÉLIE
Date: Sun, 11 Nov 2018 14:40
23 lines
2181 bytes
Hi Michael,

> Another issue:
> Emil Schuster has now tested 2.6.2 too (formerly 2.6.1) with no
> difference according to ciphersuite selection. TLSv1.3 ciphersuites
> are not accepted via the "tlsciphers" parameter (We have tried to enable
> AES in CCM mode for TLSv1.3 -- which is disabled by default in OpenSSL
> 1.1.1 -- via TLS_AES_128_CCM_SHA256).
> 
> Likely the reason is that TLSv1.3 ciphersuites must be configured with
> the different OpenSSL function SSL_[CTX_]set_ciphersuites() [2].
> What do you think about an additional parameter like "tlsciphers13"?

Yep!
Amusingly, I committed that very change yesterday :)
   https://inn.eyrie.org/trac/changeset/10300

-- 
Julien ÉLIE

« Videt non te diu. »

Re: [INN] TLS Signature algorithm selection
#87887
Author: Michael Bäuerle
Date: Mon, 12 Nov 2018 10:15
21 lines
2146 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > 
> > Another issue:
> > Emil Schuster has now tested 2.6.2 too (formerly 2.6.1) with no
> > difference according to ciphersuite selection. TLSv1.3 ciphersuites
> > are not accepted via the "tlsciphers" parameter (We have tried to enable
> > AES in CCM mode for TLSv1.3 -- which is disabled by default in OpenSSL
> > 1.1.1 -- via TLS_AES_128_CCM_SHA256).
> > 
> > Likely the reason is that TLSv1.3 ciphersuites must be configured with
> > the different OpenSSL function SSL_[CTX_]set_ciphersuites() [2].
> > What do you think about an additional parameter like "tlsciphers13"?
> 
> Yep!
> Amusingly, I committed that very change yesterday :)
>   https://inn.eyrie.org/trac/changeset/10300

:-) Thanks for the modifications.

Re: [INN] TLS Signature algorithm selection
#87889
Author: Michael Bäuerle
Date: Wed, 14 Nov 2018 09:46
22 lines
2069 bytes
Michael Bäuerle wrote:
> 
> [...]
> Maybe the selection for RSA is in some way bound to the strength of
> the RSA key too. We have tested with Let's Encrypt (using RSA2048
> key -- for which SHA256 should be a matching choice).

Emil has now created a certificate with RSA8192 key for his server.
OpenSSL still chose SHA256 as hash algorithm for protocol signatures
(with "tlspreferserverciphers: true"). Connect with s_client:

| [...]
| Peer signing digest: SHA256
                       ^^^^^^
| Peer signature type: RSA-PSS
| Server Temp Key: X25519, 253 bits
| [...]
| New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
| Server public key is 8192 bit
| [...]

Re: [INN] TLS Signature algorithm selection
#87888
Author: Julien ÉLIE
Date: Thu, 15 Nov 2018 13:26
30 lines
2447 bytes
Hi Michael,
>> Maybe the selection for RSA is in some way bound to the strength of
>> the RSA key too. We have tested with Let's Encrypt (using RSA2048
>> key -- for which SHA256 should be a matching choice).
> 
> Emil has now created a certificate with RSA8192 key for his server.
> OpenSSL still chose SHA256 as hash algorithm for protocol signatures
> (with "tlspreferserverciphers: true"). Connect with s_client:
> 
> | [...]
> | Peer signing digest: SHA256
>                         ^^^^^^
> | Peer signature type: RSA-PSS
> | Server Temp Key: X25519, 253 bits
> | [...]
> | New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
> | Server public key is 8192 bit
> | [...]

I see that NIST P-256 is no longer used, so OpenSSL has really selected 
that.  I do not know why; perhaps a question to ask on OpenSSL users 
mailing-list?

-- 
Julien ÉLIE

« Petite annonce : Femme perdue cherche cartographe pour planifier
   leur futur. »

Re: [INN] TLS Signature algorithm selection
#87891
Author: Michael Bäuerle
Date: Wed, 21 Nov 2018 22:11
38 lines
2623 bytes
Julien ÉLIE wrote:
> Michael Bäuerle wrote:
> > Julien ÉLIE wrote:
> > > 
> > > Maybe the selection for RSA is in some way bound to the strength of
> > > the RSA key too. We have tested with Let's Encrypt (using RSA2048
> > > key -- for which SHA256 should be a matching choice).
> > 
> > Emil has now created a certificate with RSA8192 key for his server.
> > OpenSSL still chose SHA256 as hash algorithm for protocol signatures
> > (with "tlspreferserverciphers: true"). Connect with s_client:
> > 
> > | [...]
> > | Peer signing digest: SHA256
> >                        ^^^^^^
> > | Peer signature type: RSA-PSS
> > | Server Temp Key: X25519, 253 bits
> > | [...]
> > | New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
> > | Server public key is 8192 bit
> > | [...]
> 
> I see that NIST P-256 is no longer used, [...]

X25519 should be the default for ECDHE key exchange with TLSv1.3.

For the signatures OpenSSL cannot use ECC at all here (because there was
only a certificate with RSA key).



BTW: Emil has tested your new "tlsciphers13" option and it works (AES in
CCM mode can now be negotiated with flnews):
| 
| [...]
| flnews: TLS: Using protocol: TLSv1.3 with cipher suite TLS_AES_128_CCM_SHA256                                                                                 

Re: [INN] TLS Signature algorithm selection
#87892
Author: Julien ÉLIE
Date: Thu, 22 Nov 2018 13:18
19 lines
2141 bytes
Hi Michael,
> BTW: Emil has tested your new "tlsciphers13" option and it works (AES in
> CCM mode can now be negotiated with flnews):
> |
> | [...]
> | flnews: TLS: Using protocol: TLSv1.3 with cipher suite TLS_AES_128_CCM_SHA256

Glad to here that.  You can transmit him my thanks for his testing of 
this feature not yet released.
Maybe he'll now use server preferences with the same list a client would 
send :)

-- 
Julien ÉLIE

« Être raisonnable en toutes circonstances. Il faudrait être
   fou… » (Raymond Devos)

Re: [INN] TLS Signature algorithm selection
#87893
Author: Emil Schuster
Date: Fri, 23 Nov 2018 14:40
20 lines
1775 bytes
Julien ÉLIE wrote:

> Maybe he'll now use server preferences with the same list a client 
> would send :)
> 

As requested ;-)

|tlsciphers13: TLS_CHACHA20_POLY1305_SHA256
results in
|flnews: TLS: Using protocol: TLSv1.3 with cipher suite TLS_CHACHA20_POLY1305_SHA256

|#tlsciphers13:
results in
|flnews: TLS: Using protocol: TLSv1.3 with cipher suite TLS_AES_256_GCM_SHA384

-- 
Emil

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads