相关疑难解决方法(0)

解包密码并插入用户会话密钥环失败

在命令中输入正确的密码后ecryptfs-mount-private,我收到此错误:

torben@torben-nettop:~$ sudo ecryptfs-recover-private
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/media/0f417b42-11a0-4539-9cae-e11ce3b289c3/home/.ecryptfs/
  torben/.Private].
Try to recover this directory? [Y/n]: y
INFO: Enter your LOGIN passphrase...
Passphrase: 
Error: Unwrapping passphrase and inserting into the user session keyring
  failed [-5]
Info: Check the system log for more information from libecryptfs
torben@torben-nettop:~$ 
Run Code Online (Sandbox Code Playgroud)

Syslog 有以下信息:

ecryptfs-insert-wrapped-passphrase-into-keyring:  
  Incorrect wrapping key for file [/home/torben/.ecryptfs/wrapped-passphrase]  
ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to unwrap
  passphrase from file [/home/torben/.ecryptfs/wrapped-passphrase]; rc = [-5]
Run Code Online (Sandbox Code Playgroud)

--> 鉴于我绝对确定我输入了正确的密码,我该怎么做才能解决这个问题,以便我可以读取加密的主文件夹? …

ecryptfs 11.04

16
推荐指数
1
解决办法
2万
查看次数

如何从加密的主目录中恢复数据

我选择在安装过程中加密我的 Home,现在我想从 LiveCD 访问我的数据,不幸的是我在遵循这些说明时遇到了麻烦。我收到错误“正在挂载 eCryptfs:[-2] 没有这样的文件或目录”

encryption

13
推荐指数
2
解决办法
3647
查看次数

无法挂载旧的加密主目录

我将我的home目录托管在与 Ubuntu 安装的其余部分分开的硬盘驱动器上。我最近得到了一个新驱动器,我正在将我的用户数据从旧驱动器迁移到新驱动器。

问题是:我使用 ecryptfs 来加密我用户的主目录,现在我无法挂载旧的加密目录。我知道这个类似的线程,并且我尝试ecryptfs-recover-private按照建议使用该命令,但出现以下错误(使用 的输出更新dmsg):

jrsmith3@hermes:~$ sudo ecryptfs-recover-private || sudo dmesg -T | tail -n 5
INFO: Searching for encrypted private directories (this might take a while)...
INFO: Found [/mnt/.ecryptfs/jrsmith3/.Private].
Try to recover this directory? [Y/n]: 
INFO: Found your wrapped-passphrase
Do you know your LOGIN passphrase? [Y/n] 
INFO: Enter your LOGIN passphrase...
Passphrase: 
Inserted auth tok with sig [154a85415793937b] into the user session keyring
mount: No such file or directory …
Run Code Online (Sandbox Code Playgroud)

mount ecryptfs

7
推荐指数
2
解决办法
4637
查看次数

Ubuntu 18.04:挂载加密磁盘

我刚刚在新磁盘上安装了 Ubuntu 18.04,并尝试从 18.04 访问磁盘上的旧 Ubuntu 文件。

进入/media/new_user/old_disk/old_user,有一个自述文件说:此目录已卸载以保护您的数据。然后说:从命令行,运行: ecryptfs-mount-private

试:

$ sudo ecryptfs-recover-private
Run Code Online (Sandbox Code Playgroud)

没有做太多事情(基本上是它无法访问的几个文件,并且没有任何反应)。阅读这篇旧帖子 (链接到此博客),我改为:

cd /media/new_user/old_disk/.ecryptfs/old_user
sudo ecryptfs-recover-private .Private/
Run Code Online (Sandbox Code Playgroud)

这使:

INFO: Found [.Private/].
Try to recover this directory? [Y/n]: Y
INFO: Found your wrapped-passphrase
Do you know your LOGIN passphrase? [Y/n] n
INFO: To recover this directory, you MUST have your original MOUNT passphrase.
INFO: When you first setup your encrypted private directory, you were told to record …
Run Code Online (Sandbox Code Playgroud)

encryption mount ecryptfs

6
推荐指数
1
解决办法
5059
查看次数

重新安装后从单独的分区解密 $HOME

以前,我安装了 10.10 的三个分区 - sda1-/boot(ext2) sda2-/(btrfs) sda3- /home(btrfs)。我选择了加密的主文件夹。现在在同一台机器上,我已经安装了 10.04 (LTS),并在同一个 sda1 上选择了新的 /boot,在同一个 sda2 (ext4) 和sda3(home)上选择了新的 /boot,从早期的安装中保持不变

我的问题是,现在我无法使用 早期家庭用户的密码使用ecryptfs-mount-private util访问/挂载我以前的家庭。这是错误:未正确设置加密的私有目录。 我还安装了 btrfs 实用程序。

那么是否有任何解决方案/解决方法可以访问不同分区上的 $home 。

filesystem encryption ecryptfs home-directory

5
推荐指数
2
解决办法
5321
查看次数

标签 统计

ecryptfs ×4

encryption ×3

mount ×2

11.04 ×1

filesystem ×1

home-directory ×1