Red Hat Bugzilla – Bug 1434409
Rebase to current upstream, need JWK.from_pyca()
Last modified: 2018-04-10 07:38:30 EDT
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.
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'>>
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