Article View: news.software.nntp
Article #87499Re: Draft -00 for modernizing TLS usage with NNTP
From: Julien ÉLIE
Date: Fri, 29 Jul 2016 19:54
Date: Fri, 29 Jul 2016 19:54
83 lines
4639 bytes
4639 bytes
Hi Michael,
>> Maybe I should also add "signature algorithms and elliptic curves to
>> accept"?
>
> For certificate based authentication there are more things to check.
Isn't RFC 7525 enough for that? My proposed draft explicitly includes
it (at the beginning of Section 2):
The best current practices documented in the "Recommendations for
Secure Use of TLS and DTLS" [RFC7525] are included here by reference.
Instead of repeating those recommendations here, this document mostly
provides supplementary information regarding secure implementation
and deployment of NNTP technologies.
Let's check below that your checks are all mentioned in RFC 7525.
> If the key in a certificate is too weak, the connection is rejected.
> The threshold (currently 1024 bit) should become a config parameter
> too.
It is level 1 of SSL_CTX_set_security_level() you mentioned in another
message. Thanks for that pointer too!
Section 4.1 "General Guidelines":
o Implementations SHOULD NOT negotiate cipher suites that use
algorithms offering less than 128 bits of security.
Looks like it SHOULD be level 3 then (3072 bits). I doubt many
implementations already enforce that strength.
> If the hostname does not match the Subject of the certificate, the
> connection is rejected. OpenSSL 1.0.x doesn't check it internally.
Section 6.1 "Host Name Validation":
Application authors should take note that some TLS implementations do
not validate host names. If the TLS implementation they are using
does not validate host names, authors might need to write their own
validation code or consider using a different TLS implementation.
[...]
Host name validation typically applies only to the leaf "end entity"
certificate. Naturally, in order to ensure proper authentication in
the context of the PKI, application clients need to verify the entire
certification path in accordance with [RFC5280] (see also [RFC6125]).
> Revocation checks are the most annoying thing.
> But for individual.net it works fine (and fast, because the CRLs are
> small and downloaded in less than a second)
Delt with Section 6.5 "Certificate Revocation":
o Although Certificate Revocation Lists (CRLs) are the most widely
supported mechanism for distributing revocation information, they
have known scaling challenges that limit their usefulness (despite
workarounds such as partitioned CRLs and delta CRLs).
Yeah, like you noted :)
> CRL handling on-the-fly is ugly with OpenSSL. Simply continue here would
> use the old CRLs.
Do you know whether they improved that in 1.1.0? (Did you try to ask in
the openssl-users mailing-list how to do that cleanly? otherwise, to
plan to improve that in a future version?)
--
Julien ÉLIE
« La libertad, Sancho, es uno de los más preciosos dones que a los
hombres dieron los cielos; con ella no pueden igualarse los tesoros
que encierran la tierra y el mar: por la libertad, así como por la
honra, se puede y debe aventurar la vida. » (Miguel de Cervantes
Saavedra)
Technical Details
Message-ID:
<nngc8o$vij$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-mailReferences:
<nn0m6t$j5k$1@news.trigofacile.com> <AABXlKRk3K0AAAnJ.A1.flnews@Server4.micha.freeshell.org> <nn5rfs$as7$1@news.trigofacile.com> <AABXlzwYKRUAABSK.A1.flnews@WStation5.stz-e.de> <nn8g42$913$1@news.trigofacile.com> <AABXmI8tX18AAC+v.A1.flnews@WStation5.stz-e.de>Show Full Headers
Complete Article Headers
Message-ID: <nngc8o$vij$1@news.trigofacile.com> Subject: Re: Draft -00 for modernizing TLS usage with NNTP Date: Fri, 29 Jul 2016 21:54:13 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <nn0m6t$j5k$1@news.trigofacile.com> <AABXlKRk3K0AAAnJ.A1.flnews@Server4.micha.freeshell.org> <nn5rfs$as7$1@news.trigofacile.com> <AABXlzwYKRUAABSK.A1.flnews@WStation5.stz-e.de> <nn8g42$913$1@news.trigofacile.com> <AABXmI8tX18AAC+v.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=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Fri, 29 Jul 2016 19:54:00 -0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="2a01cb080103c80025925f3ba2734145.ipv6.abo.wanadoo.fr:2a01:cb08:103:c800:2592:5f3b:a273:4145"; logging-data="32339"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <AABXmI8tX18AAC+v.A1.flnews@WStation5.stz-e.de> X-Received-Bytes: 4537 X-Received-Body-CRC: 4208476355