Fix compatibility with cryptography 3.4.x

This commit is contained in:
Raphael Michel
2021-02-08 18:01:05 +01:00
parent 7b8ad1ebbe
commit 21fbf095cf
3 changed files with 3 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ import struct
from cryptography.hazmat.backends.openssl.backend import Backend
from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PrivateKey
from cryptography.hazmat.primitives.serialization.base import (
from cryptography.hazmat.primitives.serialization import (
Encoding, NoEncryption, PrivateFormat, PublicFormat, load_pem_private_key,
load_pem_public_key,
)