diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-09 00:11:15 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2014-12-11 18:31:32 +0100 |
commit | eb9cb16aeb33f9904b29b84e270f2d8c8f8431eb (patch) | |
tree | 149351ec44d5736ee969161ea72ef134a117cdf6 /src/Common/Common.rc | |
parent | 32e72d111747bcfee8ba0ecfb30045b6cd42685f (diff) | |
download | VeraCrypt-eb9cb16aeb33f9904b29b84e270f2d8c8f8431eb.tar.gz VeraCrypt-eb9cb16aeb33f9904b29b84e270f2d8c8f8431eb.zip |
Windows: Implement specifying the size of the generated keyfiles and also letting VeraCrypt choose random size values.
Diffstat (limited to 'src/Common/Common.rc')
-rw-r--r-- | src/Common/Common.rc | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/Common/Common.rc b/src/Common/Common.rc index 29d35d23..39f6f7a7 100644 --- a/src/Common/Common.rc +++ b/src/Common/Common.rc @@ -194,14 +194,14 @@ BEGIN CONTROL "",IDC_INFO_BOX_TEXT,"RichEdit20A",ES_MULTILINE | ES_READONLY | ES_NUMBER | WS_BORDER | WS_VSCROLL | WS_TABSTOP,5,6,361,188
END
-IDD_KEYFILE_GENERATOR DIALOGEX 0, 0, 308, 303
+IDD_KEYFILE_GENERATOR DIALOGEX 0, 0, 308, 325
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "VeraCrypt - Keyfile Generator"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Close",IDCLOSE,237,10,59,14
COMBOBOX IDC_PRF_ID,79,49,91,90,CBS_DROPDOWNLIST | WS_TABSTOP
- PUSHBUTTON "Generate and Save Keyfile...",IDC_GENERATE_AND_SAVE_KEYFILE,92,281,131,14
+ PUSHBUTTON "Generate and Save Keyfile...",IDC_GENERATE_AND_SAVE_KEYFILE,92,302,141,14
LTEXT "IMPORTANT: Move your mouse as randomly as possible within this window. The longer you move it, the better. This significantly increases the cryptographic strength of the keyfile.",IDT_KEYFILE_GENERATOR_NOTE,11,5,213,33
CONTROL "",IDC_STATIC,"Static",SS_ETCHEDHORZ,1,40,307,1,WS_EX_STATICEDGE
RTEXT "Mixing PRF:",IDT_PRF,6,51,67,10,SS_CENTERIMAGE
@@ -210,8 +210,12 @@ BEGIN CONTROL "Display pool content",IDC_DISPLAY_POOL_CONTENTS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,191,51,111,10
LTEXT "Number of keyfiles:",IDT_NUMBER_KEYFILES,9,247,75,8
EDITTEXT IDC_NUMBER_KEYFILES,92,244,51,14,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
- LTEXT "Keyfiles base name:",IDT_KEYFILES_BASE_NAME,9,266,75,8
- EDITTEXT IDC_KEYFILES_BASE_NAME,92,263,131,14,ES_AUTOHSCROLL
+ LTEXT "Keyfiles base name:",IDT_KEYFILES_BASE_NAME,9,287,75,8
+ EDITTEXT IDC_KEYFILES_BASE_NAME,92,284,141,14,ES_AUTOHSCROLL
+ LTEXT "Keyfiles size (in Bytes):",IDT_KEYFILES_SIZE,9,266,75,8
+ EDITTEXT IDC_KEYFILES_SIZE,92,264,51,14,ES_RIGHT | ES_AUTOHSCROLL | ES_NUMBER
+ CONTROL "Random size ( 64 <-> 1048576 )",IDC_KEYFILES_RANDOM_SIZE,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,149,266,140,10
END
IDD_MULTI_CHOICE_DLG DIALOGEX 0, 0, 167, 322
@@ -377,7 +381,7 @@ BEGIN LEFTMARGIN, 7
RIGHTMARGIN, 299
TOPMARGIN, 7
- BOTTOMMARGIN, 299
+ BOTTOMMARGIN, 321
END
IDD_MULTI_CHOICE_DLG, DIALOG
|