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

Refactor otp set command #167

Closed
wants to merge 3 commits into from
Closed

Conversation

robinkrahl
Copy link
Collaborator

This PR contains preparations for the addition of the otp add and otp update command and enables reading OTP secrets from stdin, see #159.

This patch refactors the otp_set implementation in order to make more
code usable in the otp_add and otp_update fuctions which we will
introduce in the next patches.
In commit 8140504, we added support for
reading PWS passwords from stdin.  With this patch, we use the same
mechanism for OTP secrets.
@robinkrahl robinkrahl requested a review from d-e-s-o April 24, 2021 16:18
@robinkrahl robinkrahl mentioned this pull request Apr 24, 2021
4 tasks
@d-e-s-o
Copy link
Owner

d-e-s-o commented Apr 24, 2021

Merged as well. Thanks for the changes, Robin!

@d-e-s-o d-e-s-o closed this Apr 24, 2021
@robinkrahl robinkrahl deleted the refactor-otp branch April 25, 2021 08:08
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