Article View: alt.free.newsservers
Article #160858Re: Question for Steve Crook as to how people can post to Mixmin using 563 on iOS
From: Michael Baeuerle
Date: Fri, 25 Sep 2015 11:07
Date: Fri, 25 Sep 2015 11:07
88 lines
4887 bytes
4887 bytes
Winston_Smith wrote:
> On Fri, 25 Sep 2015 09:30:06 +0000, Winston_Smith wrote:
> >
> > This is an enigma since it's incontrovertible that the NewsTap
> > new agent is using the network layer of iOS (private communication
> > with the developer) and that Apple refuses to trust certificates signed
> > with the MD5 hash algorithm ( https://support.apple.com/en-us/TS4133 ).
>
> I don't have the knowledge to resolve the enigma that people seem to be
> able to post to Mixmin using NewsTap on iOS when iOS doesn't trust any
> MD5-signed certificates.
>
> But this web site gives us another reliable datapoint:
> https://www.sslshopper.com/article-check-ssl-certificates-for-the-vulnerable-md5-algorithm.html
>
> Entering "news.mixmin.net:563" into the test box, outputs the following:
> http://i.imgur.com/bh8W4Wg.jpg
>
> SERVER:
> Common name: news.mixmin.net
> SANs: news.mixmin.net, othername:<unsupported>
> Valid from May 19, 2015 to November 15, 2015
> Serial Number: 1092736 (0x10ac80)
> Signature Algorithm: sha512WithRSAEncryption
> Issuer: CA Cert Signing Authority
>
> CHAIN:
> Common name: CA Cert Signing Authority
> Organization: Root CA
> Valid from March 30, 2003 to March 29, 2033
> Serial Number: 0 (0x0)
> Signature Algorithm: md5WithRSAEncryption
> Issuer: CA Cert Signing Authority
>
> Would someone who understands this stuff better than I do explain whether it
> matters for this purpose that the "server" uses SHA-signed signatures while
> the "chain" uses MD5-signed signatures?
In this case there is no problem with MD5 because it is only used for
the self signature of the root certificate.
And the self signature of the root certificate don't need to be checked
because it is always trusted as long as it is installed on the system.
A few month ago I made the same mistake and believed that the signature
algorithm listed in the root certificate is the one used to sign other
certificates. But this is not the case!
What is used to sign the servers certificate is the RSA key from the
root certificate (that has 4096 bit and can be considered strong) and
the hash algorithm SHA512 (that can be considered strong too).
I have implemented this into my newsreader with some diagnostic output.
For Mixmin it shows this:
|
| flnews: TLS: OpenSSL library version: 1.0.2d (0x1000204F)
| flnews: TLS: Location of X.509 CRLs: ~/.flnews/crls/
| flnews: TLS: Using protocol: TLSv1.2 with cipher suite DHE-RSA-AES256-GCM-SHA384
| flnews: TLS: Signature algorithm for key exchange: RSA-SHA512
| flnews: TLS: DH parameter size: 1024 bit
| flnews: TLS: Warning: DH parameters should be at least 3072 bit
| flnews: TLS: Certificate level 0 (Server) in chain:
| flnews: TLS: RSA key modulus size: 2048 bit
| flnews: TLS: Warning: RSA key modulus should be at least 3072 bit
| flnews: TLS: Signature algorithm: RSA-SHA512
| flnews: TLS: Certificate level 1 (Root) in chain:
| flnews: TLS: RSA key modulus size: 4096 bit
| flnews: TLS: Self signature is not used
^^^^^^^^^^^^^^^^^^^^^^^^^^
| [...]
The MD5 based signature of the root certificate is not a problem, it
would be a problem if the server certificate has such a signature.
What iOS is documented to reject should be such cases.
The RSA key of the server certificate has 2048 bit and should be strong
enough, but the really weak point in the above example is the DHE key
exchange (for the symmetric AES256 key).
Because iOS maybe negotiate another algorithm for key exchange, this may
be different on Apple devices!
Note that the warnings above are based on the AES128 symmetric cipher
as reference. Anything that the NIST consider as weaker in [1] generates
such a warning. If you don't agree with the NIST ratings, the warnings
are meaningless.
____________
[1] <http://www.keylength.com/en/4/>
Technical Details
Message-ID:
<AABWBSYnEKoAAAyw.A1.flnews@WStation3.stz-e.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mailReferences:
<mu317k$5fr$3@news.mixmin.net> <mu346u$ik8$1@news.mixmin.net> <mu354m$ik8$2@news.mixmin.net>Show Full Headers
Complete Article Headers
Message-ID: <AABWBSYnEKoAAAyw.A1.flnews@WStation3.stz-e.de> Subject: Re: Question for Steve Crook as to how people can post to Mixmin using 563 on iOS Date: Fri, 25 Sep 2015 11:07:38 +0000 From: Michael Baeuerle <michael.baeuerle@stz-e.de> References: <mu317k$5fr$3@news.mixmin.net> <mu346u$ik8$1@news.mixmin.net> <mu354m$ik8$2@news.mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail Newsgroups: alt.free.newsservers Lines: 88 Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net> Mime-Version: 1.0 X-Trace: individual.net 2xbGKsh4E3iJaaBXoSdB6QZmp/O8fgVo3tyALBXtvclIu2Aghb X-Orig-Path: not-for-mail Cancel-Lock: sha1:uEzH671j2zyj94HLNaaUyPMDzTA= sha1:78WuUvafiHXuxqYRfkiGd/rr1P4= Injection-Date: 25 Sep 2015 11:07:38 -0000 User-Agent: flnews/0.11pre54 (for GNU/Linux)