|
|
|
|
|
by alupo
4528 days ago
|
|
Hi, I'm the original author of Teapotnet, I want to precise some details. 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?