Add GOST crypto algorithm support in NSS
Categories
(NSS :: Libraries, enhancement)
Tracking
(Not tracked)
People
(Reporter: grapvar, Assigned: grapvar)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Assignee | ||
Comment 1•16 years ago
|
||
Assignee | ||
Comment 2•16 years ago
|
||
Assignee | ||
Comment 3•16 years ago
|
||
Assignee | ||
Updated•16 years ago
|
Assignee | ||
Comment 4•16 years ago
|
||
Assignee | ||
Updated•16 years ago
|
Comment 5•16 years ago
|
||
Updated•16 years ago
|
Comment 6•16 years ago
|
||
Assignee | ||
Comment 7•16 years ago
|
||
Comment 8•16 years ago
|
||
Assignee | ||
Comment 9•16 years ago
|
||
Comment 10•16 years ago
|
||
Comment 11•16 years ago
|
||
Updated•16 years ago
|
Assignee | ||
Comment 12•16 years ago
|
||
Comment 13•16 years ago
|
||
Comment 14•15 years ago
|
||
Assignee | ||
Comment 15•15 years ago
|
||
Comment 16•15 years ago
|
||
Assignee | ||
Comment 17•15 years ago
|
||
Comment 18•15 years ago
|
||
Comment 19•15 years ago
|
||
Comment 20•13 years ago
|
||
Comment 21•13 years ago
|
||
Updated•4 years ago
|
Comment 22•4 years ago
|
||
It's WONTFIXed because of lack of up2date patches or because it shouldn't be included?
Comment 23•4 years ago
|
||
(In reply to Brian Smith (:briansmith, :bsmith, use NEEDINFO?) from comment #19)
Here is my understanding:
- Some laws require only GOST algorithms be used.
- Some websites (especially government websites in Russia) follow these
laws.- These same laws require that the implementations of the GOST algorithms
be certified by the Federal Security Service in Russia and probably by
analogous agencies in neighboring countries.- An implementation of the GOST algorithms without such certification may
or may not be a criminal offense.- A website that tries to comply with these regulations will have
certificate chains that use only GOST-approved hash and signature
algorithms. In other words, no existing CA root certificates would work for
these websites.Obviously, #4 is a big concern. It is expensive just to do the legal
research to find out whether we need to do the FSS certification and/or how
much it costs. And, #5 means that we probably need to have GOST-enabled CA
root certificates in the root cert store, in order for a GOST implementation
to make sense. Therefore, the alternative implementation strategy of
third-party (hopefully open source) PKCS#11 module seems to make much more
sense. But, I am not sure we will (always) support third-party PKCS#11
modules in Firefox Mobile. At the same time, we don't want people
distributing hacked versions of Firefox Mobile just to get this support
included. And, we would like to have some influence on the quality control
of the open-source PKCS#11 module supporting GOST if we are going to suggest
people add it. Lots of complications. :(
I did some research on #4, and here are the results for Russia:
A1. Possession of (and circulation of) crypto tools is not a criminal offense.
A2. A FSS license is required for either implementation, distribution or installation of crypto tools for profit. Failure to obtain such a license before engaging in any of this activities is a criminal offense (p. 171 of Criminal Code).
A3. A non-profit organization must also obtain a license, but its failure is a civil offense (p. 19.20 of Civil Offense Code).
A4. A private person doesn't need a license unless it is done for profit.
A5. Distribution of source code does not require license. Installation for own use is exempt from licensing (p.1 of License Regulation).
A6. NSS as a library is exempt from licensing if it is a part of a user-installable OS with open cryptographic specification (p.3 cl. g of License Regulation).
A7. NSS in Firefox is exempt from licensing as channel security software for non-critical infrastructure (p.3 cl. l of License Regulation).
A8. Absence of GOST implementation doesn't make a crypto tool exempt from licensing for implementation, binary distribution or installation.
A9. Certification is voluntarily.
There has been some changes in standards since the last patch. I can refresh patches if it can help to have GOST TLS in Firefox.
Comment 24•4 years ago
|
||
I think there has been a general move away from 'national crypto standards' at mozilla. Even Seed has been deprecated for mozilla NSS builds. It would be good for Ben or Martin to confirm this before Sergey goes to the work to refresh the patch. It wouldn't be fair to say 'the patch is out of date, so it's wontfix' followed by a new patch that either languishes or gets closed with 'we don't support national crypto standards' anymore. We probably be clear about the latter upfront.
bob
Comment 25•4 years ago
|
||
um, when we're gonna start removing _national_ institute of standards
algorithms?
I guess it's Daniel J. Bernstein or nothing from now on?
Comment 26•4 years ago
|
||
... 'we don't support national crypto standards' anymore ...
This seems to contradict 'As of this writing, NSS is now being retested to be recertified for the fifth time' from [1].
It is becoming a necessity to have GOST TLS in the browser in Russia. Most personal interactions with government are now online. The legislation requires GOST DSA in some cases . When GOST DSA is required, GOST TLS is also required. This implies Windows OS, a proprietary DSA software and either Yandex browser, chromium-gost or a third party add-on for Firefox at the moment. I would prefer a free software stack, but there is none available.
'NSS was the first open source cryptographic library to be FIPS certified' [1]. Why not become the first for GOST? There will be no new attack surface if there is no GOST CA in Firefox.
Description
•