Bug 1179303

Summary: Utilize system-wide crypto-policies
Product: [Fedora] Fedora Reporter: Nikos Mavrogiannopoulos <nmavrogi>
Component: gwenhywfarAssignee: Bill Nottingham <notting>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: notting
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-30 03:43:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1179209    

Description Nikos Mavrogiannopoulos 2015-01-06 14:42:11 UTC
Please convert this application to use the system's crypto policy for SSL and TLS:
https://fedoraproject.org/wiki/Packaging:CryptoPolicies

If this program is compiled against gnutls, change the default priority string to be "@SYSTEM" or to use gnutls_set_default_priority().

If this program is compiled against openssl, and there is no default cipher list specified, you don't need to modify it. Otherwise replace the default cipher list with "PROFILE=SYSTEM".

In both cases please verify that the application uses the system's crypto policies.

If the package is already using the system-wide crypto policies, or it does not use SSL or TLS, no action is required, the bug can simply be closed.

Comment 1 Bill Nottingham 2015-01-06 15:17:37 UTC
How does one 'verify' that it's using the system crypto policy?

Are there dependencies that should be set that ensure it's not used on an older release that doesn't support it?

Comment 2 Nikos Mavrogiannopoulos 2015-01-06 15:27:56 UTC
The easiest to verify is switch to the FUTURE policy and test with various servers. Most connections will fail because of insufficient security (e.g., to www.amazon.com). Switching back to default would make that work again.

Crypto policies are supported from F21 and later.

Comment 3 Nikos Mavrogiannopoulos 2015-01-06 15:29:13 UTC
If you mean about source code dependencies, if you use gnutls_set_default_priority() by default, it is available on almost all gnutls versions.

Comment 4 Bill Nottingham 2015-06-30 03:43:24 UTC
Closing as WORKSFORME, same logic as 1179275.