xca icon indicating copy to clipboard operation
xca copied to clipboard

Digital envelope routines:EVP_DecryptFinal_ex:wrong final block length

Open pandel opened this issue 1 year ago • 3 comments

Hi!

While trying to sign a CSR with a password secured private key from the database, I get the following error message:

Der folgende Fehler ist aufgetreten:
(7pki_evp[4]:PrivKey)
error:0606506D:digital envelope routines:EVP_DecryptFinal_ex:wrong final block length

(pki_evp.cpp:615)

I tried it with version 2.4.0 on Mac and on Windows. Same result.

What is happening here?

pandel avatar Feb 10 '23 12:02 pandel

I just found out I have the same issue on macOS. I'll have to test the Win and Linux versions next week.

mgilan avatar May 25 '23 16:05 mgilan

This error happens when entering a wrong password. I really need to improve the message and behaviour.

chris2511 avatar May 26 '23 05:05 chris2511

Sorry for the late reply. Anyway, the error really looked like that, and thanks to your confirmation, I found that I had a typo in password recordeds for my small CA 🙂 Thanks again!

mgilan avatar May 29 '23 09:05 mgilan