File: pycryptodome.patch

package info (click to toggle)
patator 0.9-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 676 kB
  • sloc: python: 3,915; sh: 94; makefile: 6
file content (29 lines) | stat: -rw-r--r-- 728 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
28
29
Description: Switched from python3-crypto to python3-pycryptodome
Author: Sebastian Ramacher <sramacher@debian.org>
Bug-Debian: https://bugs.debian.org/971305
Forwarded: no
Reviewed-By: Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
Last-Update: 2021-01-11

--- 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