我尝试在 Ubuntu 中挂载一个加密的 HFS+ 分区。
一个较早的帖子很好地描述了如何做到这一点,但缺乏如何使用加密分区的信息。
到目前为止我发现的是:
# install required packages
sudo apt-get install hfsprogs hfsutils hfsplus loop-aes-utils
# try to mount it
mount -t hfsplus -o encryption=aes-256 /dev/xyz /mount/xyz
Run Code Online (Sandbox Code Playgroud)
但是一旦我运行它,我就会收到以下错误:
Error: Password must be at least 20 characters.
Run Code Online (Sandbox Code Playgroud)
所以我尝试输入两次,但结果是:
ioctl: LOOP_SET_STATUS: Invalid argument, requested cipher or key (256 bits) not supported by kernel
Run Code Online (Sandbox Code Playgroud)
有什么建议?