Sebastian Stenzel
e188649c79
adjusted test to vault version 4
2016-06-30 22:18:43 +02:00
Sebastian Stenzel
1468c6ec90
improved vault upgrading, preparation for migration to vault version 4
2016-06-30 22:09:45 +02:00
Sebastian Stenzel
07ba4eb537
Using 0 prefix instead of _ suffix to mark directories
2016-06-30 18:02:13 +02:00
Sebastian Stenzel
414bbef1a7
updated key generation
2016-06-10 14:04:55 +02:00
Sebastian Stenzel
02a0f3acc6
fixed invariant FolderChildrenTests
2016-05-23 11:18:24 +02:00
Sebastian Stenzel
99fce8d0b7
automatically resolve conflicts for directory files, that contain the same directory ID
2016-05-23 11:02:44 +02:00
Sebastian Stenzel
bf05c59c3b
Transparent conflict detection for long file names
2016-05-22 15:16:32 +02:00
Sebastian Stenzel
3dcebb1e1f
fixed minor copy/paste error
2016-05-22 13:32:16 +02:00
Sebastian Stenzel
6c18103662
Remove files with non-decryptable names from dir listings
2016-05-13 18:59:06 +02:00
Sebastian Stenzel
1c54e4f4ad
in the unlikely event of an alternative name already being used, choose a new random conflict id.
2016-05-12 16:13:03 +02:00
Sebastian Stenzel
9fd6f2ecae
transparently show sync conflicts ( fixes #98 )
2016-05-12 16:08:52 +02:00
Sebastian Stenzel
0d9f8eefc0
Using pattern based filename filtering
...
This is a preparation for finding valid encrypted names inside filenames that include additional characters
2016-05-12 11:51:14 +02:00
Sebastian Stenzel
a385f2eaef
fixes #174
2016-03-25 16:41:30 +01:00
Sebastian Stenzel
f12168ca94
allow deletion of corrupt directories, whose dir-file exists but physical directory doesn't. related to #181
2016-03-21 15:49:44 +01:00
Sebastian Stenzel
d397f59565
fixes #181
2016-03-21 14:46:15 +01:00
Sebastian Stenzel
d9ba4935b6
restored compatibility with vaults created on the iOS app
2016-03-09 09:01:26 +01:00
Markus Kreusch
6d31ed7ea4
fixes #163
...
* coverity issue 72253
2016-03-07 13:55:21 +01:00
Sebastian Stenzel
a30b310c04
close underlying file, if exception in constructor of CryptoReadableFile or CryptoWritableFile
2016-03-05 14:49:46 +01:00
Sebastian Stenzel
d845e8d97a
Coverity 72979
2016-03-04 17:50:07 +01:00
Sebastian Stenzel
293ac0ea3c
delete empty directories inside ./d/
2016-03-04 16:51:10 +01:00
Sebastian Stenzel
6da3fde864
work with number of bytes returned by ReadableFile.read(), Coverity issues 72259 and 72261
2016-03-04 01:39:50 +01:00
Sebastian Stenzel
3a725e4a16
fixed equals methods, Coverity issues 72280, 72281, 72283, 72284
2016-03-04 01:34:38 +01:00
Sebastian Stenzel
e57b60f04e
value is known to be null anyway
2016-03-04 01:23:16 +01:00
Sebastian Stenzel
d5b4fb4fe9
json parsing exception handling, see Coverity issues 72297, 72296, 72295
2016-03-04 01:20:38 +01:00
Sebastian Stenzel
c130d0e4a0
fixes #149
2016-03-03 12:06:41 +01:00
Markus Kreusch
7fba38d78a
BlockAlignedFileSystem no longer instantiable from other projects
2016-03-02 22:57:25 +01:00
Sebastian Stenzel
7b68c427d6
fixes #141
2016-02-28 18:37:55 +01:00
Sebastian Stenzel
bc9b7c3a19
check vault version before unlocking
2016-02-28 18:14:07 +01:00
Sebastian Stenzel
cbb669aa40
reduced visibility of some classes
2016-02-28 17:49:21 +01:00
Sebastian Stenzel
7cb435e517
support for RFC 4331: DAV:quota-available-bytes and DAV:quota-used-bytes
...
references #97 ; quota calculation in NIO filesystem still missing
2016-02-23 18:13:19 +01:00
Sebastian Stenzel
d926cbfd5c
removed unused import [ci skip]
2016-02-22 23:49:27 +01:00
Sebastian Stenzel
c03bdd8425
- decrypt whole file, don't stop if enough data has been read from underlying fs
...
- write "length = 0" into file header until everything is encrypted
(tested on windows, everything is fine here)
2016-02-22 23:06:02 +01:00
Sebastian Stenzel
5b22806bbc
fixed writing short ciphertext to file, that existed with a longer ciphertext before but wasn't truncated
2016-02-22 19:07:02 +01:00
Sebastian Stenzel
1467c8315c
- moved method from WritableFile to File: moveTo, setLastModified, setCreationTime, delete
...
- moved method from File and Folder to Node: setLastModified, setCreationTime, delete
2016-02-22 16:42:31 +01:00
Sebastian Stenzel
e6a9786b7a
minor bytebuffer allocation optimization
2016-02-22 14:58:27 +01:00
Sebastian Stenzel
ae7e865c24
fixed unit test
2016-02-22 13:12:36 +01:00
Sebastian Stenzel
c8df03a085
added test to check authentication errors in file headers
2016-02-22 13:08:58 +01:00
Sebastian Stenzel
7bc678d4dc
- don't write encrypted file header, if no actual write happens inside of an encrypted writable file (temporary workaround only!)
...
- reduced loglevel
2016-02-21 23:34:03 +01:00
Markus Kreusch
391d8013b5
Fixed CryptoWritableFile errors when reading from moved file
...
* CryptoWritableFile no longer writes header with zero size if file is
opened for writing
* Refactored FileContentDecryptor: Using Supplier<Mac> instead of
ThreadLocal<Mac>
* Fixed InMemoryWritableFile: No longer open after moveTo
2016-02-21 21:33:35 +01:00
Sebastian Stenzel
c7c4dd4581
added file size obfuscation padding
2016-02-21 00:20:57 +01:00
Sebastian Stenzel
7f313772e5
fixed random access positioning
2016-02-20 14:10:46 +01:00
Sebastian Stenzel
3a82dfb23f
- fixed return value of readBlockAligend
...
- adjusted loglevel of BlockAlignedWritableFile
[ci skip]
2016-02-20 12:34:14 +01:00
Sebastian Stenzel
b85a110a24
- report authentication error on the UI
...
- reduced visibility of some classes
2016-02-18 16:39:34 +01:00
Sebastian Stenzel
f93d32c6fb
faster directory moving (no recursive iteration on filesystem needed any longer)
2016-02-17 12:05:16 +01:00
Sebastian Stenzel
a909095a1c
Fixed reuse of directory-IDs after moving encrypted directories but keeping references to the old locations.
...
This caused an illegal state where two different directories share the same directory id, making further file operations on these directories virtually impossible.
2016-02-15 23:31:09 +01:00
Sebastian Stenzel
03208ebc5e
fixed CryptoFolder (damn partial commits...)
2016-02-15 22:39:52 +01:00
Sebastian Stenzel
c41225eab6
Code simplification
2016-02-15 22:34:11 +01:00
Sebastian Stenzel
2725b6b920
not spawning new threadpools for each individual encryption/decryption job anymore
2016-02-15 16:35:30 +01:00
Markus Kreusch
8cdb6d0eab
Fixed CryptoFileSystem
...
* avoid creation of a file and folder with equal names
2016-02-14 23:07:55 +01:00
Sebastian Stenzel
752601f4da
further crypto layer optimizations for WebDAV compliance
2016-02-14 20:50:42 +01:00