Closed TLATER closed 4 years ago
Thanks for the bug report!
This is really strange -- OpenSSL returns an error code of PEM_R_BAD_BASE64_DECODE
, but in the error message it mentions bad decrypt
.
I don't understand why the error code is not PEM_R_BAD_DECRYPT
. davix checks for this error code to decide whether to ask the user for the key password.
Anyway, we now check if the error message contains bad decrypt
, too. I assume this was caused by some recent change in OpenSSL behavior, since this used to work indeed.
Fix committed, I can provide updated packages from our CI repo if you're interested to test it out.
Oh, that was quick. Thanks for the offer, I don't desperately want to try unless it's a useful test case for you.
Hi, I'm trying to upload files with an encrypted PEM key, but I get the following:
Unencrypted key files do work, and curl will happily use this one, so I think there's something wrong here.