aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/AppInfo/Application.php
Commit message (Collapse)AuthorAgeFilesLines
* fix(encryption): Do not register user key related event listenersfix/do-not-update-userkey-when-masterkey-is-usedCôme Chilliet2025-06-161-8/+18
| | | | | | | when master key is enabled. Also added a safeguard in PassphraseService. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* fix(encryption): init keys also when logged in using cookie authfix/user-login-with-cookie-e2eeFerdinand Thiessen2025-04-021-0/+2
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* fix(encryption): Listen for user login and logout to set encryption keyfix/encryption-eventsFerdinand Thiessen2025-03-061-0/+4
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* refactor(encryption): Migrate away from Hooks to typed eventsFerdinand Thiessen2024-10-151-37/+35
| | | | | | | Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de> Co-authored-by: Louis <louis@chmn.me> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* chore: Apply rector configuration to apps folderCôme Chilliet2024-09-201-1/+1
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* refactor(encryption): Migrate app.php to Application.phpLouis Chemineau2024-07-011-6/+30
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* chore: Add SPDX headerAndy Scherzinger2024-05-291-23/+4
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* Migrate away from ILogger in encryptionCôme Chilliet2023-08-081-10/+11
| | | | | | And modernize code a bit Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-2/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-2/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [encryption] Remove dependency fetching inside the constructor and move them ↵Morris Jobke2020-11-221-15/+6
| | | | | | to method call parameters Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Auto-wire remaining encryption app services that depend on ViewMorris Jobke2020-11-221-54/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Auto-wire as much as possible in the encryption appMorris Jobke2020-11-201-93/+0
| | | | | | Also cleans up only non-classname services in the server container Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Change to full class names for the encryption app DI in preparation of ↵Morris Jobke2020-11-111-44/+44
| | | | | | auto-wiring Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Migrate encryption to the PSR containerChristoph Wurst2020-10-071-74/+77
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Harden key generationJulius Härtl2020-08-141-1/+2
| | | | | | | | | | There might be cases where multiple requests trigger the key generation at the same time and the instance ends up with a non-fitting public/private key pair. Therefore the whole key generation should be locked. Other than that this makes sure that user key generation return values are properly validated. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-7/+2
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-091-1/+0
| | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix Argument 3 passed to OCA\Encryption\Recovery::__construct() must be an ↵Daniel Kesselberg2019-12-091-2/+0
| | | | | | instance of OCA\Encryption\KeyManager Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Update license headersChristoph Wurst2019-12-051-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make sure maintenance mode is always casted to boolJoas Schilling2019-02-221-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* this was a migration step to ownCloud 8.0 to restructure the encryption ↵Bjoern Schiessle2018-03-021-8/+1
| | | | | | folder which is no longer needed Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Remove unused import statementsMorris Jobke2018-02-141-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* improve status messagesBjoern Schiessle2017-07-061-1/+2
| | | | 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-061-2/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adapt encryptionArthur Schiwon2017-06-231-5/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fixes, improvements, and another app:Arthur Schiwon2016-08-111-1/+0
| | | | | | | * 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
* Fix apps/Joas Schilling2016-07-211-1/+2
|
* Update license headersLukas Reschke2016-05-261-1/+1
|
* Move Encryption app to PSR-4 (#24524)Joas Schilling2016-05-121-0/+274
* Move Encryption to PSR-4 * Move encryption tests to PSR-4 * Fix the tests