<div dir="ltr">I disagree with your approach, for comparison's sake, let's say v2 is IPv4 and v3 is IPv6. When IPV6 was introduced, IPv4 was kept around (and still is to this day, although IPv6 is arguably a much better solution in a lot of areas). Expecting _everyone_ to just switch to IPv6 or get cut off is a bit of a pipe dream.<div><br></div><div>Tor hidden services are a bit "special" because it's hard to poll their owners on their intentions. Some hidden service operators have gone to great lengths to advertise their .onion URLs (v2-style), some have even generated vanity addresses (like Facebook). Forcing a switch to v3 at some point presents a very interesting opportunity for phishing because suddenly a service known and trusted at some address (as opaque as it is) would need to move to an even more opaque address, with no way to determine if the two are really related, run by the same operator, etc. If I were a LE agency, I would immediately grab v3 hidden services, proxy content to existing v2 services and advertise my v3 URL everywhere, then happily monitor traffic.</div><div><br></div><div>All I'm saying is don't remove the v2 services, even if you choose to no longer support them. Some operators (like my company) may choose to continue to patch the v2 areas if required and release the patches to the community at large. Forcing us out altogether would make us drop Tor and start using an alternative network or expending the additional effort to make our services network-agnostic (so no more good PR for Tor).</div><div><br></div><div>Ivan was right, moving to v3 would be, at least for my project, extremely complex and unwieldy. Ed25519 is not supported by any smartcards I know (but can be "hacked" by manually defining Curve25519 params and converting back and forth). But then we'd have to modify the service re-registration (or wait for OnionBalance to do it), then add another layer for OnionCat-like lookups, etc. It would be far easier to just drop the Tor dependency at that point or centralize it a bit more.</div><div><br></div><div>Just my 2 cents, if any hidden service operators wish to chime in, feel free to do so. After all, it's us (them? :) ) that will have to make the changes to their services.</div><div><br></div><div>Razvan</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 13, 2016 at 5:40 PM, s7r <span dir="ltr"><<a href="mailto:s7r@sky-ip.org" target="_blank">s7r@sky-ip.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 9/13/2016 3:27 PM, David Goulet wrote:<br>
[SNIP]<br>
<div><div class="h5">> Hello!<br>
><br>
> So I 100% share Ivan's concerns. The Hidden Service subsytem of Tor is quite<br>
> complex, lots of pieces need to be glued together and prop224 will add a lot<br>
> of new code (in the 10 of thousand+).<br>
><br>
> We decided a while back to have the two protocols living side by side at first<br>
> that is current system (v2) and next gen (v3). Relays will need to support v2<br>
> for a while after v3 is release because well not everybody updates their tor<br>
> to the latest. Lots of people have current .onion for which they need a<br>
> transition to the new generation which includes telling their users about the<br>
> new 52 character one and SSL certs and so on...<br>
><br>
> The question arise now. Someone running a .onion upgrades her tor that<br>
> supports v3, should we allow v2 to continue running or transition it to v3 or<br>
> make them both happy together...? We haven't discuss this in depth and thus we<br>
> need to come to a decision before we end up implementating this (which is<br>
> _soon_). I personally could think that we probably want to offer a transition<br>
> path and thus have maybe a torrc option that controls that behavior meaning<br>
> allowing v2 for which we enable by default at first and then a subsequent Tor<br>
> release will disable it so the user would have to explicitely set it to<br>
> continue running v2 .onion and then finally rip off v2 entirely in an other<br>
> release thus offering a deprecation path.<br>
><br>
> However, we are clear that every _new_ service will be v3 and never again v2<br>
> unless it already exists that is we can find a RSA private key (considering we<br>
> do the above of course). And considering both will be supported for a while,<br>
> we'll have to maintain v2 security wise but all new features will go in v3.<br>
><br>
> Let's discuss it and together we can come up with a good plan! :)<br>
><br>
> Thanks!<br>
> David<br>
><br>
<br>
</div></div>v2= old-style (RSA1024) hidden services<br>
v3= prop 224 (ed25519) hidden services<br>
<br>
I agree with David - it will be problematic to maintain support for both<br>
v2 and v3, unlimited in the future. It's clear that we need to offer a<br>
reasonable transition period, so everyone can upgrade and move their<br>
customers/user bases to the new hidden services, but this doesn't mean<br>
v2 should work forever.<br>
<br>
v2 hidden services already provide questionable security (from crypto<br>
point of view) and in the future things will only get worse for v2. I<br>
agree that there are a lot of third party tools working with v2 hidden<br>
services (OnionCat, OnionBalance) -  these all need to be improved to<br>
support prop 224 hidden services.<br>
<br>
Considerable resources are spent on v3 hidden services. They are better<br>
vs v2 from all points of view, I don't think keeping the v2 code and<br>
therefor allowing additional attack surface + creating the task to<br>
maintain this old code (v2) in future releases is worth it. This is how<br>
things work in software, if something gets upgraded everything upper<br>
layer should upgrade as well. Keeping parallel older versions to allow a<br>
feature of non-mandatory upgrades is not solid reason for us to do it.<br>
<br>
Also, we need to move with Prop 245 (deprecate TAP handshake entirely)<br>
and the v2 hidden service code is the blocker for this.<br>
<br>
So, my opinion is to deprecate v2 entirely after a sane and reasonable<br>
transition period.  Apologies to whom this will create headaches -<br>
technologically everything can be adjusted to v3 hidden services, it's<br>
just some work required -- it's not going to be fun but it's the clean<br>
way for the longer term future.<br>
<br>
<br>______________________________<wbr>_________________<br>
tor-dev mailing list<br>
<a href="mailto:tor-dev@lists.torproject.org">tor-dev@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" rel="noreferrer" target="_blank">https://lists.torproject.org/<wbr>cgi-bin/mailman/listinfo/tor-<wbr>dev</a><br>
<br></blockquote></div><br></div>