Re:Getting an A+ on the SSL Labs test in Node.js and Io.js
by samch on Tuesday March 24, 2015 @11:35AM
(#9257234)
Just out of curiosity, why are you proposing that AES 128 is the one to go with? According to SSL Labs AES 256 is preferable and has broad support among browsers.
Re:Getting an A+ on the SSL Labs test in Node.js and Io.js
by davidben on Tuesday March 24, 2015 @12:00PM
(#9257431)
AES_128_GCM is much much preferable to AES_256_CBC. AES_256_GCM does not have broad support (not supported by Chrome or Firefox) and isn't really worth the performance tradeoff.
Re:Getting an A+ on the SSL Labs test in Node.js and Io.js
by count on Tuesday March 24, 2015 @01:40PM
(#9258122)
SSL Labs is judging what they consider absolute security (I assume - I can't speak for Ivan or Qualys), where Google/Mozilla/etc look heavily at performance and supportability.
Mozilla publishes their approach to what is 'best' here:
https://wiki.mozilla.org/Security/Server_Side_TLS
Re:Getting an A+ on the SSL Labs test in Node.js and Io.js
by tuxychandru on Tuesday March 24, 2015 @11:43AM
(#9257298)
This article points to an attack that applies to AES-256, but not 128.
https://www.schneier.com/blog/archives/2009/07/another_new_a...
Re:Getting an A+ on the SSL Labs test in Node.js and Io.js
by samch on Tuesday March 24, 2015 @11:53AM
(#9257381)
Except that the attack you mention has no bearing on the standard 14-round AES-256 that everybody uses.
Re:Getting an A+ on the SSL Labs test in Node.js and Io.js
by nailer on Tuesday March 24, 2015 @01:55PM
(#9258239)
Thanks. I'm actually porting the Moz guidelines to node in the next few days.
Re:Getting an A+ on the SSL Labs test in Node.js and Io.js
by nailer on Monday March 30, 2015 @06:08AM
(#9288590)
Done: https://www.npmjs.com/package/ssl-config
As another poster mentions, using AES-GCM with 128 bit keys is considered superior to using a 256 bit key without (though indeed, removing all 128 bit keys gets you 100% on the SSLLabs test).
See https://wiki.mozilla.org/Security/Server_Side_TLS#Prioritiza...
You want to make sure TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 is negotiated, at least where browsers support it. (It's spelled "ECDHE-RSA-AES128-GCM-SHA256" in OpenSSL.) There's a small handful of others that are also acceptable, but between ECDSA certificates being rare and CHACHA20_POLY1305 still being standardized, that's the one you want. All the rest are legacy baggage.
Mozilla has some server-side recommendations here: https://wiki.mozilla.org/Security/Server_Side_TLS