summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersMorris Jobke2017-11-0617-0/+37
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocks of encryption appMorris Jobke2017-10-2614-77/+125
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-2410-25/+43
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use DI for IAppManager to encryption migrationMorris Jobke2017-10-241-7/+9
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* print generated encryption key passwords directly after generating the keys ↵Kenneth Newwood2017-09-111-2/+2
| | | | | | so that errors during the encryption do not lead to a potentially massive data loss Signed-off-by: Kenneth Newwood <kenneth@newwood.name>
* adjust encryption tests to the new master key defaultBjoern Schiessle2017-07-061-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* improve status messagesBjoern Schiessle2017-07-061-1/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Update comments to NextcloudMorris Jobke2017-04-111-1/+1
| | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use master key for public links as wellVincent Petry2017-03-241-19/+20
|
* Add tests for null userVincent Petry2017-03-241-1/+5
|
* always throw a encryption exceptionBjoern Schiessle2017-03-141-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* create new encryption keys on password reset and backup the old oneBjoern Schiessle2017-01-102-13/+40
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check if session is initializedBjoern Schiessle2016-11-232-0/+41
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix migration testsRoeland Jago Douma2016-10-131-0/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix encryption appJoas Schilling2016-09-121-1/+1
|
* Fix apps warningsRoeland Jago Douma2016-09-071-1/+2
|
* Fix getMock encryptionRoeland Jago Douma2016-09-0612-24/+54
|
* Use MockBuilder instead of createMockLukas Reschke2016-08-151-6/+6
| | | | CI uses an older PHPUnit
* Add unit testsLukas Reschke2016-08-151-0/+100
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-2116-33/+49
|
* Update license headersLukas Reschke2016-05-2615-17/+26
|
* Move Encryption app to PSR-4 (#24524)Joas Schilling2016-05-1216-98/+115
| | | | | | | | * Move Encryption to PSR-4 * Move encryption tests to PSR-4 * Fix the tests
* if we don't have a encrypted file key we can return a empty string right awayBjoern Schiessle2016-04-261-0/+30
|
* don't create a private-/public-key pair for each user if the master key is ↵Bjoern Schiessle2016-04-261-3/+17
| | | | enabled
* Merge pull request #22791 from owncloud/enc_master_key_improvementsVincent Petry2016-04-212-34/+58
|\ | | | | Enc master key improvements
| * replaceUserKeys() actually deletes the users keys -> update method name and ↵Bjoern Schiessle2016-03-181-1/+1
| | | | | | | | doc-block
| * only create and update user specific key if no master key is enabledBjoern Schiessle2016-03-182-33/+57
| |
* | we need to initialize the mount points of the given user before we recoverBjörn Schießle2016-04-191-10/+37
| | | | | | | | access to his files
* | Fix encryption testsRoeland Jago Douma2016-04-082-7/+0
|/
* allow group shares, even if not all public keys are availableBjoern Schiessle2016-03-151-1/+37
|
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-011-1/+0
|
* Update author informationLukas Reschke2016-03-012-0/+2
| | | | 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-291-3/+11
|
* remember signature version and only set it on update to make sure that otherBjoern Schiessle2016-02-101-0/+19
| | | | apps like files_versions still get the old signature version
* Add tests for setVersionLukas Reschke2016-02-091-0/+40
|
* Use cache and add testsLukas Reschke2016-02-091-0/+27
|
* fixing unit testsBjörn Schießle2016-02-092-10/+55
|
* sign all encrypted blocks and check signature on decryptBjörn Schießle2016-02-091-1/+6
|
* Use AES-256-CTR as defaultLukas Reschke2016-02-091-4/+30
| | | | CTR is recommended over CFB mode.
* Merge pull request #21612 from owncloud/fix_21598Thomas Müller2016-01-131-12/+64
|\ | | | | 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-12/+64
| | | | | | | | link share key
* | Happy new year!Thomas Müller2016-01-1216-16/+19
|/
* Fix PHPDoc + Add handling for error casesLukas Reschke2016-01-071-5/+59
| | | | Makes static code analyzers happier.
* Removed deprecated function OC_User::deleteUserRoeland Jago Douma2015-12-171-3/+6
| | | | Replaced with proper OCP calls
* Removed deprecated private OC_User::createUserRoeland Jago Douma2015-12-171-3/+3
| | | | | All function calls are replaced with the recommended (which was already the body of the function).
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-11-271-0/+26
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* make encryption configurable for home storageBjoern Schiessle2015-10-273-10/+94
|
* Update license headersLukas Reschke2015-10-261-0/+1
|
* fix encryption migration testRobin Appelman2015-10-161-0/+25
|