🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87884

Re: [INN] TLS Signature algorithm selection

#87884
From: 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." »

Technical Details
Message-ID: <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
References: <AABbZFbxOtIAAB1o.A1.flnews@WStation5.stz-e.de> <pr58lj$ohh$1@news.trigofacile.com> <AABb1wvPmJQAAAbe.A1.flnews@WStation5.stz-e.de>

Show Full Headers
Complete Article Headers
Message-ID: <ps7l0g$lk3$1@news.trigofacile.com>
Subject: Re: [INN] TLS Signature algorithm selection
Date: Sat, 10 Nov 2018 23:10:14 +0100
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <AABbZFbxOtIAAB1o.A1.flnews@WStation5.stz-e.de> <pr58lj$ohh$1@news.trigofacile.com> <AABb1wvPmJQAAAbe.A1.flnews@WStation5.stz-e.de>
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
Organization: TrigoFACILE -- http://www.trigofacile.com/
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 10 Nov 2018 22:10:25 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a775004c9cdb44d4a339cf.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:4c9c:db44:d4a3:39cf";
 logging-data="22147"; mail-complaints-to="abuse@trigofacile.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0)
 Gecko/20100101 Thunderbird/52.9.1
In-Reply-To: <AABb1wvPmJQAAAbe.A1.flnews@WStation5.stz-e.de>
Content-Language: fr
X-Received-Bytes: 3178
X-Received-Body-CRC: 238632906