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 1405959 - With FUTURE system crypto policy, connections to github, getfedora.org fail
Summary: With FUTURE system crypto policy, connections to github, getfedora.org fail
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: fedora-crypto-policies
TreeView+ depends on / blocked
 
Reported: 2016-12-19 10:04 UTC by Tomasz Torcz
Modified: 2017-01-10 13:21 UTC (History)
3 users (show)

Fixed In Version: gnutls-3.5.8-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-10 13:21:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1405956 0 unspecified CLOSED wget calls gnutls_priority_set() multiple times 2022-05-16 11:32:56 UTC

Description Tomasz Torcz 2016-12-19 10:04:48 UTC
Description of problem:
As per https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/VP6URPLIMH5XARDTBBJKBOUVNIS5OLCH/ thread, when system crypto-policy is set to FUTURE, wget fails to connect to github and fedoraproject.org:

$ update-crypto-policies --set FUTURE
Setting system policy to FUTURE

$ wget github.org
--2016-12-19 11:00:22--  http://github.org/
Resolving github.org (github.org)... 188.166.203.69
Connecting to github.org (github.org)|188.166.203.69|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com [following]
--2016-12-19 11:00:22--  https://github.com/
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
ERROR: The certificate of 'github.com' is not trusted.
ERROR: The certificate of 'github.com' was signed using an insecure algorithm.


$ wget https://fedoraproject.org
--2016-12-19 11:00:32--  https://fedoraproject.org/
Resolving fedoraproject.org (fedoraproject.org)... 2604:1580:fe00:0:dead:beef:cafe:fed1, 2605:bc80:3010:600:dead:beef:cafe:fed9, 2610:28:3090:3001:dead:beef:cafe:fed3, ...
Connecting to fedoraproject.org (fedoraproject.org)|2604:1580:fe00:0:dead:beef:cafe:fed1|:443... connected.
ERROR: The certificate of 'fedoraproject.org' is not trusted.
ERROR: The certificate of 'fedoraproject.org' was signed using an insecure algorithm.



Version-Release number of selected component (if applicable):
crypto-policies-20160921-2.git75b9b04.fc25.noarch
wget-1.18-2.fc25.x86_64
gnutls-3.5.7-3.fc25.x86_64

How reproducible:
Always

Steps to Reproduce:
1. update-crypto-policies --set FUTURE
2. wget github.org
3.

Actual results:
See above.

Expected results:
Secure connection should be established.

Additional info:

Comment 1 Nikos Mavrogiannopoulos 2016-12-19 10:24:53 UTC
Although the underlying issue is the fact that wget overwrites the system policies with its own which are more lax, the functionality issue (connection problem #1405956) can be fixed in gnutls [0]. I will include it to the next rebase of the component.

[0]. https://gitlab.com/gnutls/gnutls/merge_requests/195

Comment 2 Fedora Update System 2017-01-09 13:48:59 UTC
gnutls-3.5.8-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-88f1664dd4

Comment 3 Fedora Update System 2017-01-10 03:27:49 UTC
gnutls-3.5.8-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-2017-88f1664dd4

Comment 4 Fedora Update System 2017-01-10 13:21:28 UTC
gnutls-3.5.8-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.