Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Automatically exported from code.google.com/p/jefsr
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
jefsr (Java EncFS Reader) is a library intended for accessing data stored in EncFS volumes. From user perspective, the main difference between jefsr and EncFS itself is that jefsr reads the data directly from encrypted files without the need for mounting the file system. Additionally, jefsr permits only for reading the data; there is no 'write' functionality. The library is written in Java (tested against version 6) and comes bundled with the following libraries: - XStream 1.4.2, xstream.codehaus.org (lib directory) - Base64 2.3.7, http://iharder.net/base64 (src/net/iharder/base64 directory) jefsr was tested against EncFS 1.7.4 and no actions were taken to achieve compatibility with old versions of EncFS. It is assumed that all configuration options of EncFS 1.7.4 are supported. In order to access files one must provide path to volume config file and user password. The password is not stored anywhere and is used exclusively to decipher master volume key. The config file must reside in root directory of the encrypted volume data tree. Currently only .encfs6.xml config files are supported. In order to use the library create an instance of az.jefsr.Volume class and call its init() method. Afterwards, it's sufficient to use decryptPath and decryptFile functions to get the appropriate data. It's important to note that all paths provided to the API calls must be relative to volume config file.