elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.73k stars 753 forks source link

Failure with pillow>=10.0.0 #194

Closed wiene closed 11 months ago

wiene commented 11 months ago

dnstwist fails with Pillow>=10.0.0 due to backward incompatible changes. Have a look at this Debian bug report for more information on this issue.

Replacing Image.ANTIALIAS by Image.LANCZOS in this line fixes the issue for me.

elceef commented 11 months ago

Thanks for reporting! This has been fixed per your recommendation.

wiene commented 11 months ago

Thanks for the quick fix.

In addition I would suggest to adjust the requirements.txt file accordingly to reflect the new version requirement. What do you think?

elceef commented 11 months ago

No need. Constant Image.LANCZOS is present in older Pillow versions, including 7.0.0.

wiene commented 11 months ago

You are absolutely right. I should have checked it before making the suggestion. Thanks again for your speedy feedback.