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

Restore TTY when aborting TOTP ticker with Ctrl+C #2342

Merged
merged 3 commits into from
Sep 20, 2022

Conversation

dominikschulz
Copy link
Member

Fixes #2320

RELEASE_NOTES=[BUGFIX] Handle Ctrl+C in TOTP

Signed-off-by: Dominik Schulz dominik.schulz@gauner.org

Fixes gopasspw#2320

RELEASE_NOTES=[BUGFIX] Handle Ctrl+C in TOTP

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
@dominikschulz dominikschulz added the bug Defects label Sep 16, 2022
@dominikschulz dominikschulz added this to the 1.14.7 milestone Sep 16, 2022
@dominikschulz
Copy link
Member Author

This makes an tricky code path even more tricky :/

@dominikschulz
Copy link
Member Author

The failing test looks like a flake to me.

Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
@dominikschulz
Copy link
Member Author

No, it's an actual concurrency issue.

AnomalRoil
AnomalRoil previously approved these changes Sep 20, 2022
main.go Outdated Show resolved Hide resolved
internal/action/otp.go Show resolved Hide resolved
Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
@dominikschulz dominikschulz merged commit fc91cda into gopasspw:master Sep 20, 2022
@dominikschulz dominikschulz deleted the fix/issue-2320 branch September 20, 2022 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Defects
Projects
None yet
Development

Successfully merging this pull request may close these issues.

gopass totp disabled terminal echo
2 participants