From Fedora Project Wiki
m (internal link cleaning)
 
Line 4: Line 4:


== Summary ==
== Summary ==
As it is now, the [http://fedoraproject.org/wiki/Changes/CryptoPolicy System-wide crypto policy] in F24 is only enforced by the OpenSSL and GnuTLS TLS libraries. To harmonize crypto in Fedora, NSS is enhanced to respect the settings of the system-wide crypto policy as well.
As it is now, the [[Changes/CryptoPolicy|System-wide crypto policy]] in F24 is only enforced by the OpenSSL and GnuTLS TLS libraries. To harmonize crypto in Fedora, NSS is enhanced to respect the settings of the system-wide crypto policy as well.


== Owner ==
== Owner ==
Line 34: Line 34:
== Detailed Description ==
== Detailed Description ==


As it is now, the [http://fedoraproject.org/wiki/Changes/CryptoPolicy System-wide crypto policy] in F24 is only enforced by the OpenSSL and GnuTLS TLS libraries. To harmonize crypto in Fedora, NSS is enhanced to respect the settings of the system-wide crypto policy as well.
As it is now, the [[Changes/CryptoPolicy|System-wide crypto policy]] in F24 is only enforced by the OpenSSL and GnuTLS TLS libraries. To harmonize crypto in Fedora, NSS is enhanced to respect the settings of the system-wide crypto policy as well.


After that change the administrator should be assured that any application that uses NSS will follow a policy that adheres to the configured profile.  
After that change the administrator should be assured that any application that uses NSS will follow a policy that adheres to the configured profile.  
Line 57: Line 57:


* Policies and guidelines:  
* Policies and guidelines:  
** [https://fedoraproject.org/wiki/Packaging:CryptoPolicies The packaging guidelines for crypto policies] need to be modified to include NSS in the list of libraries supporting the policies.
** [[Packaging:CryptoPolicies|The packaging guidelines for crypto policies]] need to be modified to include NSS in the list of libraries supporting the policies.
** The text "(note that adherence to the system-wide policies is work in progress for NSS libraries)" must be removed
** The text "(note that adherence to the system-wide policies is work in progress for NSS libraries)" must be removed
** The text "Currently the policies are restricted to applications using GnuTLS and OpenSSL" must be changed to include NSS.
** The text "Currently the policies are restricted to applications using GnuTLS and OpenSSL" must be changed to include NSS.
Line 98: Line 98:


== Documentation ==
== Documentation ==
* [http://fedoraproject.org/wiki/Changes/CryptoPolicy Fedora crypto policies description]
* [[Changes/CryptoPolicy|Fedora crypto policies description]]
* [https://fedoraproject.org/wiki/Packaging:CryptoPolicies Fedora crypto policies packaging guidelines]
* [[Packaging:CryptoPolicies|Fedora crypto policies packaging guidelines]]


== Release Notes ==
== Release Notes ==

Latest revision as of 20:30, 19 September 2016

NSS enforces the system-wide crypto policy

Summary

As it is now, the System-wide crypto policy in F24 is only enforced by the OpenSSL and GnuTLS TLS libraries. To harmonize crypto in Fedora, NSS is enhanced to respect the settings of the system-wide crypto policy as well.

Owner

Current status

Detailed Description

As it is now, the System-wide crypto policy in F24 is only enforced by the OpenSSL and GnuTLS TLS libraries. To harmonize crypto in Fedora, NSS is enhanced to respect the settings of the system-wide crypto policy as well.

After that change the administrator should be assured that any application that uses NSS will follow a policy that adheres to the configured profile.


Benefit to Fedora

With this change a Fedora system will have a consistent way of setting a default security profile for all NSS-depending applications. Overall this brings the NSS applications in par with the OpenSSL and GnuTLS with respect to system-wide policy adherence.


Scope

  • Proposal owners:

The change requires modifying the NSS library to read a policy generated by the crypto-policy package.

  • Other developers:

There are no required actions by other developers. The change requires only targeted changes to NSS.


  • Release engineering:

No actions required.

  • Policies and guidelines:
    • The packaging guidelines for crypto policies need to be modified to include NSS in the list of libraries supporting the policies.
    • The text "(note that adherence to the system-wide policies is work in progress for NSS libraries)" must be removed
    • The text "Currently the policies are restricted to applications using GnuTLS and OpenSSL" must be changed to include NSS.


  • Trademark approval:

N/A (not needed for this Change)

Upgrade/compatibility impact

Connection to legacy systems with NSS-applications may no longer be possible. This can be worked around by the administrator by switching from the DEFAULT to LEGACY crypto policy.

How To Test

Testing good operation

Test the good operation of NSS-linked applications (e.g., firefox, curl) to connect to various sites on the Internet. Test the good operation of evolution (mail - S/MIME).

Testing application of settings

  • Setup an HTTPS server with a legacy protocol that is disabled in F25 system wide policy (e.g., RC4, SSL 3.0)
  • Use an NSS-linked application to connect to that server (e.g., firefix, curl)
  • The connection should fail on F25 (may have succeeded on previous versions - something that depends on the application specific policy).


User Experience

Given that the system wide policy does disable obsolete ciphers and protocols, there should be no user noticeable result.

Dependencies

Several. Use "repoquery --whatrequires nss" for the dependency listing.

Contingency Plan

  • Contingency mechanism:

If the changes to NSS are not complete on time then NSS will remain the same without respecting the crypto policies in Fedora 25.

  • Contingency deadline: F25 alpha
  • Blocks release? Yes
  • Blocks product? N/A

Documentation

Release Notes

A proposal of notes is the following.

The release notes originally used in Crypto policies changes should be used, in addition to: "With this change a Fedora system will have a consistent way of setting a default security profile for all NSS-depending applications. Overall this brings the NSS applications in par with the OpenSSL and GnuTLS with respect to system-wide policy adherence."