On Thu, 8 Oct 2009 19:40:29 +0200
Ico <[email protected]> wrote:
| > Encfsctl can decode a complete directory without needing FUSE.
|
| Yes, I found this out after writing my mail, my wrong, I should have
| taken more time reading the manual.
|
I also discovered this.
Actually I discovered will decode the filename, but the file itself is
not looked for, and does not actually need to exist!
Try this...
ls /path/to/crypt_dir > ~/t
mkdir ~/tmp
encfs --anykey /path/to/crypt_dir ~/tmp
EnvFS Password: secret_pass-phrase
touch ~/tmp/SECRET_INFO_AS_A_FILENAME
mv `ls /path/to/crypt_dir | diff - ~/t`
# fine the encrypted_filename for that SECRET
rm ~/tmp/SECRET_INFO_AS_A_FILENAME
fusermount -u ~/tmp
rmdir ~/tmp
now that you have the encrypted form of that 'SECRET'
you can decrypt it get it with...
encfsctl decode /path/to/crypt_dir encrypted_filename
EncFS Password: secret_pass-phrase
SECRET_INFO_AS_A_FILENAME
The file itself does not need to exist, and the password can be
anything you want. All you need is the password, the ".encfs6.xml"
(containign the salt) and the encrypted filename
It would be nice if encfsctl could also decrypt and pipeout encrypted
files using any password as well.
Better still create such encrypted files (piped in data) without
needing FUSE.
It would provide an alternative method of storing 'single file' type
encrypted files. Things that you would normal use a file encryption
method such as "GPG -c" (symmetric cipher using a passphrase) which
does not use a public key. For example the file containing
"your list of web site passwords", or "bank details" things you would
want to use a separate password for.
Anthony Thyssen ( System Programmer ) <[email protected]>
-----------------------------------------------------------------------------
"We've heard that a million monkeys at a million keyboards could produce
the "Complete Works of Shakespeare"; now thanks to the Internet, we know
that this in NOT true." -- Robert Wilensky, University of Califonia
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Encfs-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/encfs-users