Article View: news.software.nntp
Article #87885Re: [INN] TLS Signature algorithm selection
From: Michael Bäuerle
Date: Sun, 11 Nov 2018 11:19
Date: Sun, 11 Nov 2018 11:19
53 lines
3437 bytes
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>
Technical Details
Message-ID:
<AABb6BA7ERAAAAiG.A1.flnews@Server4.micha.freeshell.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mailReferences:
<AABbZFbxOtIAAB1o.A1.flnews@WStation5.stz-e.de> <pr58lj$ohh$1@news.trigofacile.com> <AABb1wvPmJQAAAbe.A1.flnews@WStation5.stz-e.de> <ps7l0g$lk3$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <AABb6BA7ERAAAAiG.A1.flnews@Server4.micha.freeshell.org> Subject: Re: [INN] TLS Signature algorithm selection Date: Sun, 11 Nov 2018 11:19:23 -0000 From: Michael Bäuerle <michael.baeuerle@gmx.net> References: <AABbZFbxOtIAAB1o.A1.flnews@WStation5.stz-e.de> <pr58lj$ohh$1@news.trigofacile.com> <AABb1wvPmJQAAAbe.A1.flnews@WStation5.stz-e.de> <ps7l0g$lk3$1@news.trigofacile.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail Newsgroups: news.software.nntp Lines: 51 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=fixed Content-Transfer-Encoding: 8bit X-Trace: individual.net +U8Kx805dHlrSz6qGPMDhQZIa8hjtJyDTAxgRzu6o3xsXiUl6y X-Orig-Path: not-for-mail Cancel-Lock: sha256:0cSwGSLSOKKV17Mj4IarmDiKY2sSPcOPCt11skAYU04= sha1:+/IiTZNIfh7OJHs8a/gMz77TwVo= Injection-Date: Sun, 11 Nov 2018 11:19:23 -0000 User-Agent: flnews/0.15 (for HP-UX) X-Received-Bytes: 3328 X-Received-Body-CRC: 2844883493