File: fix-Cryptodome-imports.patch

package info (click to toggle)
python-adb-shell 0.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 792 kB
  • sloc: python: 3,861; makefile: 191; sh: 124
file content (27 lines) | stat: -rw-r--r-- 742 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
22
23
24
25
26
27
From: Thomas Goirand <zigo@debian.org>
Date: Sun, 8 Feb 2026 10:05:21 +0000
Subject: Fix Cryptodome imports

Forwarded: no
Last-Update: 2024-07-25
---
 adb_shell/auth/sign_pycryptodome.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/adb_shell/auth/sign_pycryptodome.py b/adb_shell/auth/sign_pycryptodome.py
index f9a551d..fe889bf 100644
--- a/adb_shell/auth/sign_pycryptodome.py
+++ b/adb_shell/auth/sign_pycryptodome.py
@@ -24,9 +24,9 @@
 
 """
 
-from Crypto.Hash import SHA256
-from Crypto.PublicKey import RSA
-from Crypto.Signature import pkcs1_15
+from Cryptodome.Hash import SHA256
+from Cryptodome.PublicKey import RSA
+from Cryptodome.Signature import pkcs1_15
 
 
 class PycryptodomeAuthSigner(object):