69 points · by kseistrup · 12y ago · 29 comments
Showstopper. I wanted to ASK how this beats retroshare. But without asymmertic keys you're kinda fd.
>On session establishment, temporary salted authentication and encryption keys are derived from the shared secret by each peer. The current implementation uses PBKDF2-HMAC-SHA512 (10000 iterations) for key derivation.
Please describe in more detail. Form what I read it highly depends in a really good implementation here to provide perfect forward secrecy.
>where secret exchange is made on our servers. Then a code is sent to both you and your friend so that your Teapotnet instance can fetch the secret through HTTPS. Why don't you just do (authenticated) diffie hellman? Then your Server wouldn't need to know the key.
Sorry but just Form those few sentences i have to assume your crypto is shit and cant be trusted. I'm mobile right now so i didn't look at the source. After that I also probably won't.
Edit: german autocorrect while typing english is REALLY annoying. Sorry for all the typos.
Edit2: What The fuck? Why are there own sha512 and AES implementations? Use openssl! For nie i'd strongly advise Tod avoid until someone more skilled than me has reviewed this. But für crypto Reilly seems horrible.
So far I've looked at how a crypto-secure schared secret is established with the "original method." It works just as you would expect. The author even made an attempt to ensure that different pairs of peers using the same input wouldn't generate the same secret by xoring the two usernames together. Of course, collisions are easy to generate and I don't see that the tracker's domain is included anywhere, but no serious attacks come to mind through this vector.
I'm not going to bother looking at the Facebook or email methods because the security there reduces to how much you trust your email provider or Facebook.
I'll keep updating you guys if anyone cares.
No cryptograhic library is used mostly for deployment simplicity and portability, but we plan to use OpenSSL in the future (see below).
Xoring the username together is mostly a simple refinement so two passphrases entered for two different contacts or users does not result in the same secrets stored in their profiles. Usernames are part of the authentication anyway.
The current authentication is a simple digest method. It does not garantee Perfect Foward Secrecy. In the future we plan to implement a stronger method using authenticated Diffie-Hellmann (We have to OpenSSL for this). The tracker name is not a part of it as you could change trackers.
Thank you for your interest in the program !
I'm aware of that, but why do you xor the two usernames together instead of concatenate the two full addresses? So that even if two people on different trackers with the same username using the same shared secret contact the same third party, they don't generate the same key?
Edit: Also, why do you avoid asymmetric cryptography? For the same reason you're avoiding OpenSSL?
Sorry.
I offered a critique of their code--I didn't praise or damn it. I apologize if there was any confusion.
How is this conceptually different than, say, RetroShare?
edit: also, you keep comparing to DropBox, however, I can't find the crucial info - are the data saved somewhere outside the computer or not? If not, why the comparisons with DropBox?
I saw an ad for a product Western Digital is coming out with in this realm:
http://www.pcmag.com/article2/0,2817,2424967,00.asp
the "My Cloud" product itself is apparently total crap, but the idea will certainly be refined to serve a purpose similar to that of teapot. That is, glorified network file access.
- 100% decentralized/p2p (no central server)
- (public key) encrypted
- open-source
- does: file sharing, "emailing", chat, VoIP, forums, etc.
Also Peerblock bloked access to this website.
Win7 x64