[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Invalid pubkey Error
  [Thread Prev] | [Thread Next]
 
 
- Subject: Invalid pubkey Error
- From: Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Mon, 27 Jul 2020 10:10:00 -0300
- To: libssh@xxxxxxxxxx
Hi,
Can anyone point out some causes for a "Invalid pubkey" error message ?
In the code is the following line:
    if (pubkey == NULL || !ssh_key_is_public(pubkey)) {
        ssh_set_error(session, SSH_FATAL, "Invalid pubkey");
        return SSH_AUTH_ERROR;
    }
What does valid mean ?
1) The key is not a valid key
) The key is ok but is not in the list of accepted keys of remote server
regards,
bruno
| Re: Invalid pubkey Error | Anderson Sasaki <ansasaki@xxxxxxxxxx> | 

