> That code comes from another thread that you missed:
Less than a month ago too, that's pretty funny :)
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk
On Tue, Sep 18, 2012 at 11:47 AM, grarpamp wrote:
> But I never would
> have guessed your hint that there was some
> sort of common header being deleted from
> the key itself...
That code comes from another thread that you missed:
https://lists.torproject.org/pipermail/tor-talk/2012-August/025409
> look correct to me. Hope this helps
Yes. Robert noted my former sleepy state
totally messed the use of string functions
which affected length and values. But I never would
have guessed your hint that there was some
sort of common header being deleted from
the key itself... I have no idea what it
On Sat, Sep 15, 2012 at 11:19 AM, grarpamp wrote:
> rend-spec...
> "permanent-id" is the permanent identifier of the hidden service,
> consisting of 80 bits. It can be calculated by computing the hash value
> of the public hidden service key and truncating after the first 80 bits:
> permanent-id
On 9/15/12, Robert Ransom wrote:
> On 9/15/12, grarpamp wrote:
>
> > u...p.onion
> >
> > -BEGIN RSA PRIVATE KEY-
> > ...
> > -END RSA PRIVATE KEY-
> >
> > openssl rsa -in private_key -pubout -outform DER | sha1 | cut -c 1-10
> > python -c "import base64, sys; print
> > base64.b32e
On 9/15/12, grarpamp wrote:
> openssl rsa -in private_key -pubout -outform DER | sha1 | cut -c 1-10
> python -c "import base64, sys; print
> base64.b32encode(sys.stdin.readline().rstrip('\n')).lower()"
> gu4dsm3cmi3dkyzw
>
> What am I doing wrong besides being sleepy?
You're using the first quar
rend-spec...
"permanent-id" is the permanent identifier of the hidden service,
consisting of 80 bits. It can be calculated by computing the hash value
of the public hidden service key and truncating after the first 80 bits:
permanent-id = H(public-key)[:10]
https://trac.torproject.org/projects/to