summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib
Commit message (Collapse)AuthorAgeFilesLines
* Update license headersMorris Jobke2017-11-0613-0/+20
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #6919 from nextcloud/di-appmanager-encryption-migrationMorris Jobke2017-10-241-2/+6
|\ | | | | Use DI for IAppManager to encryption migration
| * Use DI for IAppManager to encryption migrationMorris Jobke2017-10-241-2/+6
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove unneeded check if app is enabledMorris Jobke2017-10-231-17/+4
|/ | | | | | App code will not be executable if the app is not enabled, because the autoloader refuses to load that class. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* print generated encryption key passwords directly after generating the keys ↵Kenneth Newwood2017-09-111-6/+9
| | | | | | so that errors during the encryption do not lead to a potentially massive data loss Signed-off-by: Kenneth Newwood <kenneth@newwood.name>
* Fix comparisons in encryption appJoas Schilling2017-08-012-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* make sure that we always have a ownerBjoern Schiessle2017-07-201-4/+17
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add recovery key on public uploadBjoern Schiessle2017-07-201-2/+8
| | | | | | | | In order to decide if a recovery key needs to be added we always need to check the files owner settings and not the settings of the currently logged in user. Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* since the default for the master key changed we need to write the setting ↵Bjoern Schiessle2017-07-061-0/+77
| | | | | | explicitely to the database if we migrate from a older version Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* add occ command to disable the master key againBjoern Schiessle2017-07-061-0/+89
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* improve status messagesBjoern Schiessle2017-07-062-5/+19
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* after the master key was loaded we are ready to go, no re-login neededBjoern Schiessle2017-07-062-4/+16
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* only collect detailed access list if it is really neededBjoern Schiessle2017-07-061-0/+9
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* make master key the new defaultBjoern Schiessle2017-07-061-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* move encryption to security (and behind two factor things)Arthur Schiwon2017-06-272-121/+2
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* We're on 13 now…Arthur Schiwon2017-06-261-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix setting up encryption sectionArthur Schiwon2017-06-231-2/+16
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adapt encryptionArthur Schiwon2017-06-233-5/+200
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update comments to NextcloudMorris Jobke2017-04-114-6/+6
| | | | | | | * 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-4/+15
|
* Fix public link for master keyVincent Petry2017-03-241-1/+1
| | | | | In public link mode there is no session, so the code should use the public key instead.
* Updated UI messages relating to the encryption functionalityMatthew Setter2017-03-221-1/+1
| | | | | | | | | | | | The reason for updating these messages, is that grammatically they're not quite correct. They showed a combination of: - Related phrases, which could be either separated or joined better - Related sentences, but which should be expressed as separate ones They were also missing full-stops to end the them. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* always throw a encryption exceptionBjoern Schiessle2017-03-141-5/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* create new encryption keys on password reset and backup the old oneBjoern Schiessle2017-01-102-24/+45
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check if session is initializedBjoern Schiessle2016-11-233-3/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* init Session/privateKeys on Master KeyMaxence Lange2016-11-221-0/+3
| | | I can't find another way to init the session ...
* Move console command registration to info.xml for encryption as well as ↵Thomas Müller2016-10-121-9/+8
| | | | | | files_external Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix encryption appJoas Schilling2016-09-121-1/+0
|
* rename IAdmin to ISettings, the interface is not bound to a specific ↵Arthur Schiwon2016-08-111-2/+2
| | | | settings scope
* fixes, improvements, and another app:Arthur Schiwon2016-08-112-1/+127
| | | | | | | * setupSettings now also triggered on enable * fixes detection of present admin section or settings in the DB * add update routine in such cases * encryption app migrated
* More casingJoas Schilling2016-08-081-3/+3
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-2123-28/+52
|
* fix stringsMorris Jobke2016-06-201-1/+1
|
* Update license headersLukas Reschke2016-05-2619-26/+26
|
* don't fail on "bad signature" during login. Most likely this happens becauseBjörn Schießle2016-05-251-0/+7
| | | | | the login password changed at the user back-end (e.g ldap). Such failures will be handled after login correctly by allowing the user to adjust the passwords
* Move Encryption app to PSR-4 (#24524)Joas Schilling2016-05-1223-0/+1295
| | | | | | | | * 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-5/+8
|
* don't create a private-/public-key pair for each user if the master key is ↵Bjoern Schiessle2016-04-261-21/+60
| | | | enabled
* 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