HomePhabricator

pki_crypto: Support Ed25519 keys in PEM files

Authored by ansasaki on Aug 30 2019, 6:41 PM.

Description

pki_crypto: Support Ed25519 keys in PEM files

This adds support for Ed25519 keys from files in PEM format when using
OpenSSL with Ed25519 support. The default encoding for the PEM file is
expected to be PKCS#8. Encrypted files are supported.

For the lack of an API, it is not possible to export keys in PEM format,
only in OpenSSH format.

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>

Details

Committed
ansasakiSep 24 2019, 4:49 PM
Parents
rLIBSSH61e6b6cc59eb: cmake: Do not build internal ed25519 when unnecessary
Branches
Unknown
Tags
Unknown