Commit Graph

231 Commits (master)

Author SHA1 Message Date
Mark Pariente 702acc0824 Merge pull request #60 from jibijose/master
Java 8 JCE link added
2015-03-05 14:49:36 -08:00
Jibi Jose a37eae4f44 Java 8 JCE link added 2015-03-01 11:30:39 +05:30
Mark Pariente 0f452cff37 Merge pull request #59 from jibijose/master
Java 7 JCE link added
2015-02-28 18:58:26 -08:00
Jibi Jose c557d1d637 Java 7 JCE link added 2015-02-26 23:38:37 +05:30
Mark Pariente 7b294f8b78 Version update for 0.9 development 2014-12-01 00:50:13 -08:00
Mark Pariente 23a10ad41d encfs-java 0.8 2014-12-01 00:41:48 -08:00
Mark Pariente 7c8fd64e0d Handle malformed file names in BFDS.decryptImpl()
In case there is a file on the volume storage that is exactly two bytes
long, BasicFilenameDecryptionStrategy.decryptImpl() will end up with a
zero length encFileName which will trigger unhandled exceptions from
EncFSCrypto calls. Handle the exception in decryptImpl() instead.
2014-12-01 00:38:14 -08:00
Mark Pariente 489f3f607a EncFSInputStream.read() result should be positive
According to java.io.InputStream spec read() needs to normalize the
value of the returned byte to be between 0-255.

Fixes mrpdaemon/encfs-java#57
2014-11-27 02:15:52 -08:00
Mark Pariente 5f477a9aee Fix unicode issue in EncFSCrypto.getBytesForBlockAlgorithm()
When computing padding length for chainIv computation we were directly
using the string length as byte length. Unicode files have different
byte length than their string lengths, resulting in incorrect chainIv
being computed and throwing EncFSChecksumException on valid files. Fix
uses the correct byte count and works fine for unicode file names.
2014-02-17 23:02:52 -08:00
Mark Pariente ba584a9a49 Remove passwordLen from EncFSPBKDF2Provider.doPBKDF2() 2014-02-17 21:30:21 -08:00
Mark Pariente 02f16f7ae5 Version update for 0.8 development 2014-02-17 21:27:14 -08:00
Mark Pariente 45c411728b encfs-java 0.7 2013-10-24 00:33:56 -07:00
Mark Pariente d1d14bea35 Handle race in EncFSLocalFileProvider.listFiles()
It's possible for the source directory to be deleted after the
isDirectory() check but before the File.listFiles() call, so we should
handle this case by throwing an exception.
2013-10-24 00:31:58 -07:00
Mark Pariente 2ec34cfb76 Version update for 0.7 development 2013-10-24 00:27:35 -07:00
Mark Pariente e71500be1e encfs-java 0.6 2013-05-27 15:08:53 -07:00
Mark Pariente ac2311c729 Fix decoding of malformed file names
It's possible for a malformed file name to result in a decoded file
name that is smaller than 2 bytes. The fix is to catch the exception and
throw an EncFSCorruptDataException.
2013-05-23 22:11:18 -07:00
Mark Pariente a37194e735 Version update for 0.6 development 2013-05-03 00:27:04 -07:00
Mark Pariente dbd64b5ee7 Fix formatting 2013-05-03 00:20:26 -07:00
Mark Pariente be943ceaca Remove .vimrc and add it + cscope stuff to .gitignore 2013-04-21 13:35:05 -07:00
Mark Pariente f3f564ecb8 Add .vimrc for formatting with ViM 2013-04-20 18:49:05 -07:00
Mark Pariente d6f1b3e7af encfs-java 0.5 2013-03-23 12:55:18 -07:00
Mark Pariente cc1a1b6316 Rename derivedPassword -> derivedKeyData 2013-03-09 20:15:00 -08:00
Mark Pariente 88687a62d9 Add AUTHORS file 2013-02-24 23:12:53 -08:00
Mark Pariente 7eac39ff60 Comment, visibility and naming fixes 2013-02-24 22:56:13 -08:00
Mark Pariente d3f11ff3a0 Rename EncFSAlgorithm -> EncFSFilenameEncryptionAlgorithm 2013-02-24 18:38:16 -08:00
Mark Pariente dc1303866e Comment fixes and renaming in EncFSVolume 2013-02-24 18:21:19 -08:00
Mark Pariente 6f862ab1ac Make EncFSVolume.countFiles() public again 2013-02-24 17:22:39 -08:00
Mark Pariente 4d15e95371 Make EncFSFileOutputStream public again 2013-02-24 17:19:06 -08:00
Mark Pariente 4e0c38a2a6 Rename {Block|Stream}Cryptography -> {Block|Stream}Crypto 2013-02-22 21:51:28 -08:00
Mark Pariente 8ffdf7d5da NotNull -> Basic Filename{Encryption|Decryption}Strategy 2013-02-22 21:43:07 -08:00
Mark Pariente 8f0698b0d6 Don't require org.slf4j.Logger in the library 2013-02-22 21:37:28 -08:00
Mark Pariente 06ea3755dd Fix complier warnings 2013-02-22 21:18:19 -08:00
Mark Pariente 716555ab51 Fix formatting 2013-02-22 21:04:17 -08:00
Mark Pariente dbea51df97 Merge git://github.com/lkwg82/encfs-java into master 2013-02-22 20:50:10 -08:00
Mark Pariente 4af2032fe4 Version update for 0.5 development 2013-02-22 20:49:07 -08:00
Lars Gohlke 43a8b748cf more cleanups 2013-02-18 00:21:43 +01:00
Lars Gohlke a5cde51f04 reduced flag arguments 2013-02-18 00:12:56 +01:00
Lars Gohlke eabe5b5902 cleanup many inspection things 2013-02-17 23:51:59 +01:00
Lars Gohlke f42c0460f0 moved stream things out of EncFSCrypto 2013-02-17 23:37:13 +01:00
Lars Gohlke 8a5acc39bc moved volume key things out of EncFSCrypto 2013-02-17 23:32:05 +01:00
Lars Gohlke 6ad59dd3f5 moved filename encoding out of EncFSCrypto 2013-02-17 23:15:36 +01:00
Lars Gohlke ab800962fb moved block-operations out of EncFSCrypto 2013-02-17 22:44:10 +01:00
Lars Gohlke 73355ac0a3 refactored FilenameDecryption 2013-02-17 22:32:03 +01:00
Lars Gohlke cdf8275e69 move Volume creation into the Builder 2013-02-17 21:06:52 +01:00
Lars Gohlke 1d30a7d928 cleanup 2013-02-17 20:08:05 +01:00
Lars Gohlke c50d0500b2 cleanup 2013-02-17 19:48:15 +01:00
Lars Gohlke f0b1714ec7 cleanup 2013-02-17 19:25:34 +01:00
Lars Gohlke 2a292c9ed8 added fail test for EncFSAlgorithm 2013-02-17 19:21:35 +01:00
Lars Gohlke 8614e3f4ec added fail test for EncFSAlgorithm 2013-02-17 19:21:20 +01:00
Lars Gohlke 010631b166 created Builder for EncFSVolume 2013-02-17 19:09:47 +01:00