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

Fix key file not deleted when ^C is used #85

Open
ntelfer opened this issue Oct 2, 2018 · 0 comments
Open

Fix key file not deleted when ^C is used #85

ntelfer opened this issue Oct 2, 2018 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@ntelfer
Copy link
Collaborator

ntelfer commented Oct 2, 2018

Click's prompt function catches KeyboardInterrupt Exceptions so you can't do cleanup when using prompt(). The functions that generate key files are using click.prompt() and it needs to be replaced with something custom so we can handle the Ctrl+C exit.

@ntelfer ntelfer added the bug Something isn't working label Oct 2, 2018
@ntelfer ntelfer self-assigned this Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant