Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#61617 - [impacket] 0.9.18-1 import error cryptodome

Attached to Project: Community Packages
Opened by Jean Razack (Razack) - Sunday, 03 February 2019, 18:15 GMT
Last edited by Balló György (City-busz) - Saturday, 30 March 2019, 08:43 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:

by execute application (in my case smbmap) depencens on impacket got a error somethin like "from Cryptodome.Crypto import ... ImportError: No module named Cryptodome"


Additional info:
impacket 0.9.18-1
python2-pycryptodome 3.7.3-1

Steps to reproduce:
execute any script that use impacket, psexecec.py

fix:

rename all imports in impacket from "Cryptodome" to "Crypto"
This task depends upon

Comment by Eduard Toloza (edu4rdshl) - Wednesday, 15 May 2019, 03:35 GMT
That isn't the right fix, the right fix is just changing the python2-crypto dependency (that actually install python2-pycryptodome and isn't needed) to python2-pycryptodomex (https://github.com/SecureAuthCorp/impacket/blob/master/requirements.txt#L4.

Razack, JFYI: if you want you can use the smbmap package from BlackArch that's fixed.

I adjunt the patch with the package bumped to latest version also.

Loading...