aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/encryption
Commit message (Collapse)AuthorAgeFilesLines
* Move tests/ to PSR-4 (#24731)Joas Schilling2016-05-206-1638/+0
| | | | | | | | | | | | | | | | | | | | * Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader
* Fix file name in tests/lib/encryptionJoas Schilling2016-05-181-0/+0
|
* fix creation of versions of encrypted files on external storagesBjoern Schiessle2016-03-313-46/+106
| | | | | | in order to create a 1:1 copy of a file if a version gets created we need to store this information on copyBetweenStorage(). This allows us to by-pass the encryption wrapper if we read the source file.
* Adding more DB groups to test suitsThomas Müller2015-11-301-0/+7
| | | | Adding more DB groups to test suits
* only check if the user exists if a user was added as parameterBjoern Schiessle2015-09-241-6/+10
|
* improved error message if user doesn't existsBjoern Schiessle2015-09-211-0/+15
|
* occ script to disable encryption and to decrypt all files againBjoern Schiessle2015-09-151-0/+321
|
* make system root of key storage configurableBjoern Schiessle2015-08-303-13/+75
|
* make sure that we always detect legacy files correctlyBjoern Schiessle2015-07-171-13/+0
|
* Add a test for the fallback to the part file keysJoas Schilling2015-06-081-13/+46
|
* Fix unit testsLukas Reschke2015-06-031-2/+2
| | | | | | | | | Regression caused by https://github.com/owncloud/core/pull/16721 Failed the unit tests as per https://ci.owncloud.org/job/server-master-linux/database=sqlite,label=SLAVE/1994/testReport/junit/(root)/Test_Encryption_ManagerTest/testGetEncryptionModuleUnknown/: ``` Test\Encryption\ManagerTest::testGetEncryptionModuleUnknown Failed asserting that exception message 'Module with id: unknown does not exist.' contains 'Module with id: unknown does not exists.' ```
* use not deprecated method in testsMorris Jobke2015-06-031-1/+1
|
* Merge pull request #16708 from owncloud/enc_fix_move_to_trashMorris Jobke2015-06-031-0/+39
|\ | | | | make sure that we always use the correct owner for both source and target
| * make sure that we always use the correct owner for both source and targetBjoern Schiessle2015-06-031-0/+39
| |
* | Move the helpful method to the TestCase classJoas Schilling2015-06-032-2/+2
|/
* Add unit tests for wrapStorageJoas Schilling2015-06-021-0/+45
|
* Merge pull request #16501 from owncloud/enc_fix_move_versions_between_storagesVincent Petry2015-05-281-12/+28
|\ | | | | [encryption] fix move versions between storages
| * distinguish between source and target mount point to allow copy/rename ↵Bjoern Schiessle2015-05-211-12/+28
| | | | | | | | between system wide mount points and user specific mountpoints
* | improve error messages displayed to the userBjoern Schiessle2015-05-271-1/+5
| |
* | remove part file extension before we read a filekey to reuse a existing key ↵Bjoern Schiessle2015-05-222-1/+23
|/ | | | if possible, otherwise stuff like versioning will break
* Merge pull request #16228 from owncloud/enc_fix_restoreBjörn Schießle2015-05-121-4/+111
|\ | | | | use hooks to update encryption keys
| * use hooks to update encryption keys instead of the storage wrapper if a file ↵Bjoern Schiessle2015-05-111-4/+111
| | | | | | | | | | | | gets renamed/restored, as long as we are in the storage wrapper the file cache isn't up-to-date
* | fix check if file is excluded from encryptionBjoern Schiessle2015-05-111-0/+1
|/
* Fix new testsJoas Schilling2015-04-271-1/+1
|
* Make getDefaultModuleId public and get module protectedJoas Schilling2015-04-271-4/+6
|
* Deduplicate module mockJoas Schilling2015-04-271-41/+34
|
* Add test for setDefaultEncryptionModuleJoas Schilling2015-04-271-0/+31
|
* Add a test that the default module is returned before we fall backJoas Schilling2015-04-271-1/+35
|
* Deduplicate data provider and fix method visibilityJoas Schilling2015-04-241-1/+1
|
* update share keys if a file is moved to a shared folderBjoern Schiessle2015-04-232-0/+150
|
* add $encryptionModuleId to methods of Keys/IStorageThomas Müller2015-04-221-14/+13
|
* always create a new instance of the encryption moduleBjoern Schiessle2015-04-171-19/+22
|
* detect system wide mount points correctlyBjoern Schiessle2015-04-161-12/+23
|
* add migration script from old encryption to new oneBjoern Schiessle2015-04-161-48/+47
|
* Check if the key exists, before trying to delete itJoas Schilling2015-04-091-0/+16
|
* add unit tests to the keystorageBjoern Schiessle2015-04-071-40/+45
|
* implement webdav copyBjoern Schiessle2015-04-071-0/+76
|
* fix unit test executionThomas Müller2015-04-071-5/+13
|
* Comment duplicate test methodsThomas Müller2015-04-071-57/+57
|
* fix encryption manager to handle more than one encryption moduleBjoern Schiessle2015-04-071-1/+1
|
* Initial commitClark Tomlinson2015-04-071-0/+58
|
* fix check if a file is excluded from encryption or notBjoern Schiessle2015-03-271-0/+35
|
* implement basic encryption functionallity in core to enable multiple ↵Bjoern Schiessle2015-03-263-0/+495
encryption modules