File: 0001-use-Cryptodome.patch

package info (click to toggle)
pykoplenti 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 372 kB
  • sloc: python: 2,215; makefile: 3
file content (21 lines) | stat: -rw-r--r-- 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Edward Betts <edward@4angle.com>
Date: Thu, 6 Nov 2025 19:42:23 +0000
Subject: use Cryptodome

---
 pykoplenti/api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pykoplenti/api.py b/pykoplenti/api.py
index 168620d..837b10d 100644
--- a/pykoplenti/api.py
+++ b/pykoplenti/api.py
@@ -11,7 +11,7 @@ from os import urandom
 from typing import IO, Dict, Final, Iterable, List, Union, overload
 import warnings
 
-from Crypto.Cipher import AES
+from Cryptodome.Cipher import AES
 from aiohttp import ClientResponse, ClientSession, ClientTimeout
 from yarl import URL