Bug 1449148

Summary: knot-utils: switch to libidn2
Product: [Fedora] Fedora Reporter: Nikos Mavrogiannopoulos <nmavrogi>
Component: knotAssignee: Paul Wouters <pwouters>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: jv+fedora, nicki, pspacek, pwouters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-22 13:06:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1439723    

Description Nikos Mavrogiannopoulos 2017-05-09 09:45:38 UTC
Description of problem:
Internationalized domain names exist for quite some time (IDNA2003), although the protocols describing them have evolved in an incompatible way (IDNA2008). These incompatibilities will prevent applications written for IDNA2003 to access certain problematic domain names defined with IDNA2008, e.g., faß.de is translated to domain xn--fa-hia.de with IDNA2008, while in IDNA2003 it is translated to fass.de domain. That not only causes incompatibility problems, but may be used as an attack vector to redirect users to different web sites.

The change is about deprecating libidn, which supports IDNA2003, and switch all applications using libidn, to libidn2 2.0.0, which supports IDNA2008. The switch should be transparent as the libidn2 library is API compatible. See instructions at:
https://libidn.gitlab.io/libidn2/manual/libidn2.html#Converting-from-libidn


This is part of the IDNA2008 change:
https://fedoraproject.org/wiki/Changes/IDNA2008

If upstream is not aware of that change please involve them on the process.

Comment 1 Petr Špaček 2017-05-09 11:46:35 UTC
Please contact upstream here:
https://gitlab.labs.nic.cz/labs/knot/issues

Comment 2 Nikos Mavrogiannopoulos 2017-05-30 12:39:38 UTC
(In reply to Petr Špaček from comment #1)
> Please contact upstream here:
> https://gitlab.labs.nic.cz/labs/knot/issues

Hi Petr,
 I'm reporting this issue to the maintainers of the packages on the distribution. If you think this package has no maintainer please let me know. I do not want to get in touch with all the upstreams involved, though I am available to answer any questions if required.

Comment 3 Petr Špaček 2017-05-30 15:36:23 UTC
Ah, my bad. I've updated this bug instead of the 'blocking' one. Sorry for the noise.

Comment 4 Jan Kurik 2017-08-15 07:42:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 5 Nikos Mavrogiannopoulos 2017-11-23 08:32:15 UTC
Hi Paul,
 Has this been addressed or forwarded to upstream?

Comment 6 Nicki Křížek 2018-01-22 13:06:54 UTC
This has been fixed since 2.5.3-1

https://src.fedoraproject.org/rpms/knot/c/962215f3dd895cb9c70a61b928c3c637d6e31cd2?branch=master