From a6a811d41600f1e46adb33f3d1ab2248471df6d5 Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 17 Sep 2017 14:53:27 +0200 Subject: [PATCH 1/2] Several changes in Encryption Settings page --- plugins/dynamix/EncryptionSettings.page | 110 ++++++++++++------------ 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/plugins/dynamix/EncryptionSettings.page b/plugins/dynamix/EncryptionSettings.page index b7421d329..7addfa78b 100644 --- a/plugins/dynamix/EncryptionSettings.page +++ b/plugins/dynamix/EncryptionSettings.page @@ -16,76 +16,70 @@ Tag="key" */ ?> -
-Restricted Start: -: - -> When set to **Yes** the array cannot Start if the encryption passphrase/keyfile is missing or wrong. This -> is the normal setting. - -> When set to **No** the array may be Started and: - -> * If the passphrase/keyfile is **missing**, then encrypted volumes will not be mounted and cannot be formatted. -> * If the passphrase/keyfile is **wrong**, then encrypted volumes will appear Unmountable and may be formatted. - -  -: -
-
+ - Encryption key: : @@ -93,21 +87,35 @@ Encryption key: > Shows the path and name of the current keyfile, if present. > > This keyfile is read during array Start and is used to encrypt/decrypt content of encrypted devices. - +> > With array Stopped, the keyfile may be deleted and the user can specify a new encryption key. Note that once a device > is formatted with a particular key it may only be opened using that same key. Changing the encryption key requires > encrypted devices to be reformatted **resulting in permanent loss of all existing data on those devices.** - +> > With array Started, the keyfile may be deleted to ensure there is no encryption key present on the server when -> the array is online. Note that plugins are installed and may execute before and during the array Start process. +> the array is online. Note that plugins are installed and may execute before and during the array Start process. -Delete +Delete : Encryption key: : Not present +Restricted Start: +: + +> When set to **Yes** the array cannot Start if the encryption passphrase/keyfile is missing or wrong. +> This is the normal setting. +> +> When set to **No** the array may be Started and: +> +> * If the passphrase/keyfile is **missing**, then encrypted volumes will not be mounted and cannot be formatted. +> * If the passphrase/keyfile is **different**, then encrypted volumes will appear Unmountable and may be formatted with the new key. + Encryption input: : onKeyUp="this.form.apply.disabled=(this.form.text.value!=this.form.textConf.value)">show passphrase +: onKeyUp="toggleApply(this.form)">show passphrase + +> Enter a passphrase of up to 512 characters. It is highly advisable to only use the 95 printable characters from the > first 128 characters of the [ASCII table](https://en.wikipedia.org/wiki/ASCII), as they will always have the same binary > representation. Other characters may have different encoding depending on system configuration and your passphrase will > not work with a different encoding. If you want a longer passphrase or to include binary data, upload a keyfile instead. @@ -136,22 +145,13 @@ Retype passphrase: > > **Memorize** this passphrase. **IF LOST, ENCRYPTED CONTENT CANNOT BE RECOVERED!** - -Passphrase: -: onKeyUp="this.form.apply.disabled=(this.form.text.value=='')">show passphrase - -> Enter the correct passphrase to unlock the encrypted devices present in this system. -> -> **Memorize** this passphrase. **IF LOST, ENCRYPTED CONTENT CANNOT BE RECOVERED!** - - From 1473f7448936daccd7fc8ff3054fd7268197444c Mon Sep 17 00:00:00 2001 From: bergware Date: Sun, 17 Sep 2017 15:37:37 +0200 Subject: [PATCH 2/2] Several changes in Encryption Settings page --- plugins/dynamix/EncryptionSettings.page | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/dynamix/EncryptionSettings.page b/plugins/dynamix/EncryptionSettings.page index 7addfa78b..d43be5e75 100644 --- a/plugins/dynamix/EncryptionSettings.page +++ b/plugins/dynamix/EncryptionSettings.page @@ -36,6 +36,7 @@ function prepareInput(form) { if (form.text.value || form.file.value) { form.input.disabled = true; form.local.disabled = true; + form.copy.disabled = true; } } function toggleApply(form) {