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

feat: implement dialog prompt and refactor #2

Merged
merged 1 commit into from
Oct 11, 2021
Merged

Conversation

aripalo
Copy link
Owner

@aripalo aripalo commented Oct 11, 2021

As CDK seems to not attach stdin into credential_process we need to have another way to input the MFA token manually (or by copy-paste from an Authenticator App): This PR adds support for GUI-based dialog prompt for MFA token.

The GUI dialog is context aware and if token provided via Yubikey touch, the GUI dialog prompt will be “cancelled” (i.e. hidden & removed).

The GUI dialog prompt is enabled by default as it actually provides a nice UX, but users may disable it by providing --disable-dialog configuration flag.

Besides the new feature, some refactoring was done: Especially regarding passing configuration flags around.

@aripalo aripalo merged commit 82a2d5d into main Oct 11, 2021
@aripalo aripalo deleted the feature/gui-dialog branch October 11, 2021 20:11
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.

1 participant