-
Notifications
You must be signed in to change notification settings - Fork 37
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
Password from stdin #89
Conversation
Signed-off-by: Oskar Kohout <[email protected]>
Signed-off-by: Oskar Kohout <[email protected]>
Signed-off-by: Oskar Kohout <[email protected]>
Signed-off-by: Oskar Kohout <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #89 +/- ##
==========================================
+ Coverage 81.67% 81.75% +0.08%
==========================================
Files 4 4
Lines 802 822 +20
==========================================
+ Hits 655 672 +17
- Misses 147 150 +3
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Could you rebase to include 8cf5b58 ("test: should not recover secret with incorrect password") into b2500a6 ("feat: read password from stdin"), please? This will make future bisects easier because you don't have to deal with transient CI failures (in this case from scan-build).
Sure. But I believe you meant |
Oops, you are right, I meant to squash c9cbceb into b2500a6. Also please rebase onto the current master to resolve the conflict after merging #88 :) |
c9cbceb
to
2d29a8a
Compare
Sure ;) If you know of a nicer way to manage this kind of situation, please let me know. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you know of a nicer way to manage this kind of situation, please let me know. :)
Not really, unfortunately - I usually base on the current master and rebase if necessary as well
fixes #86
At the moment, this forbids
\0
in input stream, but allows\n
, etc. Not sure if we want to restrict--password
to single-line, printable ASCII only, or arbitrary binary secrets (and what about\0
in that case).