Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin is broken on Python 3.12 #50

Open
AaronAtDuo opened this issue Dec 5, 2024 · 0 comments
Open

Plugin is broken on Python 3.12 #50

AaronAtDuo opened this issue Dec 5, 2024 · 0 comments

Comments

@AaronAtDuo
Copy link
Contributor

Description

The plugin does not appear to work with Python 3.12, instead it errors out before 2FA can occur.
The error seems to be with the six.moves module not being importable.

Expected Behavior

Plugin should perform Duo 2FA

Actual Behavior

Plugin errors out in Python 3.12 with

Traceback (most recent call last):
  File "/opt/duo/duo_openvpn.py", line 21, in <module>
    from six.moves import http_client
ModuleNotFoundError: No module named 'six.moves'

Steps to Reproduce

  1. Install the plugin as documented on a system using Python 3.12 (such as Ubuntu 24)
  2. Attempt to invoke the plugin via authentication
  3. No 2FA occurs and see the above error in system logging

Workarounds

Downgrade Python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant