covert-encryption
covert-encryption
Now that is sorted out but some mypy issues remain. This is not something that I worked on but I can have a look at fixing them if you want...
The last commit is an important workaround to a Python 3.9.2 bug that prevents loading zxcvbn. While the problematic import introduced in #57 is technically correct and works on more...
Development is moved to main branch to avoid pushing more commits on this PR (based on master of our fork). We just released zxcvbn-covert 0.5.1 with everything on this PR...
@dwolfhub Cool. Do you wish for the typing fixes to be pushed on this PR as well, avoiding that test failure? Also I (faintly) recall seeing some Python 3.8 feature...
Yes, https://docs.python.org/3/library/typing.html#typing.TypedDict which is heavily used on zxcvbn.types is new in Python 3.8. However, even Debian is already on 3.9, other distros already made 3.10 the default, MacOS ships at...
That should do it for the tests. I did not sync version numbers yet.
> You could also add the official `typing_extensions` as a conditional dependency for older python versions Would you wish to provide a patch for that? I don't even have anything...
Should also accept 32 byte plain keys. This 64-byte combined key format of libsodium is quite annoying, and too often I end up doing hacks like `sk + bytes(32)` to...
Both of those only appear to cover the Elligator 2 itself. Namely, they appear to miss the injection of (possibly randomised) sign and two random padding bits, and more importantly...
Testing for subgroup: unhash the Elligator 2 to get the public point, or just skip the Elligator encode/decode cycle. Scalarmult the public key by ```python q = 2**252 + 27742317777372353535851937790883648493...