chrysn / aiocoap

The Python CoAP library
Other
262 stars 119 forks source link

cryptography: Use public API, restoring compatibility with versions >= 42 #342

Closed chrysn closed 3 months ago

chrysn commented 3 months ago

Replaces: https://github.com/chrysn/aiocoap/pull/341

In 42, the private cryptography.hazmat.backends.default_backend().x25519_load_private_byte() was removed; this uses the equivalent public version that is available since 2.5.