Skip to content

module import errors #158

@xyxyxoxo

Description

@xyxyxoxo

Hello and thank you for this wonderful tool.

There's a small issue though: on Debian 12 the script doesn't run out of the box, complaining it can't find module Crypto. If I change lines 15 and 16 to:

from Cryptodome.Cipher import AES
from Cryptodome.Util import Counter

...then it runs fine.

I'm not using any virtual environment (I assume it would work then), I'm just installing python3-pycryptodome with apt. (Similar issue under Debian: https://forums.raspberrypi.com/viewtopic.php?t=391774)

Is there a way to update the code to make it work with both Crypto and Cryptodome?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions