Git Product home page Git Product logo

Comments (5)

mrbaseman avatar mrbaseman commented on June 27, 2024

@fretn I'm just looking through old tickets. Is this still relevant? Wouldn't be an exported environment variable for the cookie be better than a --cookie command line option which again would be visible from ps -ef?

from openfortivpn.

fretn avatar fretn commented on June 27, 2024

yeah an environment variable would be better

but this is not really relevant anymore

from openfortivpn.

mrbaseman avatar mrbaseman commented on June 27, 2024

with an environment variable it's not much effort to implement either. can you try this branch? You can set an environment variable called SVPNCOOKIE which then taken instead of performing the login procedure. I have tried to test, but with my two factor authentication and client certificate password I guess I'm simply too slow when typing in the passwords.... At least the debug output shows the correct cookie, but I get a "403 Forbidden"

from openfortivpn.

fretn avatar fretn commented on June 27, 2024

Okay, Somewhere next week I'll try this. I'll have to dig up what and how I was trying to do this, the memory is a bit fuzzy in my brain :)

from openfortivpn.

DimitriPapadopoulos avatar DimitriPapadopoulos commented on June 27, 2024

@fretn I shall close this issue for now, since it is now possible to supply a cookie using the SVPNCOOKIE environment variable. Do not hesitate to reopen if you still encounter problems.

from openfortivpn.

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.