ecryptfs-unwrap-passphrase 失败,登录密码有效吗?

ecryptfs-unwrap-passphrase 失败,登录密码有效吗?
sudo ecryptfs-unwrap-passphrase /home/username/.ecryptfs/wrapped-passphrase

这应该适用于我的“登录”密码。我登录到用户帐户,我可以看到我的文件,但该命令失败

ecryptfs-unwrap-passphrase /home/user/.ecryptfs/wrapped-passphrase
Passphrase: 
Error: Unwrapping passphrase failed [-5]
Info: Check the system log for more information from libecryptfs

当然,系统日志是沉默的

我几周前更改了密码,目前所有功能都正常,除了那个命令 - 所以我有点惊讶,我怎样才能解开密钥?

是不是因为版本不兼容?

答案1

好的,HACK 能用我的旧密码(第一个初始密码)来解决这个问题。

这太愚蠢了 - 如果你是开发人员 - 请向我解释一下,为什么在登录时它可以与我的当前的密码来解密和挂载文件,但对于包装密码(我猜也要重新包装它)我需要粘贴我的旧密码(非常非常旧,可能被泄露了?)吗?

其他话题 https://askubuntu.com/a/107660/579000

相关内容