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
