[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Public key types
[Thread Prev] | [Thread Next]
- Subject: Public key types
- From: Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 23 Jul 2020 10:06:33 -0300
- To: libssh@xxxxxxxxxx
Hi, I have a pair of public and private keys generated with: ssh-keygen -t rsa Using ssh_pki_import_pubkey_file() import the key correctly it answers SSH_OK (0). But ssh_key_type() answer numbers like: 19111840 19113312 and so on ... Which does not seem correct because it should be a "ssh_keytypes_e". Any hint of what is going on? Also ssh_key_is_public() answer 0 (indicating that is not a public key). But ssh_pki_import_pubkey_file() does not fail. Still researching this but I'm a little lost now... regards, bruno
Re: Public key types | g4-lisz@xxxxxxxxxxxx |