James-E-A / mentalDarkChess

trustless implementation of Dark Chess
0 stars 0 forks source link

allow Bob to ensure randomness #12

Closed James-E-A closed 2 years ago

James-E-A commented 2 years ago

vulnerability: Alice could potentially brute-force some aspect of the publickeys before the match, and deploy her found seed value. Bob should be able to ensure against this.

662d46a:src/main.py#L80

James-E-A commented 2 years ago

We had code for this… 609582e:src/mental.py though it never got used, because interweaving generators makes me want to pull my skin off of my face and probably isn't idiomatic anyway

James-E-A commented 2 years ago

Fixed in 27cccc302211ccecb0f695c4136a6cce9aeeaebc