我正在尝试从外部驱动器(取自损坏的机器)恢复加密的主目录。我以前做过,但这次我无法解密文件名!
任何关于我哪里出错的帮助将不胜感激......
恢复密码
root@t42:/mnt/se/home/hcooper# ecryptfs-unwrap-passphrase /mnt/se/var/lib/ecryptfs/hcooper/wrapped-passphrase <password>
Warning: Using default salt value (undefined in ~/.ecryptfsrc)
0eeeabd98b712xxxxxxxc99615aeed3
挂载 ~/.Private
root@t42:/mnt/se/home/hcooper# mount -t ecryptfs .Private priv-mount/
Passphrase: <Copy and paste>
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
2) blowfish: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24 (not loaded)
4) twofish: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
5) cast6: blocksize = 16; min keysize = 16; max keysize = 32 (not loaded)
6) cast5: blocksize = 8; min keysize = 5; max keysize = 16 (not loaded)
Selection [aes]:
Select key bytes:
1) 16
2) 32
3) 24
Selection [16]:
Enable plaintext passthrough (y/n) [n]:
Enable filename encryption (y/n) [n]: y
Filname Encryption Key (FNEK) Signature [355a8158f7263d73]:
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_fnek_sig=355a8158f7263d73
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=355a8158f7263d73
Mounted eCryptfs
但文件仍然加密!
root@t42:/mnt/se/home/hcooper# ls priv-mount/ | head
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat01azIzg2-Bmv09aTP.798yk--
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat02bjNe2K9A9yAtDtqVR2fKE--
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat03lQpO4z6uUwD9WsQiJJmN---
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat03Tdy2UfXOFXqg59QPgiufk--
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat03YCBiTiBPhUITveL61Ig5---
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat04U4m3v8nyfkYBzR0gIlurU--
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat05hOO7o-TwsvxYPcbsuFduk--
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat05IyxqDYKNvnaGQCucqCwR---
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat08Sn-h2I7Ve.H9QIQtJe3EE--
ECRYPTFS_FNEK_ENCRYPTED.FWbV5bgYtAXkGUQkHQDy-741RhF0Oj9RLat0aMjHBO9ledaiSZ6VMVYfJE--
更新:我已经设法让损坏的磁盘进入单用户模式,当我“su - hcooper”并运行 ecrypt -mount-private时,它会提示我输入登录密码,然后安装 .Private 很好!因此,在我手动安装它的方法中一定有一些错误。密码类型是否正确?嗯。
0 个回答