On Wed, Apr 01, 2009 at 09:05:17PM +0200, lizard wrote:
> how to genereate a fingerprint of the pub-rsa-key in hosts-files?
As explained on IRC, the OpenSSL API has two ways of saving RSA keys in PEM
format. For some reason they produce subtly different output, and one method
cannot read keys written by the other method, and vice versa. The tincd binary
can handle both formats, but will write in only one of them. The
"openssl"
command only works with the other format.
Here is a tool to generate a fingerprint of a public key in a host config file:
http://www.tinc-vpn.org/temp/tincpubkeyfp.c
Compile it with the -lcrypto flag.
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url :
http://www.tinc-vpn.org/pipermail/tinc/attachments/20090401/3a61d297/attachment.pgp