Bug 871826 - gnutls tries to negotiate non-FIPS algorithms in FIPS mode, breaking connection
Summary: gnutls tries to negotiate non-FIPS algorithms in FIPS mode, breaking connection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnutls
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-31 13:32 UTC by Dan Winship
Modified: 2012-12-20 16:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-20 16:07:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.