mirror of
https://github.com/morgan9e/noiseprotocol
synced 2026-04-14 00:14:05 +09:00
tests/vectors/*: - removed noise-c-basic.txt test vectors tests/test_vectors.py: - removed workarounds related to noise-c test vectors noise/builder.py: - added some more type hinting noise/state.py: - CipherState is now consistent in raising NoiseMaxNonceError and using MAX_NONCE constant for encrypt and decrypt methods noise/functions.py: - Keypair constructors now guarded from invalid length of given public/private bytes - _25519_generate_keypair now returns proper class instance requirements.txt: - specified versions of packages that are compatible with currently used source code
351 B
351 B
Test vectors:
- cacophony.txt from https://github.com/centromere/cacophony/blob/master/vectors/cacophony.txt, stripped from outer dict (so that it is just a list of json objects)
- snow-multipsk.txt from https://github.com/mcginty/snow/blob/master/tests/vectors/snow-multipsk.txt, stripped from outer dict (so that it is just a list of json objects)