[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] generate relay fingerprint without tor given the datadir/keys folder?



On Fri, Feb 03, 2017 at 04:12:00PM +0000, nusenu wrote:
> Hi,
> 
> given the files within the datadir/keys folder (without the
> datadir/fingerprint file), is there an easy way to generate the relay
> fingerprint? (using openssl?)

I'm sure that it will be a mess to do it via openssl utility. Some time
ago I wrote a tool for showing onion addresses for private key files.
Now I pushed a feature to it to display relay fingerprint (because 
onion address is a truncated fingerprint base32 encoded...).

$ go get https://github.com/nogoegst/whatonion

$ whatonion -fp /path/to/secret_onion_key

Hope it helps, enjoy!
--
Ivan Markin
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev