pki_crypto: Fix private key generation with password

Authored by asn on Jan 9 2018, 8:20 PM.

Description

pki_crypto: Fix private key generation with password

We need to specify a cipher when we generate a key with a password.
OpenSSH uses aes_128_cbc, so we should use the same.

Thanks to Julian Lunz for the report.

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>

Details

Committed
asnJan 10 2018, 10:31 PM
Parents
rLIBSSHb0af81271023: tests: Move torture keys to own file
Branches
Unknown
Tags
Unknown