Bug 1394318 - Change in format of DN reporting in 3.5.6 breaks compatibility for libvirt
Summary: Change in format of DN reporting in 3.5.6 breaks compatibility for libvirt
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnutls
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nikos Mavrogiannopoulos
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-11 17:13 UTC by Daniel Berrangé
Modified: 2016-12-09 22:29 UTC (History)
2 users (show)

Fixed In Version: gnutls-3.5.7-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-09 22:29:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daniel Berrangé 2016-11-11 17:13:20 UTC
Description of problem:
Previously the client cert DN would get reported as

    C=UK,CN=libvirt

and with new version we're getting back

    CN=libvirt,C=UK

This is causing a regression for libvirt. The libvirt server has ablity
to set a whitelist against the DN string, against which we do a regex
match.

eg the sysadmin may have defined a whitelist of

    C=UK,CN=libvirt-client-*

to allow all certs issed to libvirt clients.

This change in DN ordering by gnutls breaks any existing whitelists
our admins have setup, as well as breaking the libvirt test suite
which validates this.

Also reported at https://lists.gnupg.org/pipermail/gnutls-devel/2016-November/008224.html

Just filing this bug to track request that 3.5.6 not be pushed to Fedora 25 updates

Version-Release number of selected component (if applicable):
3.5.6-1.fc25

Comment 1 Nikos Mavrogiannopoulos 2016-11-14 08:58:32 UTC
https://gitlab.com/gnutls/gnutls/merge_requests/140

Comment 4 Fedora Update System 2016-12-08 09:08:06 UTC
gnutls-3.5.7-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-4b4b8f7e3d

Comment 5 Fedora Update System 2016-12-08 19:26:36 UTC
gnutls-3.5.7-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-4b4b8f7e3d

Comment 6 Fedora Update System 2016-12-09 22:29:47 UTC
gnutls-3.5.7-1.fc25 has been pushed to the Fedora 25 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.