Giter VIP home page Giter VIP logo

Comments (8)

moritori avatar moritori commented on June 7, 2024 1

@selvanair: thanks for your detailed explanation. I got it working now with "client-pending-auth" and a cr_text challenge and can confirm that it is working as expected without username and password.

from openvpn.

cron2 avatar cron2 commented on June 7, 2024

from openvpn.

moritori avatar moritori commented on June 7, 2024

That is fantastic news. Thank you! What about (2)?

from openvpn.

cron2 avatar cron2 commented on June 7, 2024

from openvpn.

moritori avatar moritori commented on June 7, 2024

No worries and thanks for your effort.

That would also work for our case, however we don't want to have the need to enter the username but have it derived from the certificate as is the default behavior.

from openvpn.

selvanair avatar selvanair commented on June 7, 2024

Static challenge is intimately coupled with auth-user-pass and cannot be used without it. Also embedding username/password with static-challenge enabled will work only for users who run from command line (and possibly via systemd). When using a UI that talks to the management interface (like Windows OpenVPN-GUI), the challenge will not get queried if user/pass are embedded or read from a file.

For your use case, it may be better to send a CR_TEXT challenge form the server using client-pending-auth via management interface. For details see: https://github.com/OpenVPN/openvpn/blob/master/doc/management-notes.txt It will require some re-thinking of how server-side verification is implemented.

from openvpn.

schwabe avatar schwabe commented on June 7, 2024

Yes. As @selvanair explains it is very unlikely that we improve the old 2FA methods since we now have the much more flexible pending auth/crtext method.

from openvpn.

schwabe avatar schwabe commented on June 7, 2024

Closing the issue since the features are already implemented.

from openvpn.

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.