<div dir="ltr">Hi, <div><br></div><div>For the first question: I understand that the private indices obfuscate the usernames. But when computing an index i for a username u, the CONIKS server will see u in plaintext rather than hashed or encrypted results of u (correct me if I'm wrong). In this case, a CONIKS server controlled by an attacker will be able to collect the usernames of new registered users, right? </div><div><br></div><div>Thanks! </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 20, 2016 at 2:53 PM, Marcela S. Melara <span dir="ltr"><<a href="mailto:melara@cs.princeton.edu" target="_blank">melara@cs.princeton.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div></div><div>Hi,</div><div><br></div><div>I think Ismail was trying to answer your first question when he described the private indices in the CONIKS key directories. What these private indices do, in other words, is obfuscate the usernames in the directory, so an attacker who breaks into the server cannot see the usernames registered at the compromised key server.</div><div><br></div><div>As for your second question, we haven't fully fleshed out the mechanism you found. But if you want to use Tor Messenger for your Twitter account, you will have to register your legitimate Twitter name with the key server. Our idea is that you will receive some kind of email with a confirmation link to prove that you own the Twitter account. This, by no means, means that Tor Messenger now has access to your full account. But Tor Messenger does need to confirm that you own the Twitter name you're registering to prevent an attacker from trying to impersonate you.</div><div><br></div><div>It's also important to note that CONIKS uses additional crypto mechanisms to ensure that all data (including the public keys) associated with names registered with CONIKS key servers isn't stored in plain.</div><div><br></div><div>I hope this helps!</div><div>Best,</div><div>Marcela</div><div><div class="h5"><div><br>On Apr 20, 2016, at 14:28, Go <<a href="mailto:simplesmtptest123@gmail.com" target="_blank">simplesmtptest123@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hi,<div><br></div><div>Thanks for you quick reply. I still have few questions:</div><div><br></div><div>1. If one CONIKS server has been compromised, and I happen to register to this server; I guess the server can see my username in this case,  right? </div><div>2. I found the ticket <a href="https://trac.torproject.org/projects/tor/ticket/17961" target="_blank">https://trac.torproject.org/projects/tor/ticket/17961</a>. The answer for the second question says "We can ask for a proof of ownership of the name...". So when do CONIKS need to do proof of account ownership? Could please anyone give me some concrete scenarios? My concern is that in order to do proof of ownership, we have to hand out the real accounts to CONIKS. </div><div><br></div><div>Sorry for being paranoid. </div><div><br></div><div>Thanks!</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 19, 2016 at 4:57 PM, Ismail Khoffi <span dir="ltr"><<a href="mailto:ismail.khoffi@gmail.com" target="_blank">ismail.khoffi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal;background-color:rgb(255,255,255)">Hi there,</span><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">I don't know about much about the concrete plans for the Tor Messenger and CONIKS but I'm quite familiar with the original CONIKS design. First of all: I’m sure no one would force you to give your "real" identity, you could for instance use large  identity provider which is rather difficult to compromise, at least for non-state actors (for example gmail and the pseudonym simplesmtptest123 ;-). Maybe, for the Tor messenger integration there will be/people might choose some other identity providers (with a stronger focus on privacy and more freedom to choose pseudonyms instead of real names). </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">If an identity provider (one of the several "CONIKS servers") is compromised, the attacker is able to read the provider's local directory (containing public key of already registered providers), he would basically see a more or less ‘randomly' looking Merkle tree. Theoretically, the attacker would still need to know all the user real-names beforehand to (for instance) query for their public keys. (This is achieved using the following "crypto-tricks": identities are stored at a private “index" in the tree; computed using a verifiable unpredictable function from a cryptographic commitment/hash of the username instead from the username itself). Of course one would also need to make sure that the stored public-key material (in the leaf-nodes) is pruned from user identifying data (like an identity in GPG); otherwise the attacker could guess the identities from that information. </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">Also, in general, the attacker won’t be able to see that you used Tor Messenger from the mere fact that you use a certain identity provider, even if he still could recompute your user-name from the directory.</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">Hope that helps?</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal">Ismail</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;line-height:normal"><br></div><div><blockquote type="cite"><div><div><div>On 19 Apr 2016, at 21:28, Go <<a href="mailto:simplesmtptest123@gmail.com" target="_blank">simplesmtptest123@gmail.com</a>> wrote:</div><br></div></div><div><div><div><div dir="ltr">Hi, <div><br></div><div>CONIKS seems to be a very useful system. Just curious: do Tor messenger users need to hand out their real identities (facebook account, twitter account, etc.) to CONIKS servers? If so it seems dangerous to put all the identities in a centralized service.  If the CONIKS servers have been compromised, will the attacker be able to figure out the social networking profiles of Tor messenger users? </div><div><br></div><div><br></div><div>Thanks!</div></div></div></div>
_______________________________________________<br>tor-dev mailing list<br><a href="mailto:tor-dev@lists.torproject.org" target="_blank">tor-dev@lists.torproject.org</a><br><a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a><br></div></blockquote></div><br></div><br>_______________________________________________<br>
tor-dev mailing list<br>
<a href="mailto:tor-dev@lists.torproject.org" target="_blank">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/cgi-bin/mailman/listinfo/tor-dev</a><br>
<br></blockquote></div><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>tor-dev mailing list</span><br><span><a href="mailto:tor-dev@lists.torproject.org" target="_blank">tor-dev@lists.torproject.org</a></span><br><span><a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev</a></span><br></div></blockquote></div></div></div><br>_______________________________________________<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/cgi-bin/mailman/listinfo/tor-dev</a><br>
<br></blockquote></div><br></div>