nextcloud/lib/private
MichaIng ad60619655
Fix Argon2 options checks
The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum.
Options are now applied the following way:
- If config.php contains the setting with an integer higher or equal to the minimum, it is applied.
- If config.php contains the setting with an integer lower than the minimum, the minimum is applied.
- If config.php does not contain the setting or with no integer value, the PHP default is applied.

Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-04-30 10:18:46 +02:00
..
Accounts Update license headers for 19 2020-04-29 11:57:22 +02:00
Activity Update license headers for 19 2020-04-29 11:57:22 +02:00
App Update license headers for 19 2020-04-29 11:57:22 +02:00
AppFramework Update license headers for 19 2020-04-29 11:57:22 +02:00
Archive Update license headers for 19 2020-04-29 11:57:22 +02:00
Authentication Update license headers for 19 2020-04-29 11:57:22 +02:00
Avatar Update license headers for 19 2020-04-29 11:57:22 +02:00
BackgroundJob Update license headers for 19 2020-04-29 11:57:22 +02:00
Broadcast/Events Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Cache Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Calendar Update license headers for 19 2020-04-29 11:57:22 +02:00
Collaboration Update license headers for 19 2020-04-29 11:57:22 +02:00
Command Update license headers for 19 2020-04-29 11:57:22 +02:00
Comments Update license headers for 19 2020-04-29 11:57:22 +02:00
Console Update license headers for 19 2020-04-29 11:57:22 +02:00
Contacts/ContactsMenu Update license headers for 19 2020-04-29 11:57:22 +02:00
DB Update license headers for 19 2020-04-29 11:57:22 +02:00
Dashboard Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Diagnostics Update license headers for 19 2020-04-29 11:57:22 +02:00
DirectEditing Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Encryption Update license headers for 19 2020-04-29 11:57:22 +02:00
EventDispatcher Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Federation Update license headers for 19 2020-04-29 11:57:22 +02:00
Files Merge pull request #18883 from adrb/optimize_swift_14116 2020-04-30 09:06:19 +02:00
FullTextSearch Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
GlobalScale Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Group Update license headers for 19 2020-04-29 11:57:22 +02:00
Hooks Update the license headers for Nextcloud 19 2020-03-31 14:52:54 +02:00
Http Update license headers for 19 2020-04-29 11:57:22 +02:00
IntegrityCheck Update license headers for 19 2020-04-29 11:57:22 +02:00
L10N Update license headers for 19 2020-04-29 11:57:22 +02:00
Lock Update license headers for 19 2020-04-29 11:57:22 +02:00
Lockdown Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Log Update license headers for 19 2020-04-29 11:57:22 +02:00
Mail Update license headers for 19 2020-04-29 11:57:22 +02:00
Memcache Update license headers for 19 2020-04-29 11:57:22 +02:00
Migration Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Notification Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
OCS Update license headers for 19 2020-04-29 11:57:22 +02:00
Preview Update license headers for 19 2020-04-29 11:57:22 +02:00
Remote Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair Update license headers for 19 2020-04-29 11:57:22 +02:00
RichObjectStrings Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
Route Update license headers for 19 2020-04-29 11:57:22 +02:00
Search Update license headers for 19 2020-04-29 11:57:22 +02:00
Security Fix Argon2 options checks 2020-04-30 10:18:46 +02:00
Session Update license headers for 19 2020-04-29 11:57:22 +02:00
Settings Unify function spacing to PSR2 recommendation 2020-04-09 13:54:22 +02:00
Setup Update license headers for 19 2020-04-29 11:57:22 +02:00
Share Update license headers for 19 2020-04-29 11:57:22 +02:00
Share20 Update license headers for 19 2020-04-29 11:57:22 +02:00
Support Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemTag Update license headers for 19 2020-04-29 11:57:22 +02:00
Tagging Update license headers for 19 2020-04-29 11:57:22 +02:00
Template Update license headers for 19 2020-04-29 11:57:22 +02:00
Updater Update license headers for 19 2020-04-29 11:57:22 +02:00
User Update license headers for 19 2020-04-29 11:57:22 +02:00
legacy Update license headers for 19 2020-04-29 11:57:22 +02:00
AllConfig.php Define getSystemValueBool/Int/String function default parameter with correct type 2020-04-29 14:19:52 +02:00
AppConfig.php Update license headers for 19 2020-04-29 11:57:22 +02:00
CapabilitiesManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Color.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Config.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ContactsManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
DatabaseException.php Update license headers 2019-12-05 15:38:45 +01:00
DatabaseSetupException.php Update license headers 2019-12-05 15:38:45 +01:00
DateTimeFormatter.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
DateTimeZone.php Update license headers for 19 2020-04-29 11:57:22 +02:00
ForbiddenException.php Update license headers 2019-12-05 15:38:45 +01:00
HintException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
InitialStateService.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Installer.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
LargeFileHelper.php Add visibility to all constants 2020-04-10 16:54:27 +02:00
Log.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
MemoryInfo.php Update license headers for 19 2020-04-29 11:57:22 +02:00
NaturalSort.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NaturalSort_DefaultCollator.php Update license headers 2019-12-05 15:38:45 +01:00
NavigationManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
NeedsUpdateException.php Update license headers 2019-12-05 15:38:45 +01:00
NotSquareException.php Update license headers 2019-12-05 15:38:45 +01:00
PreviewManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
PreviewNotAvailableException.php Update license headers 2019-12-05 15:38:45 +01:00
RedisFactory.php Update license headers for 19 2020-04-29 11:57:22 +02:00
Repair.php Remove obsolete repair steps for logo and updater channel 2020-04-24 09:57:52 +02:00
RepairException.php Update license headers 2019-12-05 15:38:45 +01:00
Search.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Server.php Move to subfolders for preview files 2020-04-19 10:30:56 +02:00
ServerContainer.php Use elseif instead of else if 2020-04-10 10:35:09 +02:00
ServerNotAvailableException.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
ServiceUnavailableException.php Update license headers 2019-12-05 15:38:45 +01:00
Setup.php Add visibility to all properties and move static keyword 2020-04-10 16:48:31 +02:00
Streamer.php Update license headers for 19 2020-04-29 11:57:22 +02:00
SubAdmin.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
SystemConfig.php Use exactly one empty line after the namespace declaration 2020-04-09 11:48:10 +02:00
TagManager.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Tags.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TempManager.php Update license headers for 19 2020-04-29 11:57:22 +02:00
TemplateLayout.php Provide config though initial state service 2020-04-23 19:12:53 +02:00
URLGenerator.php Format control structures, classes, methods and function 2020-04-10 14:19:56 +02:00
Updater.php Update license headers for 19 2020-04-29 11:57:22 +02:00