From cba7ff4871b5cf9d3a0b4534f4fe880b821248c8 Mon Sep 17 00:00:00 2001 From: bergware Date: Tue, 19 Sep 2017 07:56:21 +0200 Subject: [PATCH 1/2] Updated Encryption Settings --- plugins/dynamix/EncryptionSettings.page | 77 ++++++++++++------------- 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/plugins/dynamix/EncryptionSettings.page b/plugins/dynamix/EncryptionSettings.page index 101ace8e0..c2049299d 100644 --- a/plugins/dynamix/EncryptionSettings.page +++ b/plugins/dynamix/EncryptionSettings.page @@ -18,28 +18,36 @@ Tag="key" 0 && $var['fsNumEncrypted']==$var['fsNumWrongKey']; ?> - -
+ + + + + + Encryption key: : @@ -94,36 +104,18 @@ Encryption key: Delete : -
- -
- -Reset **RESTRICTED START** to normal operation -: -
- -
- - - 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. +> When set to **Yes** the array cannot Start if the encryption passphrase/keyfile is *missing*. Encryption input: : 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 @@ -154,6 +141,11 @@ Retype passphrase: > > **Memorize** this passphrase. **IF LOST, ENCRYPTED CONTENT CANNOT BE RECOVERED!** + + +  +: >permit reformat + +> To permit re-Format of encrypted devices, check this box and retype the passphrase. + + : Array must be Stopped to change -
+ From 979fffa9696e4851eeadbc2dcb6a192e46ee3e52 Mon Sep 17 00:00:00 2001 From: bergware Date: Tue, 19 Sep 2017 08:25:22 +0200 Subject: [PATCH 2/2] Updated Encryption Settings --- plugins/dynamix/EncryptionSettings.page | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/dynamix/EncryptionSettings.page b/plugins/dynamix/EncryptionSettings.page index c2049299d..5c35de68f 100644 --- a/plugins/dynamix/EncryptionSettings.page +++ b/plugins/dynamix/EncryptionSettings.page @@ -18,7 +18,7 @@ Tag="key" 0 && $var['fsNumEncrypted']==$var['fsNumWrongKey']; +$allwrong = !$online && $var['fsNumEncrypted']>0 && $var['fsNumEncrypted']==$var['fsNumWrongKey']; ?>