我有一些 encryptfs 系统的备份。我确信它们没有有用的数据,但我想试验一下如何恢复它们。
我没有长期恢复密钥,因为当需要时谁又真正拥有它们呢?
我确实对我当时的登录密码有一些很好的猜测,但我真的找不到针对这种情况的良好指南。
第一个问题是关于术语的。从文档中,我不确定什么映射到登录密码、恢复密钥、Private.sig、包装的密码、未包装的密码...
第二个问题是,Ubuntu 10.04 中这些问题的默认设置是什么?我问这个问题是因为我当前的流程是:
- 安装-t ecryptfs.Private/测试
- ls /测试
- 查看错误文件
- 卸载/测试
- 重复另一次密码猜测
这可能是因为这里的值错误而失败,不一定是因为我输入了错误的登录密码。
Select cipher:
1) aes: blocksize = 16; min keysize = 16; max keysize = 32
2) blowfish: blocksize = 8; min keysize = 16; max keysize = 56
3) des3_ede: blocksize = 8; min keysize = 24; max keysize = 24
4) twofish: blocksize = 16; min keysize = 16; max keysize = 32
5) cast6: blocksize = 16; min keysize = 16; max keysize = 32
6) cast5: blocksize = 8; min keysize = 5; max keysize = 16
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]:
Attempting to mount with the following options:
ecryptfs_unlink_sigs
ecryptfs_key_bytes=16
ecryptfs_cipher=aes
ecryptfs_sig=...
WARNING: Based on the contents of [/root/.ecryptfs/sig-cache.txt],
it looks like you have never mounted with this key
before. This could mean that you have typed your
passphrase wrong.
Would you like to proceed with the mount (yes/no)? : yes
Would you like to append sig [...] to
[/root/.ecryptfs/sig-cache.txt]
in order to avoid this warning in the future (yes/no)? : no
Not adding sig to user sig cache file; continuing with mount.
Mounted eCryptfs