CamiloGarciaLaRotta / Cebolla

:left_right_arrow: Simplified Onion Routing Network App
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Refactor Crypto Stuff #22

Closed DestructiveReasoning closed 6 years ago

DestructiveReasoning commented 6 years ago

Based on the conclusions from #16, much of the current crypto implementation is obsolete.

Here's a quick list of changes that need to be made:

Following the resolution of this issue, we will be more or less ready to incorporate cryptography in onion_router.py and onion_client.py.

DestructiveReasoning commented 6 years ago

Starting progress in branch refactorCrypto-22.

DestructiveReasoning commented 6 years ago

Implemented symkey messages with OnionNode.create_symkey_msg(). Created Originator.create_onion() to make encrypted data messages. Similarly, created their respective decrypting methods and wrote unit tests to ensure that everything is working properly.

DestructiveReasoning commented 6 years ago

Refactored misnamed classes. Originator is now known as OriginatorSecurityEnforcer, OnionNode is now known as OnionNodeSecurityEnforcer.