summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22791 from owncloud/enc_master_key_improvementsVincent Petry2016-04-212-17/+17
|\ | | | | Enc master key improvements
| * replaceUserKeys() actually deletes the users keys -> update method name and ↵Bjoern Schiessle2016-03-181-1/+3
| | | | | | | | doc-block
| * only create and update user specific key if no master key is enabledBjoern Schiessle2016-03-182-16/+14
| |
* | Introduce isReadyForUser and verify in file transfer ownership - fixes #23786Thomas Müller2016-04-152-0/+14
|/
* Merge pull request #23192 from ↵Thomas Müller2016-03-161-0/+7
|\ | | | | | | | | owncloud/make-ancient-users-happy-with-totally-untested-stuff Fallback for crappy ancient distributions
| * Fallback for crappy ancient distributionsLukas Reschke2016-03-121-0/+7
| | | | | | | | Fixes https://github.com/owncloud/core/issues/23181
* | allow group shares, even if not all public keys are availableBjoern Schiessle2016-03-151-1/+5
|/
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-015-5/+0
|
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* make decrypt all work with the master keyBjoern Schiessle2016-02-292-24/+35
|
* remember signature version and only set it on update to make sure that otherBjoern Schiessle2016-02-101-12/+21
| | | | apps like files_versions still get the old signature version
* use the version of the original file if we write the part file to have a ↵Bjoern Schiessle2016-02-101-15/+30
| | | | proper version if we move the file over to the original location
* Use cache update instead of put for encryption versionVincent Petry2016-02-091-1/+1
| | | | | | Saves a call to fetch the file id which didn't even work for a reason. This fix properly sets the version in the database.
* Use cache and add testsLukas Reschke2016-02-092-15/+12
|
* don't decrease ->version for part files but only a local variable, otherwise ↵Bjoern Schiessle2016-02-091-4/+8
| | | | it can happen that we decrease it twice and end up with the wrong value
* realPath should contain the path to the file we want to read, e.g. the ↵Bjoern Schiessle2016-02-091-1/+1
| | | | version and not the original file
* Use database for keeping track of the versionLukas Reschke2016-02-092-5/+31
|
* Use number of chunk for HMAC as wellLukas Reschke2016-02-092-14/+16
| | | | Prevents switching single blocks within the encrypted file.
* Keep track of file versionLukas Reschke2016-02-093-13/+53
| | | | This way it is not possible anymore for an external storage admin to put up old versions of the file.
* Clarify documentationLukas Reschke2016-02-091-0/+2
|
* Use hash with appended "a" of the original password for the authenticationLukas Reschke2016-02-091-3/+4
|
* fixing unit testsBjörn Schießle2016-02-091-1/+1
|
* Use random_bytes instead OpenSSLLukas Reschke2016-02-091-8/+1
|
* meta data are at the end of the fileBjörn Schießle2016-02-091-1/+1
|
* always use default cipher for write operations, no matter how the file was ↵Björn Schießle2016-02-091-3/+3
| | | | encrypted before
* make it backward compatible to work with signed and un-signed filesBjörn Schießle2016-02-092-10/+19
|
* sign all encrypted blocks and check signature on decryptBjörn Schießle2016-02-092-27/+117
|
* Add note about the addPadding functionLukas Reschke2016-02-091-0/+4
|
* Use an actual 16 byte long IVLukas Reschke2016-02-091-17/+2
| | | | 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.
* Use AES-256-CTR as defaultLukas Reschke2016-02-091-22/+38
| | | | CTR is recommended over CFB mode.
* Merge pull request #21612 from owncloud/fix_21598Thomas Müller2016-01-131-4/+5
|\ | | | | fix public link sharing if the master key is enabled
| * only use master key ID if a user is logged in. Otherwise keep the public ↵Björn Schießle2016-01-111-4/+5
| | | | | | | | link share key
* | Happy new year!Thomas Müller2016-01-1215-15/+26
| |
* | getMediumStrengthGenerator is deprecated and does not do anything anymoreRoeland Jago Douma2016-01-111-1/+1
|/
* Remove undefined variableLukas Reschke2016-01-071-4/+0
|
* Fix PHPDoc + Add handling for error casesLukas Reschke2016-01-072-4/+10
| | | | Makes static code analyzers happier.
* Use PHP polyfillsLukas Reschke2015-12-111-23/+8
|
* User IUser::getEMailAddress() all over the placeThomas Müller2015-12-021-6/+8
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-11-275-25/+29
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* Make Cache\Updater per storageRobin Appelman2015-11-251-1/+1
|
* Correct the description of function setEncryptHomeStoragePhil Davis2015-11-031-1/+1
|
* make encryption configurable for home storageBjoern Schiessle2015-10-272-1/+47
|
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Fix "Call to a member function getUID() on boolean" in CryptJoas Schilling2015-10-221-4/+4
|
* update licence headers via scriptMorris Jobke2015-10-058-13/+1
|
* add some output to explain the pre-conditions for decrypt-allBjoern Schiessle2015-10-051-0/+6
|
* no need to list users if all users already had a key-pairBjoern Schiessle2015-09-241-0/+6
|
* fix small typoBjoern Schiessle2015-09-211-1/+1
|
* occ script to disable encryption and to decrypt all files againBjoern Schiessle2015-09-153-2/+237
|
* Function does return voidLukas Reschke2015-09-151-2/+1
| | | | This function does return void and not a bool.