Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1179314 - Utilize system-wide crypto-policies
Summary: Utilize system-wide crypto-policies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libmicrohttpd
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Niemueller
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: fedora-crypto-policies 1179344
TreeView+ depends on / blocked
 
Reported: 2015-01-06 14:56 UTC by Nikos Mavrogiannopoulos
Modified: 2015-03-29 04:27 UTC (History)
4 users (show)

Fixed In Version: libmicrohttpd-0.9.39-2.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-21 04:55:03 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to utilize @SYSTEM (797 bytes, patch)
2015-03-13 14:52 UTC, Zbigniew Jędrzejewski-Szmek
no flags Details | Diff

Description Nikos Mavrogiannopoulos 2015-01-06 14:56:48 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 Zbigniew Jędrzejewski-Szmek 2015-03-13 14:52:47 UTC
Created attachment 1001405 [details]
patch to utilize @SYSTEM

Comment 2 Nikos Mavrogiannopoulos 2015-03-13 14:56:06 UTC
An other approach which could also be sent upstream is to use:
gnutls_set_default_priority(session)

That way it avoids being Fedora-specific.

Comment 3 Zbigniew Jędrzejewski-Szmek 2015-03-13 14:59:31 UTC
Can you expand on that? At what point does this call need to happen? IIUC, gnutls_set_default_priority has to be called for each session separately. For a consumer of the µhttp library like systemd-journal-remote this is more complicated.

Comment 4 Nikos Mavrogiannopoulos 2015-03-13 15:06:02 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #3)
> Can you expand on that? At what point does this call need to happen? IIUC,
> gnutls_set_default_priority has to be called for each session separately.

You're right... Ignore my comment.

Comment 5 Fedora Update System 2015-03-16 15:42:00 UTC
libmicrohttpd-0.9.39-2.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/libmicrohttpd-0.9.39-2.fc22

Comment 6 Fedora Update System 2015-03-16 17:35:32 UTC
libmicrohttpd-0.9.39-2.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/libmicrohttpd-0.9.39-2.fc21

Comment 7 Fedora Update System 2015-03-18 10:22:43 UTC
Package libmicrohttpd-0.9.39-2.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libmicrohttpd-0.9.39-2.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-4035/libmicrohttpd-0.9.39-2.fc21
then log in and leave karma (feedback).

Comment 8 Fedora Update System 2015-03-21 04:55:03 UTC
libmicrohttpd-0.9.39-2.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-03-29 04:27:07 UTC
libmicrohttpd-0.9.39-2.fc21 has been pushed to the Fedora 21 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.