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

Parsing private key PK - Invalid key tag or value


Hi,

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.

Anyone have an explanation for this?

Thanks in advance

Heiko

Follow-Ups:
Re: Parsing private key PK - Invalid key tag or valueAndreas Schneider <asn@xxxxxxxxxxxxxx>
Re: Parsing private key PK - Invalid key tag or valueJakub Jelen <jjelen@xxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org