Giter Club home page Giter Club logo

Comments (7)

nitnelave avatar nitnelave commented on June 18, 2024

It's not currently supported, no, but as you have seen, it was taken into account when designing.

from lldap.

andreax79 avatar andreax79 commented on June 18, 2024

It would be a great feature.
Probably more fields are required fot TOTP:

  • MfaType => TOTP, ...
  • Algorithm (SHA1, SHA256, SHA512)
  • Number of digits (e.g. 6 or 8 digits)
  • Period (e.g. 30 seconds)

from lldap.

nitnelave avatar nitnelave commented on June 18, 2024

This would only be for logging in to LLDAP, right? Not using LLDAP as a storage for secrets for other TOTP logins.

In that case, we'd probably hardcode most of these parameters with safe defaults to simplify the implementation.

Note that I don't have any intent on implementing that right now, but contributions are welcome.

from lldap.

andreax79 avatar andreax79 commented on June 18, 2024

I'm thinking about something similar to slapo-otp,
where TOTOP is used in conjunction with the LDAP password for two-factor authentication.

from lldap.

nitnelave avatar nitnelave commented on June 18, 2024

Oh, I see what you mean: you want to provide a default, centralized TOTP for use in many applications. That's quite different from what I had in mind (TOTP limited to logging in to LLDAP in the web front-end).

Something that comes to mind, though: How do you provide the TOTP to LLDAP to validate? Especially through the LDAP interface. Most services do not implement that, and probably will not. How do you imagine the user experience?

from lldap.

andreax79 avatar andreax79 commented on June 18, 2024

Some years ago I created something similar for authenticating OpenVPN using password + TOTP.
The users enter as password: password + separator (space) + TOTP
The separtor was optional because the TOTP lengh is know, but our users always insert a space between the password and the TOTP :)
The autentication was done with a python script performing the autentication (with the password) on LDAP and the TOTP check with a local db.

from lldap.

nitnelave avatar nitnelave commented on June 18, 2024

Although it would technically work, it would be a hard flow to explain to users: there is no dedicated TOTP field, it doesn't play very well with password managers and so on. I feel that the use case is a bit too niche for LLDAP.

from lldap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.