HomePhabricator

src/pki_crypto.c pki_publickey_to_blob() should not be used to export public…

Authored by sahanaprasad07 on May 14 2020, 4:18 PM.

Description

src/pki_crypto.c pki_publickey_to_blob() should not be used to export public key from private keys for ecdsa keys. ssh_userauth_publickey() calls ssh_pki_export_pubkey_blob() and tries to export the the public key from private key if public keys are not already imported into pkcs #11 tokens.

Signed-off-by: Sahana Prasad <sahana@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>

Details

Committed
sahanaprasad07May 20 2020, 12:49 PM
Parents
rLIBSSH641a80be7463: cmake: add _POSIX_SOURCE
Branches
Unknown
Tags
Unknown