Commit Graph

234 Commits (dev)

Author SHA1 Message Date
aefo ccceecb4b5 added comment 2011-12-20 23:20:11 -08:00
aefo 5040a34afd Test too to verify / compare directory & file info between encfs-java
decode & mounted encf volume
2011-12-20 23:20:11 -08:00
aefo b4b0d573db Created tests for EncFSUtil 2011-12-20 23:20:11 -08:00
aefo 89d2f4992a Added test using incorrect password against an encfs volume 2011-12-20 23:20:11 -08:00
aefo 893a0f0291 Added toString for the config 2011-12-20 23:20:11 -08:00
aefo 233def6365 Fixes for skipping files in the raw FS that aren't encoded with our volume key 2011-12-20 23:20:11 -08:00
aefo 18655cb8de Addition of unit tests for the encfs samples 2011-12-20 23:20:11 -08:00
aefo e389ca2ee0 Added file size checking 2011-12-18 18:29:43 +00:00
aefo 4ff26d0a85 Added getContentsLength method 2011-12-18 18:29:02 +00:00
aefo e9a62c9a48 Added support for "ls -ltr" to allow sorting & seeing more details in
the listing (so that you can see sizes / modified times)
2011-12-18 18:28:03 +00:00
aefo a66aafa759 Correct compile error 2011-12-18 17:35:10 +00:00
aefo a363b36437 added comment 2011-12-18 17:24:00 +00:00
aefo 612bee5e6b Test too to verify / compare directory & file info between encfs-java
decode & mounted encf volume
2011-12-18 17:22:05 +00:00
aefo bd5a5f1ed8 Created tests for EncFSUtil 2011-12-17 21:31:21 +00:00
aefo b626f36f94 Added test using incorrect password against an encfs volume 2011-12-17 20:59:37 +00:00
aefo 38f77472b8 Added toString for the config 2011-12-17 20:51:47 +00:00
aefo 7a75883ade Fixes for skipping files in the raw FS that aren't encoded with our volume key 2011-12-17 20:47:57 +00:00
aefo f9b021b9f0 Addition of unit tests for the encfs samples 2011-12-17 20:46:56 +00:00
aefo bfb766d1c8 Fix to support read(byte[] output, int offset, int size) method 2011-12-17 20:46:06 +00:00
aefo b22fa41b97 ignore eclipse bin dir 2011-12-17 17:07:48 +00:00
aefo 5ed68c71a0 add encfs samples 2011-12-17 17:04:52 +00:00
Mark Pariente 9ba5d0ccbc Update README.md with JCE security policy note 2011-12-16 01:49:24 -08:00
Mark Pariente 1fb202421f Implemented nameio/stream file name encryption algorithm
This change adds support for nameio/stream mode of filename encryption.
Also as a bonus change it fixes the MAC computation for volumes that
do not use chained name IV.
2011-12-16 01:41:40 -08:00
Mark Pariente 10e86483c6 Add support for uniqueIV = 0
This change adds support for EncFS volume created with a configuration
that doesn't use unique file IV headers.
2011-12-16 00:34:40 -08:00
Mark Pariente 6650a0be3c Support variable size volume keys
Remove hardcoded 32-byte volume key size in EncFSCrypto.decryptVolumeKey
to support volumes with key sizes different than 256 bits. Tested to
work fine with the standard options under encfs 1.7.4 which creates
a volume with a 192-bit key.
2011-12-16 00:29:20 -08:00
Mark Pariente e1bd0bc68d Add EncFSVolume.getConfigFileName()
Added a method to expose the config file name for library users.
2011-12-02 00:02:20 -08:00
Mark Pariente 77031f057a Enable PBKDF2 result caching
Added constructors for EncFSVolume to allow the password-based key
and IV data to be cached, and re-used to create an EncFSVolume for
the same volume at a later time.
2011-11-29 22:37:33 -08:00
Mark Pariente 41ecff532e Un-implement EncFSFileInputStream.read()
On some runtimes the readBlock() implementation ended up recursively
calling into read(byte[]) since the call into super.read(byte[]) gets
reflected back into EncFSFileInputStream resulting into infinite
recursion. As a lame solution, removing read(byte[], int, int) from
EncFSFileInputStream and calling FileInputStream.read(byte[], int, int)
from readBlock().
2011-11-22 22:56:47 -08:00
Mark Pariente 334c6073d7 Remove unused import
Forgot to remove import for javax.xml.bind.DatatypeConverter
from EncFSCrypto.java in the last commit.
2011-11-21 22:32:59 -08:00
Mark Pariente f28612b7a1 Get rid of javax.xml.bind.DatatypeConverter
Bundle Robert Harder's Base64 implementation [1] instead of using
javax.xml.bind.DatatypeConverter to do base64 decoding since
Android doesn't package JAXB.

[1] http://iharder.sourceforge.net/current/index.html
2011-11-19 19:56:02 -08:00
Mark Pariente 2d5b0837d2 Bugfix: use equals() to compare strings 2011-11-19 19:53:09 -08:00
Mark Pariente 267efb316e Another README update 2011-11-11 00:23:41 -08:00
Mark Pariente 87382eafe1 README update 2011-11-11 00:20:35 -08:00
Mark Pariente 91df44286b Initial commit of encfs-java 2011-11-11 00:09:46 -08:00