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 1179229 - Utilize system-wide crypto-policies
Summary: Utilize system-wide crypto-policies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: jabberd
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adrian Reber
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: fedora-crypto-policies
TreeView+ depends on / blocked
 
Reported: 2015-01-06 13:05 UTC by Nikos Mavrogiannopoulos
Modified: 2018-04-11 12:20 UTC (History)
5 users (show)

Fixed In Version: jabberd-2.3.2-4.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-21 16:54:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
suggested patch (422 bytes, patch)
2015-02-26 10:58 UTC, Matěj Cepl
no flags Details | Diff

Description Nikos Mavrogiannopoulos 2015-01-06 13:05:49 UTC
Please convert 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 Adrian Reber 2015-01-20 20:14:16 UTC
As far as I can tell jabberd2 does not support specifying a cipher list anywhere in its configuration files. The cipher list is hardcoded.

Comment 2 Nikos Mavrogiannopoulos 2015-01-21 07:50:55 UTC
Then it should be hard coded to our accepted cipher list. Please, see the link in the packaging guidelines above.

Comment 3 Matěj Cepl 2015-02-26 10:58:00 UTC
Created attachment 995521 [details]
suggested patch

(In reply to Nikos Mavrogiannopoulos from comment #2)
> Then it should be hard coded to our accepted cipher list. Please, see the
> link in the packaging guidelines above.

spec file has 

BuildRequires:  openssl-devel

and I found this code:

// Set allowed ciphers
	if (SSL_CTX_set_cipher_list(ctx, "ALL:!LOW:!SSLv2:!EXP:!aNULL") != 1) {
        _sx_debug(ZONE, "Can't set cipher list for SSL context: %s", ERR_error_string(ERR_get_error(), NULL));
        SSL_CTX_free(ctx);
        return 1;
    }

so the attached patch should do The Right Thing™, right? Also, how old OpenSSL does support this? Will this work on RHEL-6?

Comment 4 Matěj Cepl 2015-02-26 11:10:45 UTC
According to discussion on IRC, this Fedora 21+ only,

Comment 5 Fedora Update System 2015-02-27 12:41:00 UTC
jabberd-2.3.2-4.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/jabberd-2.3.2-4.fc22

Comment 6 Fedora Update System 2015-02-27 19:43:31 UTC
Package jabberd-2.3.2-4.fc22:
* should fix your issue,
* was pushed to the Fedora 22 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing jabberd-2.3.2-4.fc22'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-2761/jabberd-2.3.2-4.fc22
then log in and leave karma (feedback).

Comment 7 Jaroslav Reznik 2015-03-03 17:19:38 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22

Comment 8 Fedora Update System 2015-11-21 16:53:39 UTC
jabberd-2.3.2-4.fc22 has been pushed to the Fedora 22 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.