joefol / Key-Sharing-for-IoT

Implementation of a key sharing scheme for IoT devices.
https://dl.acm.org/doi/pdf/10.1145/3508398.3511520
1 stars 0 forks source link

Fix bug with pickle loading in the initialization phase #12

Open joefol opened 7 months ago

joefol commented 7 months ago

Pickling dumping and loading in loops causes data to be missed in interpreting the shares and reconstructing the secret. Possibly could be a timing issue.

joefol commented 7 months ago

Error received in server.py:

line 24, in test = pickle.loads(data) ^^^^^^^^^^^^^^^^^^ EOFError: Ran out of input

joefol commented 6 months ago

This only happens around 10% of the time