Re: [tor-talk] HiddenServices: calculating .onion address with private key?

2012-08-31 Thread Maxim Kammerer
On Fri, Aug 31, 2012 at 10:41 AM, shupert1 shupe...@privatdemail.net 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
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] HiddenServices: calculating .onion address with private key?

2012-08-31 Thread Robert Ransom
On 8/31/12, shupert1 shupe...@privatdemail.net wrote:
 I found a short info (somewhere on Tor's GitHub account)

What do you mean by “Tor's GitHub account”?


Robert Ransom
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] HiddenServices: calculating .onion address with private key?

2012-08-31 Thread shupert1
On 08/31/2012 07:59 PM, Robert Ransom wrote:
 On 8/31/12, shupert1 shupe...@privatdemail.net wrote:
 I found a short info (somewhere on Tor's GitHub account)
 
 What do you mean by “Tor's GitHub account”?
 
 

well ... I saw it in a repository on Github and I thought
that it was official Tor's repository. I obvisouly made a
mistake ;-).
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk