Bug 2192664
| Summary: | RHEL 9 is missing required python3-qrcode-core imaging dependency qrcode.image.pil | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Christopher A. Snapp <csnapp> |
| Component: | python-qrcode | Assignee: | Florence Blanc-Renaud <frenaud> |
| Status: | NEW --- | QA Contact: | Kaleem <ksiddiqu> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | frenaud, mhroncok, mjurasek, pviktori, python-maint, torsava |
| Target Milestone: | rc | ||
| 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: | 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: | |||
OK, as far as I understand things, the Multi-Factor Authentication might not need pillow, it only needs a way to export a QR code image. RHEL 9 includes python-qrcode 6.1 which requires pillow for generating such images. Later python-qrcode version uses pypng to generate PNG images and has support for pillow for more features that are likely not needed here. If we backported this pypng support (or rebased python-qrcode to a later version) and added pypng to RHEL 9, this would likely make generating QR code images possible for the Multi-Factor Authentication use case as well. https://github.com/lincolnloop/python-qrcode/commit/e0af4f0d878f6f8d30fe46c25c112266cbb39d40 https://src.fedoraproject.org/rpms/python-pypng (This comment does not represent a promise of doing this, it merely introduces a possible technical solution.) |
Description of problem: Multi-Factor Authentication (MFA) does not work on RHEL 9 due to missing qrcode.image.pil module. MFA works properly on RHEL 8 systems when python3-qrcode and python3-pillow packages are installed. Version-Release number of selected component (if applicable): RHEL 9 How reproducible: Always Actual results: Receive the following error when attempting to use Multi-Factor Authentication (MFA) on RHEL 9: No module named 'qrcode.image.pil' Expected results: MFA works properly on RHEL 9 systems when python3-qrcode-* package(s) are installed.