Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449866 - dev-libs/nss-3.14 rejects MD5 hashes in certificates by default
Summary: dev-libs/nss-3.14 rejects MD5 hashes in certificates by default
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-02 23:34 UTC by Jörg Ahrens
Modified: 2013-01-07 16:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Ahrens 2013-01-02 23:34:57 UTC
pls. see https://developer.mozilla.org/en-US/docs/NSS/NSS_3.14_release_notes

www-client/firefox-10.0.11 links libnss3.so and so FF does not connect to servers using such a certificate with a very ambiguous error message. Thats not a bug, at least not a Gentoo bug but a security feature. Btw: the workaround mentioned in above URL (NSS_HASH_ALG_SUPPORT=+MD5) does work.

But: 
- firefox-bin 10.0.11 comes bundled with nss 3.13 which accepts certs with MD5 hashes.
- firefox 17.0.1 accepts certs with MD5 even when nss 3.14 is installed (didn't research why)
- FF bindists from mozilla.org (for instance for OSX) come bundeled with nss 3.13-

So it would be helpful to get a notice after installing nss 3.14 and / or firefox 10.0.11 about this behavior and the workaround.
Comment 1 Jory A. Pratt gentoo-dev 2013-01-07 16:05:44 UTC
The rejection is for plain MD5 not HMAC-MD5, I am not in the business of asking a user to compromise security. It is not recommended upstream and sure is not recommended by Gentoo either due for the same security issues that come with using plain hashes.