-
Notifications
You must be signed in to change notification settings - Fork 659
Discussion: Use plaintext TCP connection instead of STCP #1357
Copy link
Copy link
Closed
Labels
1b User StoryThe User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)2a Discussion NeededPrompt for team to discuss at next stand up.Prompt for team to discuss at next stand up.4a Low PriorityPriority indicating minimal impact to system/user -OR- an inexpensive workaround existsPriority indicating minimal impact to system/user -OR- an inexpensive workaround exists6 P2PImpact flag identifying the peer-to-peer (P2P) layerImpact flag identifying the peer-to-peer (P2P) layer
Metadata
Metadata
Assignees
Labels
1b User StoryThe User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)2a Discussion NeededPrompt for team to discuss at next stand up.Prompt for team to discuss at next stand up.4a Low PriorityPriority indicating minimal impact to system/user -OR- an inexpensive workaround existsPriority indicating minimal impact to system/user -OR- an inexpensive workaround exists6 P2PImpact flag identifying the peer-to-peer (P2P) layerImpact flag identifying the peer-to-peer (P2P) layer
I would like to start a discussion about the need for secure connections.
We are using a custom 'Secure sockets (STCP socket class)' implementation that performs EC Diffie–Hellman key exchange and sets up an AES-encrypted stream between two peers using the shared secret.
If I am not missing anything, this approach does nothing but hides the traffic between the two peers.
This seems to me like something we don't need, because the data that flows between the peers is all public information.
Neither does this protect the peers against MITM attacks.
All this at some performance cost of encrypting/decrypting the data. Sure, this may be alleviated on platforms that support hardware AES instructions.
Removing one level of abstraction in the code base may be also an appealing motivation.
To sum it up,
We could replace STCP connections with pure TCP connections.
Reasons for removing STCP:
Reasons for further discussion: