On Tue, 2019-12-17 at 22:13 +0100, Torsten Kuehnel wrote: > [...] > > Finally, > > the gcrypt implementation of pki_private_key_to_pem function, which > is called by ssh_pki_export_privkey_file for every key type not > beeing SSH_KEYTYPE_ED25519, is empty, just returns NULL. > > So switching to openssl (cmake parameter -DWITH_GCRYPT=0) solved the > issue for me. > > cheers !
Good to hear that you figured out the issue. With OpenSSL you should be fine. The gcrypt backed is limited in this way (patches always welcomed). Regards, -- Jakub Jelen Senior Software Engineer Security Technologies Red Hat, Inc.