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

2012-08-31 Thread shupert1
Hi,

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.

I know I could just throw the private key in
/var/lib/tor/my_hidden_folder and let Tor do job but I would like to
calculate
this without Tor.

I tried something like this on the shell but the result is always wrong:


$ openssl rsa -outform DER -in "private.key.file" 2>/dev/null  | \
sha1sum -b | awk '{ print $1 }' | head -c 20 | \
perl -MMIME::Base32=RFC -e 'print lc(MIME::Base32::encode())' |\
head -c 16


Someone smarter with a better idea?

Thanks
___
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 Maxim Kammerer
On Fri, Aug 31, 2012 at 10:41 AM, shupert1  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


[tor-talk] Can't use TORBirdy to send Email

2012-08-31 Thread tor user22
Hi All,

Just installed TORBirdy on ThunderBird on FireFox 15.0 and added Yahoo
Email account ,but can't send any email, though receive is OK.when TORBirdy
is disabled everything is fine.
Also another TOR instant is already running(TOR Browser Bundle) to make
TorBirdy work. Is that mandatory?

Any trick or suggestion or somewhere do i make mistake?

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


Re: [tor-talk] Can't use TORBirdy to send Email

2012-08-31 Thread Karsten N.
On 08/31/2012 01:18 PM, tor user22 wrote:
> Just installed TORBirdy on ThunderBird on FireFox 15.0 and added Yahoo
> Email account ,but can't send any email, though receive is OK.when TORBirdy
> is disabled everything is fine.

Hi,

Yahoo does not support TLS/SSL with secure renegotiation for SMTP servers.

  > openssl s_client -connect smtp.mail.yahoo.com:465
  ...
  New, TLSv1/SSLv3, Cipher is AES256-SHA
  Server public key is 2048 bit
  Secure Renegotiation IS NOT supported


Because of security reasons TorBirdy requires secure renegotiation for
TLS connections. Insecure renegotiation is a well known bug in the SSL
protocol since 2009.

I have only one recommendation: use an other mail provider.

Best regards
Karsten N.
___
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  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  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


[tor-talk] TorBirdy suggestion: block subject header when encrypting email

2012-08-31 Thread Shew
Hello everyone,

One of the problems with Thunderbird with Enigmail (and PGP mail in
general) is that when sending encrypted email the subject header
remains unencrypted. On its own this is just annoying, since you can
just leave it blank. However, Enigmail does not block or even warn the
user if they are sending an encrypted email with something in the
subject header. I assume that TorBirdy would be used in conjunction
with Enigmail for email over Tor, so I recommend that, if possible,
TorBirdy should block the use of the subject header when sending
encrypted email.

-- 
Shew



pgpQWU5mbqIIA.pgp
Description: PGP signature
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


Re: [tor-talk] TorBirdy suggestion: block subject header when encrypting email

2012-08-31 Thread Collin Anderson
On Fri, Aug 31, 2012 at 9:32 PM, Shew  wrote:

> However, Enigmail does not block or even warn the
> user if they are sending an encrypted email with something in the
> subject header.
>

Yes, I agree that is bad policy, however, TorBirdy is not Enigmail and
neither require each other to work properly. I, for one, do not use PGP for
every outgoing email, although I would still prefer to use Tor for my
Thunderbird traffic. I would suggest the proper remedy for this completely
legitimate issue would be to file a bug ticket with Enigmail.


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


-- 
*Collin David Anderson*
averysmallbird.com | @cda | Washington, D.C.
___
tor-talk mailing list
tor-talk@lists.torproject.org
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk