Bug 1434409

Summary: Rebase to current upstream, need JWK.from_pyca()
Product: Red Hat Enterprise Linux 7 Reporter: John Dennis <jdennis>
Component: python-jwcryptoAssignee: Christian Heimes <cheimes>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: mkosek, mreznik
Target Milestone: rcKeywords: Rebase
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-04-10 11:38:26 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:

Description John Dennis 2017-03-21 12:59:07 UTC
The current version of jwcrypto in RHEL 7.4 is 0.2.1 but our port of oauthlib to use jwcrypto uses JWK.from_pyca() first introduced in version 0.3.0 of jwcrypto.

To fix the missing functionality in our port of oauthlib to use jwcrypto we copied in code from the 0.3.2 version of jwcrypto. We need to get rid of the copied code and instead rely on the maintained system version of jwcrypto.

Note, this rebase is targeted for RHEL 7.5 but currently there is no 7.5 version target in bugzilla so it was set to RHEL 7.4.

Comment 7 Michal Reznik 2018-01-22 11:19:15 UTC
Verified on python-jwcrypto-0.4.2-1.el7.noarch

[root@testsystem ~]# python
Python 2.7.5 (default, Dec  8 2017, 16:39:59) 
[GCC 4.8.5 20150623 (Red Hat 4.8.5-25)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from jwcrypto.jwk import JWK
>>> JWK.from_pyca
<bound method type.from_pyca of <class 'jwcrypto.jwk.JWK'>>

Comment 10 errata-xmlrpc 2018-04-10 11:38:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHEA-2018:0723