Commit Graph

17 Commits

Author SHA1 Message Date
hornet 46c75d1c17 Fixed hub file writing 2021-12-02 10:01:08 -05:00
hornet 39b29a30c6 Added hub timer 2021-12-01 00:35:30 -05:00
hornet a85b08f050
Feature/py iot (#4)
* Changing files but having issues with space tabs.

* Removed config. Fixed indents.

* Removed config.

* Fixed test config. Fixed syntax in cli.

* Editing cli and hub to finally commit transactions.

* Added better logging logic.
Will clean up in the morning.

* Hub is more functional.

* Edited IoT to gen keys.

* Public keys are now generated, sent, and stored.
However, they are not transmitted when a new client joins.

* Added crypto testing

* Communication is now functional.
2021-11-28 19:00:46 +00:00
hornet 5d0a26ca7e
Moved a bunch of files (#3)
Removed dumb stuff. Added nicer logging.
2021-11-16 01:02:14 +00:00
hornet 845b6f2a42
Merge pull request #1 from hornetfighter515/feature/py-hub
Preliminary python hub code
2021-11-11 19:18:13 +00:00
hornet e8d230b31a Now loads config from YAMl 2021-11-09 15:14:06 -05:00
hornet f8edfdbd3b Deleted test files 2021-11-09 14:36:37 -05:00
hornet 83ffa9bd49 Added hub code 2021-11-09 14:26:54 -05:00
hornet 6ec668d7a4 Added client code 2021-11-09 14:24:58 -05:00
Lachezar Todorov 9a4225751a Made bare bone server that runs. Looking to add proper login and logout functions that users will use to connect and disconnect with the server. 2021-10-19 14:13:08 -04:00
hornet bdd2c0f91d Writing test websocket client 2021-10-19 14:08:05 -04:00
Lachezar Todorov 9bd87725d3 Made some improvements to the readability of the code and changed it to that Bob just prints the decrypted message rather than sending it to Alice to print it 2021-10-17 18:15:12 -04:00
Lachezar Todorov b9cf6dc6b5 Made Alice and Bob classes. Alice encrypts a message and sends it to Bob, who decrypts the message and should print the plaintext to show he decrypted it. However, that is not the case. 2021-10-17 17:38:16 -04:00
Lachezar 2b1f25e131 Took the encrypt_decrypt class and changed it to a class with functions. Added in alice.py and bob.py. The idea is that from main.py, Alice is called and encrypts then sends a message, while Bob receives the message and decrypts it. At some point the after Bob decrypts it the plaintext should be printed to show that Bob did it successfully, however nothing gets printed at the moment. 2021-10-17 04:16:54 -04:00
Lachezar Todorov f98c630ea2 Added in URL to where I found information on the rsa library and the functions used to encrypt and decrypt. 2021-10-16 13:10:11 -04:00
Lachezar Todorov 33256b73a7 Created a new file that encrypts and decrypts a message using the rsa library. Note: make sure to install the rsa library before using the following code. 2021-10-16 13:06:52 -04:00
hornet 2e47014923 Adding python client directory 2021-10-16 12:16:37 -04:00