[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parsing private key PK - Invalid key tag or value


On Thursday, June 30, 2022 7:43:33 AM CEST Heiko Thiery wrote:
> Hi,

Hi Heiko,
 
> I use netopeer2 with libnetconf2 in combination with libssh and
> mbedtls. When trying to open a SSH connection I get the following
> message:
> 
> [INF]: LN: Accepted a connection on 0.0.0.0:830 from 127.0.0.1:38712.
> [INF]: SR: Session 128 (user "root", CID 38) created.
> [2022/06/28 07:31:06.841984, 1] pki_private_key_from_base64:  Parsing
> private key PK - Invalid key tag or value
> [ERR]: LN: Failed to set hostkey "genkey" (/tmp/gyFsev).
> 
> Switching to use openSSL does not show this error.

Which version of libssh do you use?
What key type do you use?
Can you generate a new key pair which reproduces the error and share it with 
us?

Best regards


	Andreas


-- 
Andreas Schneider                 asn@xxxxxxxxxxxxxx
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D



Follow-Ups:
Re: Parsing private key PK - Invalid key tag or valueHeiko Thiery <heiko.thiery@xxxxxxxxx>
References:
Parsing private key PK - Invalid key tag or valueHeiko Thiery <heiko.thiery@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org