added force legacy encryption
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@@ -119,6 +119,7 @@ Map<String, dynamic> createDefaultSettings(String mountType) {
|
||||
'S3Config': {
|
||||
'AccessKey': '',
|
||||
'Bucket': '',
|
||||
'ForceLegacyEncryption': false,
|
||||
'Region': 'any',
|
||||
'SecretKey': '',
|
||||
'URL': '',
|
||||
@@ -195,6 +196,8 @@ String? getSettingDescription(String settingPath) {
|
||||
return "HTTP authentication user";
|
||||
case 'HostConfig.ApiPassword':
|
||||
return "RENTERD_API_PASSWORD";
|
||||
case 'S3Config.ForceLegacyEncryption':
|
||||
return "Effectively disables Argon2id KDF";
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
@@ -697,6 +697,22 @@ class _MountSettingsWidgetState extends State<MountSettingsWidget> {
|
||||
);
|
||||
}
|
||||
break;
|
||||
case 'ForceLegacyEncryption':
|
||||
{
|
||||
createBooleanSetting(
|
||||
context,
|
||||
s3ConfigSettings,
|
||||
widget.settings[key],
|
||||
subKey,
|
||||
subValue,
|
||||
false,
|
||||
widget.showAdvanced,
|
||||
widget,
|
||||
setState,
|
||||
description: getSettingDescription('$key.$subKey'),
|
||||
);
|
||||
}
|
||||
break;
|
||||
case 'Region':
|
||||
{
|
||||
createStringSetting(
|
||||
|
Reference in New Issue
Block a user