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

python 3 support? #50

Closed
barrydegraaff opened this issue Jan 22, 2019 · 5 comments
Closed

python 3 support? #50

barrydegraaff opened this issue Jan 22, 2019 · 5 comments

Comments

@barrydegraaff
Copy link

It looks like privacyidea-ldap-proxy is based on Python 2. Are there any plans to port it to Python 3?

@plettich
Copy link
Member

Hi,
we are currently working on the privacyIDEA code to get it working with Python 3. If that works well, we will focus on the plugins.

@fredreichbier
Copy link
Contributor

Adding to that: The LDAP proxy is implemented using Twisted and ldaptor, which both are currently being ported to Python 3, and I'm not sure about the current status.

@iomarmochtar
Copy link

You can consider to use ldapjs (node library) for proxify the ldap request, i have use it several times as backend for service that doesn't have authentication backend except ldap protocol.

@lheckemann
Copy link
Contributor

lheckemann commented Dec 25, 2020

Both privacyIDEA and ldaptor now support python 3. Has anyone done any work on porting privacyidea-ldap-proxy as well?

EDIT: I didn't find anything in https://github.com/privacyidea/privacyidea-ldap-proxy/network so I've started it myself, see #54.

Ma27 added a commit to Ma27/nixpkgs that referenced this issue May 9, 2021
While `privacyidea-ldap-proxy` only works on `python2`[1], `privacyidea`
itself works fine with `python3`, however it needs version one of
`pyjwt`[2], so I had to add `pyjwt1` which was already packaged for
`python2`[3] to the `python3` package-set. I think that's fine though
since `python2` should be only used when actually needed which isn't the
case here.

Closes NixOS#122250

[1] privacyidea/privacyidea-ldap-proxy#50
[2] privacyidea/privacyidea#2629
[3] bf9b6b1
@cornelinux
Copy link
Member

This is done by the PR #54

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

6 participants