Control: tags -1 patch On 2021-01-10 23:37:15 +0100, Sebastian Ramacher wrote: > Control: reopen -1 > Control: severity -1 serious > Control: block 979318 by -1 > > This wasn't enough. The binary package still depends on python3-crypto. > Hence I'm reopening the bug.
The attached patch should fix this issue. Cheers -- Sebastian Ramacher
diff -Nru patator-0.9/debian/patches/pycryptodome.patch patator-0.9/debian/patches/pycryptodome.patch
--- patator-0.9/debian/patches/pycryptodome.patch 1970-01-01 01:00:00.000000000 +0100
+++ patator-0.9/debian/patches/pycryptodome.patch 2021-01-11 00:08:20.000000000 +0100
@@ -0,0 +1,22 @@
+--- patator-0.9.orig/patator.py
++++ patator-0.9/patator.py
+@@ -4196,7 +4196,7 @@ class RDP_login:
+
+ # VNC {{{
+ try:
+- from Crypto.Cipher import DES
++ from Cryptodome.Cipher import DES
+ except ImportError:
+ notfound.append('pycrypto')
+
+--- patator-0.9.orig/requirements.txt
++++ patator-0.9/requirements.txt
+@@ -6,7 +6,7 @@ pyopenssl
+ #cx_Oracle # non free dependencies
+ mysqlclient
+ psycopg2-binary
+-pycrypto
++pycryptodomex
+ dnspython
+ IPy
+ pysnmp
diff -Nru patator-0.9/debian/patches/series patator-0.9/debian/patches/series
--- patator-0.9/debian/patches/series 2020-09-29 23:39:54.000000000 +0200
+++ patator-0.9/debian/patches/series 2021-01-11 00:08:15.000000000 +0100
@@ -1,2 +1,3 @@
remove-cx-oracle-depencency.patch
Improve-usage-output-to-report-correct-executable-name.patch
+pycryptodome.patch
signature.asc
Description: PGP signature

