Sebastian Stenzel
a6bbc0ed44
- CryptoFS + InMemory Benchmark test
...
- faster growing in-memory files
2016-01-23 02:07:13 +01:00
Sebastian Stenzel
cd72dae0d7
pass I/O exceptions on producer side to the consumer, so that decryption fails, if reading the decrypted file fails.
2016-01-17 21:44:47 +01:00
Sebastian Stenzel
9278426131
forgot one place in commit fa35b63 [ci skip]
2016-01-16 01:18:23 +01:00
Sebastian Stenzel
fd98f0a69f
pass though IOExceptions from writer thread during close() [ci skip]
2016-01-16 01:09:10 +01:00
Sebastian Stenzel
fa35b63b6d
same InterruptedIOException in all cases
2016-01-16 01:00:57 +01:00
Markus Kreusch
51f5b6661f
Adjusted fix for issue in CryptoFileSystem when deleting a file
...
* CryptoWritableFile now only invokes writeTaks.get if not already
closed
* CryptoWritableFile now cancels writeTask before delete
2016-01-16 00:47:13 +01:00
Markus Kreusch
1a9ac16256
Additional filesystem-invariants-tests
...
* added tests
* fixed issue in CryptoFileSystem when deleting a file
** FileContentEncryptorImpl now does not submit an empty cleartext
buffer when receiving EOF
** CryptoWritableFile now only writesHeader on close if the file is
still open
2016-01-15 23:54:21 +01:00
Markus Kreusch
b330148b5f
Avoid loosing exception stacktrace
2016-01-15 21:46:40 +01:00
Markus Kreusch
20e7f4a548
Added FolderChildrenTests and FolderTests
...
* implemented some testcases
* fixed some issues
2016-01-15 19:13:46 +01:00
Sebastian Stenzel
3b178030c7
- Fixes #128 and #119 by using unique directory id as associated data during filename encryption/decryption
...
- Using WeakValuedCache in all filesystem layers to prevent "twin" instances of the same folder
- Merge branch 'layered-io' of https://github.com/cryptomator/cryptomator into layered-io
2016-01-10 16:27:56 +01:00
Sebastian Stenzel
b2d425e11f
added possibility to add associated data to filename encryption (references #128 , #119 )
2016-01-10 13:39:12 +01:00
Markus Kreusch
5ff4f4c9c7
Changed handling of creation time
...
* creationTime now creates an Optional
* Removed FileSystem#supports and FileSystemFeature
2016-01-09 19:15:07 +01:00
Sebastian Stenzel
fcf4476ae3
Added ReadableFile#size()
2016-01-09 16:39:14 +01:00
Sebastian Stenzel
0c42392244
Make delegating folders create their parents during own creation if they don't exist yet.
2016-01-09 01:22:27 +01:00
Markus Kreusch
415423abd7
Added creation time
...
* Getter and setter for files and folders
* A way to determine if a file system supports creation dates
* WebDav compliant implementation in jackrabbit-adapter
* Tests
2016-01-09 00:51:25 +01:00
Sebastian Stenzel
a8f53b7084
Increased performance of non-random-access read/write by switching to block-aligned mode only when necessary.
2016-01-06 10:50:31 +01:00
Markus Kreusch
3f44d9bb66
Added project filesystem-invariants-tests
...
* Implemented some tests to be run on multiple implementations to
demonstrate how such tests can be implemented
* Detected problems with CryptoFileSystem(NioFileSystem)
* Made CryptoFileSystem and CryptorImpl public / constructible from
other packages
2016-01-06 01:51:46 +01:00
Sebastian Stenzel
ddf6353729
Using DI to stack up filesystem layers
2016-01-05 16:55:52 +01:00
Sebastian Stenzel
b31f6a0aec
fixed another test, but not that important. thus [ci skip]
2016-01-04 21:32:11 +01:00
Sebastian Stenzel
f75cf48d7b
fixed that test...
2016-01-04 21:03:09 +01:00
Sebastian Stenzel
578f52f4ba
cleanup, attempt to fix test
2016-01-04 20:46:10 +01:00
Sebastian Stenzel
ae55874709
Random Access Decryption
2016-01-04 20:31:49 +01:00
Sebastian Stenzel
f46a79fa63
Added test for AuthenticationFailedException during filename decryption
2016-01-02 14:40:17 +01:00
Sebastian Stenzel
0c2caf4469
Even more FifoParallelDataProcessor simplification + test
2016-01-01 16:15:36 +01:00
Sebastian Stenzel
9665ca8dff
Simplified FifoParallelDataProcessor
2016-01-01 16:06:19 +01:00
Sebastian Stenzel
c3652a22a0
reject execution when shut down
2016-01-01 14:10:15 +01:00
Sebastian Stenzel
3043aa29c2
added enc/dec benchmark test
2016-01-01 13:49:20 +01:00
Sebastian Stenzel
a388acfce4
added test
2016-01-01 12:50:25 +01:00
Sebastian Stenzel
282fd5ecee
added copyright header [ci skip]
2015-12-29 22:09:12 +01:00
Sebastian Stenzel
634f176cf9
Added block-aligned read/write
2015-12-29 22:05:19 +01:00
Sebastian Stenzel
9385c3bf6d
separated filename shortening layer from metadata hiding layer
2015-12-29 16:24:42 +01:00
Sebastian Stenzel
44d1250986
Added new filesystem layer for read/write alignment with boundary of encrypted chunks.
2015-12-29 13:41:47 +01:00
Sebastian Stenzel
3317babe6b
renamed package org.cryptomator.crypto.fs to org.cryptomator.filesystem.crypto (same as all other org.cryptomator.filesystem.* filesystems) [ci skip]
2015-12-29 07:50:31 +01:00
Sebastian Stenzel
3998a7cd58
typo [ci skip]
2015-12-29 07:47:03 +01:00
Markus Kreusch
260303127e
Replaced DirectoryWalker by FileSystemVisitor
2015-12-28 23:07:09 +01:00
Markus Kreusch
d073bdfad9
Removed FolderCreateMode from filesystem api
...
* Folder#create now always creates the parents
2015-12-28 21:29:34 +01:00
Markus Kreusch
62d8cdfe4f
Added commons project
2015-12-28 20:58:38 +01:00
Markus Kreusch
356ea5c319
Refactored filesystem api
...
* Removed Readable- and WritableBytes
** Replaced with Readable-/WritableByteChannel
** Methods now integrated in Readable- and WritableFile
** Replaced positioned read/write by method to set the position
2015-12-28 20:54:18 +01:00
Sebastian Stenzel
0254569826
webdav move/copy/delete
2015-12-28 14:06:40 +01:00
Sebastian Stenzel
dc5d3e21f3
Externalized FileHeader encryption/decryption to separate class
2015-12-20 14:51:53 +01:00
Sebastian Stenzel
80e1185325
Adding blocking behaviour when appending data to be en/decrypted.
...
Using composite instead of inheritance for FileContentDecryptorImpl and FileContentEncryptorImpl
2015-12-20 12:42:02 +01:00
Sebastian Stenzel
49c70c03fe
now also testing MAC against openssl-computed result.
...
also we're testing encryption of "hello world" instead of "hello world " now :D
[ci skip]
2015-12-20 11:13:08 +01:00
Sebastian Stenzel
3045805751
File content encryption and decryption (still without padding, no partial support)
2015-12-20 00:38:14 +01:00
Sebastian Stenzel
4e0143eb05
started implementation of FileContentEncryptorImpl
2015-12-19 18:22:03 +01:00
Sebastian Stenzel
951a02a9a5
cleanup
2015-12-19 11:26:35 +01:00
Sebastian Stenzel
69b192fe82
shutting down file reader when closing the readablefile
2015-12-19 01:15:54 +01:00
Sebastian Stenzel
a055066f72
added timeouts to crypto fs tests
2015-12-19 00:54:51 +01:00
Sebastian Stenzel
a879ed2237
Preparations for file content encryption (no partial support yet)
2015-12-18 22:07:12 +01:00
Sebastian Stenzel
9711314080
removed unused code [ci skip]
2015-12-18 00:09:48 +01:00
Sebastian Stenzel
b22ac719f2
renamed filesystem layer maven modules
2015-12-18 00:06:31 +01:00