-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
26 lines (21 loc) · 1.38 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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.