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 <[email protected]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://www.tinc-vpn.org/cgi-bin/mailman/listinfo/tinc

Reply via email to