-
Notifications
You must be signed in to change notification settings - Fork 190
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
src/signature: get key passphrase from environment #945
Conversation
10c4a11
to
24921a6
Compare
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.
We should probably add a test case as well.
ea4912e
to
a912f86
Compare
a912f86
to
addb625
Compare
The user can add the passphrase of the private key to the environment variable RAUC_KEY_PASSPHRASE. Pass this to PEM_read_bio_PrivateKey() if set. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
f06633a
to
f2710ef
Compare
Codecov Report
@@ Coverage Diff @@
## master #945 +/- ##
==========================================
- Coverage 69.81% 69.81% -0.01%
==========================================
Files 31 31
Lines 11060 11063 +3
==========================================
+ Hits 7722 7724 +2
- Misses 3338 3339 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Thanks for your contribution! |
The user can add the passphrase of the private key to the environment
variable RAUC_KEY_PASSPHRASE. Pass this to PEM_read_bio_PrivateKey()
if set.
Signed-off-by: Marc Kleine-Budde mkl@pengutronix.de