On Fri, Aug 31, 2012 at 10:41 AM, shupert1 <[email protected]> wrote: > I found a short info (somewhere on Tor's GitHub account) about > "calculating" .onion address when I have private key but I was not able > to implement a short code example with perl/php/bash.
See [1]: openssl pkey -in /var/lib/tor/hidden_service/private_key -pubout -outform der | tail -c +23 | sha1sum | head -c 20 (and convert to Base32) [1] https://github.com/mkdesu/cables/blob/master/bin/gen-tor-hostname -- Maxim Kammerer Liberté Linux: http://dee.su/liberte _______________________________________________ tor-talk mailing list [email protected] https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
