Bug 871826

Summary: gnutls tries to negotiate non-FIPS algorithms in FIPS mode, breaking connection
Product: [Fedora] Fedora Reporter: Dan Winship <danw>
Component: gnutlsAssignee: Tomas Mraz <tmraz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jorton, tmraz
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: 2012-12-20 16:07:51 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:

Description Dan Winship 2012-10-31 13:32:32 UTC
When running in FIPS mode, gnutls does not adjust its set of negotiated ciphersuites, meaning in some cases it will negotiate a ciphersuite using a forbidden algorithm, and then it hits an internal error and fails the handshake when it reaches ChangeCipherSpec.

Although it's possible to work around this at higher levels, it seems like gnutls ought to do this automatically, right?

Comment 1 Tomas Mraz 2012-10-31 13:59:49 UTC
Can you give a concrete example? I cannot reproduce it with gnutls-cli on a few public TLS servers I tried.

Comment 2 Dan Winship 2012-10-31 14:45:29 UTC
eg, for both bugzilla.gnome.org and google.com it negotiates RSA_ARCFOUR_SHA1 and then fails

But "gnutls-cli --priority 'NORMAL:-ARCFOUR-128' bugzilla.gnome.org" will succeed with RSA_AES_256_CBC_SHA1

Comment 3 Fedora Update System 2012-11-01 10:49:27 UTC
gnutls-2.12.20-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/gnutls-2.12.20-4.fc18

Comment 4 Fedora Update System 2012-11-01 18:29:35 UTC
Package gnutls-2.12.20-4.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gnutls-2.12.20-4.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17433/gnutls-2.12.20-4.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-12-20 16:07:52 UTC
gnutls-2.12.20-4.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.