python-spake2
python-spake2 copied to clipboard
pure-python implementation of the SPAKE2 Password-Authenticated Key Exchange algorithm
https://docs.python.org/3.12/whatsnew/3.12.html#configparser
I've started work on this in the "pake2+" branch. The algorithm is defined in the last section of "The Twin Diffie-Hellman Problem and Applications" (Cash, Kiltz, Shoup), available at http://www.research.rutgers.edu/~dc789/dh.pdf...
Found out, that the SPAKE2-implementation is missing an important check for key degradation, where an attacker is able to degrade the keys to identitiy (zero element), when he gets to...
I encountered a race condition while running `wormhole receive` where one thread called `spake2.spake2.SPAKE2_Symmetric.finish()` before `spake2.spake2.SPAKE2_Symmetric.start()` was complete. Now I'm having trouble recreating it in wormhole (of course :smile: ),...