Bjoern Schiessle
377d7fb8a8
don't decrease ->version for part files but only a local variable, otherwise it can happen that we decrease it twice and end up with the wrong value
2016-02-09 23:43:27 +01:00
Vincent Petry
3736f13826
Check if partial cache entry or not in encryption wrapper
2016-02-09 23:43:27 +01:00
Bjoern Schiessle
966eb4b084
realPath should contain the path to the file we want to read, e.g. the version and not the original file
2016-02-09 23:43:27 +01:00
Lukas Reschke
5ccb9dfa7e
Use database for keeping track of the version
2016-02-09 23:43:27 +01:00
Lukas Reschke
3badf5caf5
Use number of chunk for HMAC as well
...
Prevents switching single blocks within the encrypted file.
2016-02-09 23:43:26 +01:00
Lukas Reschke
b5824f024a
Keep track of file version
...
This way it is not possible anymore for an external storage admin to put up old versions of the file.
2016-02-09 23:43:26 +01:00
Lukas Reschke
d5c1596887
Clarify documentation
2016-02-09 23:43:26 +01:00
Lukas Reschke
3b62459c41
Use hash with appended "a" of the original password for the authentication
2016-02-09 23:43:26 +01:00
Björn Schießle
9bb97c714b
fixing unit tests
2016-02-09 23:43:26 +01:00
Lukas Reschke
b9ff16498b
Use random_bytes instead OpenSSL
2016-02-09 23:43:26 +01:00
Björn Schießle
61dd191253
meta data are at the end of the file
2016-02-09 23:43:25 +01:00
Björn Schießle
e7ff84df5c
always use default cipher for write operations, no matter how the file was encrypted before
2016-02-09 23:43:25 +01:00
Björn Schießle
cf3a8f274f
make it backward compatible to work with signed and un-signed files
2016-02-09 23:43:25 +01:00
Björn Schießle
40a5ba72fc
sign all encrypted blocks and check signature on decrypt
2016-02-09 23:43:25 +01:00
Lukas Reschke
db8f267647
Add note about the addPadding function
2016-02-09 23:43:25 +01:00
Lukas Reschke
59ebad0b53
Use an actual 16 byte long IV
...
The previous IV was actually 12 byte extended to 16 byte using base64. As the encrypted file should be fine with containing binary data as well we can simply remove the encoding like that here.
2016-02-09 23:43:24 +01:00
Lukas Reschke
d25b8dacb3
Use AES-256-CTR as default
...
CTR is recommended over CFB mode.
2016-02-09 23:43:24 +01:00
Thomas Müller
29f6f451a9
Merge pull request #22192 from owncloud/fix_19685
...
Only set the default expiration date on share creation
2016-02-09 23:38:00 +01:00
Thomas Müller
febe5359aa
Merge pull request #22246 from owncloud/register-process-control-signal-handler-later
...
Register process control signel handlers only on execution of the com…
2016-02-09 23:37:49 +01:00
Thomas Müller
4cfb7ca7dd
Merge pull request #22255 from owncloud/add-sso-for-updatechecker
...
Add SSO for updater application
2016-02-09 23:37:32 +01:00
Thomas Müller
57ef23dadf
Merge pull request #22251 from owncloud/smb-105
...
update icewind/smb to 1.0.5
2016-02-09 23:37:09 +01:00
Thomas Müller
22c8501ce9
Merge pull request #22249 from owncloud/fix-22245
...
Save display name and email address on paste operations
2016-02-09 23:36:10 +01:00
C. Montero Luque
f64dbc67c6
Merge pull request #20928 from owncloud/publicdav-check-permissions
...
Check that the owner of a link share still has share permissions on access
2016-02-09 22:01:08 +01:00
C. Montero Luque
962d0c3290
Merge pull request #22252 from owncloud/consolidate-user-set-quota
...
Consolidate getQuota and setQuota methods in User instance
2016-02-09 22:00:24 +01:00
Lukas Reschke
b9e3ed1468
Add SSO for updater application
...
Allows logging-in into the updater application by visiting the admin panel and pressing "Open updater".
2016-02-09 20:28:30 +01:00
Arthur Schiwon
03d0fb4e3f
revolutionar: change updates might even sent the new value (optional)
2016-02-09 18:37:41 +01:00
Lukas Reschke
a39c7591d6
Merge pull request #22238 from owncloud/add-link-to-updater
...
Move update notification code into app
2016-02-09 18:22:20 +01:00
Arthur Schiwon
d19c47a381
More fixed tests :)
2016-02-09 18:11:30 +01:00
Lukas Reschke
abc675d87e
Move update notification code into app
...
Moves the update notification code in a single app. This is required since we want to use SSO for the new updater and for this have some code running in ownCloud as well (and we don't want that in core neccessarily). This app can provide that in the future, right now it's only the update notification itself. Will continue working on the SSO right away but wanted to keep the PR small.
Furthermore also makes some more code unit-testable...
2016-02-09 18:05:51 +01:00
Arthur Schiwon
096115870c
Avatar should also claim its change
2016-02-09 17:44:49 +01:00
Arthur Schiwon
82a37d41d0
Doc improvements
2016-02-09 17:41:04 +01:00
Arthur Schiwon
ef7846f7bd
fix tests
2016-02-09 17:37:13 +01:00
Arthur Schiwon
3a796d1e15
Consolidate getQuota and setQuota methods in User instance
2016-02-09 17:16:43 +01:00
Robin Appelman
3982c8f87a
update icewind/smb to 1.0.5
2016-02-09 17:09:30 +01:00
Thomas Müller
2982017682
Merge pull request #22228 from owncloud/comments-limit-message
...
Limit comment message to 1k chars
2016-02-09 16:35:23 +01:00
Thomas Müller
a3eaefa530
Save display name and email address on paste operations - fixes #22245
2016-02-09 16:20:04 +01:00
Thomas Müller
d89ddba3a2
Merge pull request #22241 from owncloud/more-info-in-case-of-trusted-server-add
...
Forward exception message to the admin in case of errors and in case …
2016-02-09 16:11:18 +01:00
Thomas Müller
ac08540597
Merge pull request #20571 from owncloud/transfer-ownership
...
Introduce console command to transfer ownerships of files
2016-02-09 16:11:04 +01:00
Thomas Müller
60c1ff7634
Register process control signel handlers only on execution of the command
2016-02-09 15:52:19 +01:00
Thomas Müller
81d4042af4
Adjust command description
2016-02-09 15:42:41 +01:00
Thomas Müller
10b9bf15f4
Set share owner and share initiator on upate as well
2016-02-09 15:41:06 +01:00
Thomas Müller
cbb7934fb3
Introduce console command to transfer ownerships of files - refs #19154
2016-02-09 15:41:06 +01:00
Thomas Müller
4659bf9b4a
Merge pull request #22234 from owncloud/systemtags-filter-intersect-empty
...
Fix system tag filter AND condition
2016-02-09 15:34:06 +01:00
Thomas Müller
1199b539f2
Merge pull request #21773 from owncloud/files_external-list-authtype
...
Show the proper auth identifier when listing mounts as json
2016-02-09 15:33:47 +01:00
Thomas Müller
232bb75329
Merge pull request #21893 from owncloud/migrate-calendars
...
Migrate calendars
2016-02-09 15:14:33 +01:00
Robin Appelman
acd8c72d3d
add tests
2016-02-09 15:03:00 +01:00
Roeland Jago Douma
359c62d90e
Fix unit tests
2016-02-09 15:03:00 +01:00
Robin Appelman
f9f2800016
check share permissions in share controller
2016-02-09 15:03:00 +01:00
Robin Appelman
fd9166488b
Check that the owner of a link share still has share permissions on access
2016-02-09 15:02:34 +01:00
Thomas Müller
bc8632856a
Forward exception message to the admin in case of errors and in case the remote server version is to low and appropriate message is displayed as well
2016-02-09 14:41:26 +01:00