Bug 1591828

Summary: Stop bundling nimbus-jose-jwt 4.13.1, rebase on latest 5.12.
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: Backend.CoreAssignee: Ravi Nori <rnori>
Status: CLOSED CURRENTRELEASE QA Contact: Ondra Machacek <omachace>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.3.0CC: bugs, lsvaty, mperina
Target Milestone: ovirt-4.3.0Keywords: Rebase
Target Release: 4.3.0Flags: rule-engine: ovirt-4.3+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.3.0_alpha Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-13 07:45:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1592341    
Bug Blocks: 1460625    
Attachments:
Description Flags
nimbus-jose-jwt spec file
none
nimbus-jose-jwt spec file none

Description Sandro Bonazzola 2018-06-15 16:25:07 UTC
Created attachment 1451988 [details]
nimbus-jose-jwt spec file

oVirt Engine backend RPM is bundling nimbus-jose-jwt 4.13.1.
nimbus-jose-jwt 5.12 is already available and can be packaged as RPM (attaching spec file)

In order to get nimbus-jose-jwt accepted in fedora, latest version (5.12) needs to be packaged and then supported by ovirt-engine.

Comment 1 Sandro Bonazzola 2018-06-15 16:34:01 UTC
In order to help with testing, a build is running here: https://copr.fedorainfracloud.org/coprs/sbonazzo/nimbus-jose-jwt/

Comment 2 Sandro Bonazzola 2018-06-15 16:57:50 UTC
Created attachment 1452002 [details]
nimbus-jose-jwt spec file

Comment 3 Ondra Machacek 2019-01-16 16:31:02 UTC
$ rpm -qR ovirt-engine | grep nimbus
nimbus-jose-jwt >= 5.12

$ rpm -qi nimbus-jose-jwt
Name        : nimbus-jose-jwt
Version     : 5.12
Release     : 3.el7ev
Architecture: noarch
Install Date: Wed 16 Jan 2019 06:54:29 AM IST
Group       : Unspecified
Size        : 367755
License     : ASL 2.0
Signature   : RSA/SHA256, Thu 06 Sep 2018 01:43:02 PM IDT, Key ID 199e2f91fd431d51
Source RPM  : nimbus-jose-jwt-5.12-3.el7ev.src.rpm
Build Date  : Thu 06 Sep 2018 11:58:02 AM IDT
Build Host  : x86-039.build.eng.bos.redhat.com
Relocations : (not relocatable)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Vendor      : Red Hat, Inc.
URL         : https://bitbucket.org/connect2id/nimbus-jose-jwt/wiki/Home
Summary     : Nimbus JOSE+JWT
Description :
Java library for Javascript Object Signing and Encryption (JOSE)
and JSON Web Tokens (JWT)

$ rpm -ql ovirt-engine-backend | grep nimbus
/usr/share/ovirt-engine/modules/common/com/nimbusds
/usr/share/ovirt-engine/modules/common/com/nimbusds/main
/usr/share/ovirt-engine/modules/common/com/nimbusds/main/module.xml
/usr/share/ovirt-engine/modules/common/com/nimbusds/main/nimbus-jose-jwt.jar

$ ll /usr/share/ovirt-engine/modules/common/com/nimbusds/main/nimbus-jose-jwt.jar
lrwxrwxrwx. 1 root root 51 Jan 16 06:54 /usr/share/ovirt-engine/modules/common/com/nimbusds/main/nimbus-jose-jwt.jar -> /usr/share/java/nimbus-jose-jwt/nimbus-jose-jwt.jar

$ rpm -ql nimbus-jose-jwt | grep nimbus-jose-jwt.jar
/usr/share/java/nimbus-jose-jwt/nimbus-jose-jwt.jar

Comment 4 Sandro Bonazzola 2019-02-13 07:45:07 UTC
This bugzilla is included in oVirt 4.3.0 release, published on February 4th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.0 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.