themaddoctor / linux-mybook-tools

tools for opening some encrypted WD My Book drives in linux
GNU General Public License v3.0
181 stars 26 forks source link

MyBook Essential 2TB ImportError: No module named Crypto.Cipher #72

Open macabi170 opened 3 years ago

macabi170 commented 3 years ago

it has a Symwave SW6316 chip. it has no password

I get an error in this step, am I missing something?

I'm using Linux Mint on VMware

./unwrap.py xxd -p -c 40 edek.bin cat kek.hex > dek0.hex Traceback (most recent call last): File "./unwrap.py", line 4, in from Crypto.Cipher import AES ImportError: No module named Crypto.Cipher

00000000 53 59 4d 57 f8 01 3c 88 00 00 00 00 00 00 00 02 |SYMW..<.........| 00000010 a4 a8 eb 58 99 1d d0 67 a4 12 5c 7b 61 34 47 a0 |...X...g..{a4G.| 00000020 27 dd 3f af de f0 68 7a 7c 7e 41 b7 08 88 79 66 |'.?...hz|~A...yf| 00000030 d1 fc f6 5d 85 e1 23 08 b5 b9 88 15 20 03 b1 72 |...]..#..... ..r| 00000040 88 eb 65 f3 e7 f9 70 91 cb ee 9a 09 97 ad 05 58 |..e...p........X| 00000050 6d b3 6e e3 cd c9 78 5f c0 85 cb fe 8d 06 50 43 |m.n...x_......PC| 00000060 6e 50 b6 0f 8c 30 36 1a fa 9b 25 8e 6a 6b 26 32 |nP...06...%.jk&2| 00000070 61 72 02 04 65 f3 a9 c0 55 b5 b4 a1 c7 e7 d4 0c |ar..e...U.......| 00000080 f2 3b 52 f1 69 e8 b3 46 00 00 00 00 00 00 00 00 |.;R.i..F........| 00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 000001c0 e8 df 88 00 00 00 00 00 00 00 02 00 00 00 00 00 |................| 000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| 00000200

themaddoctor commented 3 years ago

You need to install the python cryptodeome module. Look for it on pypi.org

themaddoctor commented 3 years ago

Here's your key, btw: 27387d7b872e7fc801daf5952005604b530681d98e6f17bb109c640cf91d7cec