[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ssh_pki_export_privkey_file ... ISSUE FOUND - only read this reply :)
[Thread Prev] | [Thread Next]
- Subject: Re: ssh_pki_export_privkey_file ... ISSUE FOUND - only read this reply :)
- From: Jakub Jelen <jjelen@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 18 Dec 2019 10:36:35 +0100
- To: libssh@xxxxxxxxxx
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.
Re: ssh_pki_export_privkey_file ... ISSUE FOUND - only read this reply :) | Torsten Kuehnel <tdkuehnel@xxxxxxxxxxxxxxxxxxxxx> |
ssh_pki_export_privkey_file for SSH_KEYTYPE_RSA key returns SSH_ERROR | Torsten Kuehnel <tdkuehnel@xxxxxxxxxxxxxxxxxxxxx> |
Re: ssh_pki_export_privkey_file for SSH_KEYTYPE_RSA key returns SSH_ERROR | Jakub Jelen <jjelen@xxxxxxxxxx> |
Re: ssh_pki_export_privkey_file ... ISSUE FOUND - only read this reply :) | Torsten Kuehnel <tdkuehnel@xxxxxxxxxxxxxxxxxxxxx> |