Decrypt single file using passphrase

Asked by Felix Lechner

Can a single file be decrypted manually without going through the kernel?

In other words, can I decrypt a file ECRYPTFS_FNEK_ENCRYPTED... using just my unwrapped passphrase? I am looking for the way to do this without a mount command or even a kernel present.

Question information

Language:
English Edit question
Status:
Answered
For:
eCryptfs Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Ted_Smith (tedsmith28) said :
#1

As far as I know, you would have to mount the dir that it lives in, just as you would if it contained many files. Though every file is encrypted with it's own unique FEK, the process of accessing a file or files is that of mounting as eCryptfs (it being a filesystem, afterall).

The a breakdown of how to do this is here (provided step-by-stpe by Dustin, though note he suspects he has found a bug)

https://answers.launchpad.net/ecryptfs/+question/104211

Ted

Can you help with this problem?

Provide an answer of your own, or ask Felix Lechner for more information if necessary.

To post a message you must log in.