📄 ecryptfs.txt
字号:
eCryptfs: A stacked cryptographic filesystem for LinuxeCryptfs is free software. Please see the file COPYING for details.For documentation, please see the files in the doc/ subdirectory. Forbuilding and installation instructions please see the INSTALL file.Maintainer: Phillip HellewellLead developer: Michael A. Halcrow <mhalcrow@us.ibm.com>Developers: Michael C. Thompson Kent YoderWeb Site: http://ecryptfs.sf.netThis software is currently undergoing development. Make sure tomaintain a backup copy of any data you write into eCryptfs.eCryptfs requires the userspace tools downloadable from theSourceForge site:http://sourceforge.net/projects/ecryptfs/Userspace requirements include: - David Howells' userspace keyring headers and libraries (version 1.0 or higher), obtainable from http://people.redhat.com/~dhowells/keyutils/ - LibgcryptNOTESIn the beta/experimental releases of eCryptfs, when you upgradeeCryptfs, you should copy the files to an unencrypted location andthen copy the files back into the new eCryptfs mount to migrate thefiles.MOUNT-WIDE PASSPHRASECreate a new directory into which eCryptfs will write its encryptedfiles (i.e., /root/crypt). Then, create the mount point directory(i.e., /mnt/crypt). Now it's time to mount eCryptfs:mount -t ecryptfs /root/crypt /mnt/cryptYou should be prompted for a passphrase and a salt (the salt may beblank).Try writing a new file:echo "Hello, World" > /mnt/crypt/hello.txtThe operation will complete. Notice that there is a new file in/root/crypt that is at least 12288 bytes in size (depending on yourhost page size). This is the encrypted underlying file for what youjust wrote. To test reading, from start to finish, you need to clearthe user session keyring:keyctl clear @uThen umount /mnt/crypt and mount again per the instructions givenabove.cat /mnt/crypt/hello.txtNOTESeCryptfs version 0.1 should only be mounted on (1) empty directoriesor (2) directories containing files only created by eCryptfs. If youmount a directory that has pre-existing files not created by eCryptfs,then behavior is undefined. Do not run eCryptfs in higher verbositylevels unless you are doing so for the sole purpose of debugging ordevelopment, since secret values will be written out to the system login that case.Mike Halcrowmhalcrow@us.ibm.com
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -