我使用以下命令运行了就地解密过程
sudo cryptsetup-reencrypt --decrypt /dev/sdb1
但被中断了(硬盘意外断开)
有没有办法恢复这个过程,还是我应该和我的数据说再见?
更多信息
我能够从大约0.1%photorec
我猜想这是迄今为止解密的硬盘部分。
~/
我在我的目录中发现了三个文件
4.0K -rw------- 1 root root 512 Oct 14 14:45 LUKS-688fbce2-bbe8-4665-aa40-dcf0e700ffea.log
1.1M -rw------- 1 root root 1.1M Oct 14 13:18 LUKS-688fbce2-bbe8-4665-aa40-dcf0e700ffea.new
1.1M -r-------- 1 root root 1.1M Oct 14 13:18 LUKS-688fbce2-bbe8-4665-aa40-dcf0e700ffea.org
.log
文件内容
# LUKS reencryption log, DO NOT EDIT OR DELETE.
version = 2
UUID = 688fbce2-bbe8-4665-aa40-dcf0e700ffea
direction = 0
mode = 2
offset = 18014535680
shift = 0
# EOF
当我尝试解锁设备时
$ cryptsetup luksOpen /dev/sdb1 hdd
Reduced data offset is allowed only for detached LUKS header.
cryptsetup-reencrypt --decrypt
当我再次尝试奔跑
$ cryptsetup-reencrypt --decrypt /dev/sdb1
Enter any existing passphrase:
No key available with this passphrase.
您还能读懂标题吗?
$ cryptsetup luksDump /dev/sdb1
LUKS header information for /dev/sdb1
Version: 1
Cipher name: cipher_null
Cipher mode: ecb
Hash spec: sha256
Payload offset: 0
MK bits: 256
MK digest: 07 59 1b 61 7d 27 fc 20 d5 25 ee 55 dd 7d 28 e0 49 3d 8e cf
MK salt: 9f 22 d1 03 f4 71 92 09 f9 2a d2 3a 8f 23 32 51
38 3f 38 eb 7a a9 ab 23 fd 8a 93 4c c3 90 58 89
MK iterations: 189410
UUID: cafecafe-cafe-cafe-cafe-cafecafeeeee
Key Slot 0: ENABLED
Iterations: 3120760
Salt: 9b 20 06 49 58 6a 02 38 65 af f6 e1 bf 8d 1b d1
f0 38 e3 7b 2a 26 63 52 16 6a b4 1a 6f 5f 10 49
Key material offset: 8
AF stripes: 4000
Key Slot 1: DISABLED
Key Slot 2: DISABLED
Key Slot 3: DISABLED
Key Slot 4: DISABLED
Key Slot 5: DISABLED
Key Slot 6: DISABLED
Key Slot 7: DISABLED