Skip to content

Add password & totp arguments to the cli and enable hacks for duo 2fa injection#142

Open
calw20 wants to merge 13 commits intovlaci:masterfrom
calw20:pull_req
Open

Add password & totp arguments to the cli and enable hacks for duo 2fa injection#142
calw20 wants to merge 13 commits intovlaci:masterfrom
calw20:pull_req

Conversation

@calw20
Copy link
Copy Markdown

@calw20 calw20 commented Sep 6, 2023

This pull request does two main things:

  • Adds additional delays & js update tricks to make react-based 2fa prompts (like duo) happy
  • Add --passwd & --totp flags to the cli that bypass the keyring

Comment thread openconnect_sso/config.py
@attr.s
class Credentials(ConfigNode):
username = attr.ib()
_passwd = attr.ib(default=None)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: this has a side effect and will saves your password and totp as clear text inside xdg.BaseDirectory.load_first_config(APP_NAME)
-> ~/.config/openconnect-sso/config.toml

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

Successfully merging this pull request may close these issues.

2 participants