mirror of
https://github.com/morgan9e/noiseprotocol
synced 2026-04-14 00:14:05 +09:00
It looks like the calls to KeyPair25519 and KeyPair448 weren't being exercised by the tests, so the 'cryptography' deprecation warnings that they provoked weren't visible in the test run. KeyPair448 requires the extra encoding/format parameters, so any uses of Noise that has "448" in the name would probably have failed. KeyPair25519 was lenient (since the original release didn't require those parameters), but has started emitting warnings when they're omitted, and will probably start throwing errors in the next release. So this patch is needed to fix 448 now, and 25519 later. refs #32