🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #87833

Re: [INN] TLS Signature algorithm selection

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

Technical Details
Message-ID: <plro32$rqu$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>

Show Full Headers
Complete Article Headers
Message-ID: <plro32$rqu$1@news.trigofacile.com>
Subject: Re: [INN] TLS Signature algorithm selection
Date: Sat, 25 Aug 2018 16:11:41 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
References: <AABbZFbxOtIAAB1o.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, 25 Aug 2018 14:11:46 -0000 (UTC)
Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb0800a77500200879d4d41ecb64.ipv6.abo.wanadoo.fr:2a01:cb08:a7:7500:2008:79d4:d41e:cb64";
 logging-data="28510"; 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: <AABbZFbxOtIAAB1o.A1.flnews@WStation5.stz-e.de>
Content-Language: fr
X-Received-Bytes: 2205
X-Received-Body-CRC: 1615717589