Fall back to system libcrypto when cryptography is unavailable (#894)

This commit is contained in:
Erik
2026-05-30 19:31:47 +03:00
committed by GitHub
parent 49e62ca142
commit 23f0e4d426
3 changed files with 132 additions and 2 deletions

View File

@@ -2,7 +2,7 @@ import asyncio
import logging
import struct
from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes
from ._aes import Cipher, algorithms, modes
from typing import Dict, List, Optional
from urllib.parse import urlencode