rudde / jefsr Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jefsr
License: GNU General Public License v3.0
Automatically exported from code.google.com/p/jefsr
License: GNU General Public License v3.0
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.
Thanks.
Original issue reported on code.google.com by [email protected]
on 22 Jul 2012 at 10:32
I have an encrypted volume created by "Encfs GUI" by Frediano Ziglio.
I can mount and umount it without any problem.
However when I try do the same from jefsr (where fnode is the file node for the
.ecnfs6.xml file) I get this error:
az.jefsr.crypto.CipherConfigException: Volume config and key data inconsistent
at az.jefsr.crypto.KeyCreator.createVolumeKey(KeyCreator.java:92)
I am doing this in the UK, so I dont think there are any encryption
restrictions.
This is the code:
Volume v;
try {
v = new Volume(fnode.getFile().getAbsolutePath());
} catch (FileNotFoundException e) {
e.printStackTrace();
return;
} catch (UnsupportedFormatException e) {
e.printStackTrace();
return;
} catch (IOException e) {
e.printStackTrace();
return;
}
try {
v.init("poopoo");
Original issue reported on code.google.com by [email protected]
on 28 Aug 2013 at 7:37
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.