Merge pull request #343 from PartialVolume/Adjust_info_for_max_80_columns

Adjust method info for 80+ column display
This commit is contained in:
PartialVolume
2021-10-28 00:40:27 +01:00
committed by GitHub

132
src/gui.c
View File

@@ -1930,7 +1930,7 @@ void nwipe_gui_method( void )
extern int terminate_signal;
/* The number of implemented methods. */
const int count = 8;
const int count = 9;
/* The first tabstop. */
const int tab1 = 2;
@@ -2020,104 +2020,105 @@ void nwipe_gui_method( void )
mvwprintw( main_window, 2, tab2, "Security Level: high (1 pass)" );
mvwprintw( main_window, 4, tab2, "This method fills the device with zeros. Note that the rounds " );
mvwprintw( main_window, 5, tab2, "option does not apply to this method. This method always runs " );
mvwprintw( main_window, 6, tab2, "one round. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "Use this method to blank disks before internal " );
mvwprintw( main_window, 9, tab2, "redeployment, or before reinstalling Microsoft Windows to " );
mvwprintw( main_window, 10, tab2, "remove the data areas that the format utility preserves. " );
mvwprintw( main_window, 11, tab2, " " );
mvwprintw( main_window, 12, tab2, "There is no publically available evidence that data can be " );
mvwprintw( main_window, 13, tab2, "recovered from a modern traditional hard drive (HDD) that has " );
mvwprintw( main_window, 14, tab2, "been zero wiped." );
mvwprintw( main_window, 4, tab2, "This method fills the device with zeros. Note " );
mvwprintw( main_window, 5, tab2, "that the rounds option does not apply to this " );
mvwprintw( main_window, 6, tab2, "method. This method always runs one round. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "There is no publically available evidence that " );
mvwprintw( main_window, 9, tab2, "data can be recovered from a modern traditional " );
mvwprintw( main_window, 10, tab2, "hard drive (HDD) that has been zero wiped, " );
mvwprintw( main_window, 11, tab2, "however a wipe that includes a prng may be " );
mvwprintw( main_window, 12, tab2, "preferable. " );
break;
case 1:
mvwprintw( main_window, 2, tab2, "Security Level: high (1 pass)" );
mvwprintw( main_window, 4, tab2, "This method fills the device with ones. Note that the rounds " );
mvwprintw( main_window, 5, tab2, "option does not apply to this method. This method always runs " );
mvwprintw( main_window, 6, tab2, "one round. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "This method might be used when wiping a solid state drive if " );
mvwprintw( main_window, 9, tab2, "an additional level of security is required beyond using the " );
mvwprintw( main_window, 10, tab2, "drives internal secure erase features. Alternatively PRNG may " );
mvwprintw( main_window, 11, tab2, "be preferable. " );
mvwprintw( main_window, 4, tab2, "This method fills the device with ones. Note that" );
mvwprintw( main_window, 5, tab2, "the rounds option does not apply to this method. " );
mvwprintw( main_window, 6, tab2, "This method always runs one round. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "This method might be used when wiping a solid " );
mvwprintw( main_window, 9, tab2, "state drive if an additional level of security is" );
mvwprintw( main_window, 10, tab2, "required beyond using the drives internal secure " );
mvwprintw( main_window, 11, tab2, "erase features. Alternatively PRNG may be " );
mvwprintw( main_window, 12, tab2, "preferable. " );
break;
case 2:
mvwprintw( main_window, 2, tab2, "Security Level: higher (8 passes)" );
mvwprintw( main_window, 4, tab2, "The Royal Canadian Mounted Police Technical Security Standard " );
mvwprintw( main_window, 5, tab2, "for Information Technology. Appendix OPS-II: Media " );
mvwprintw( main_window, 6, tab2, "Sanitization. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "This implementation, with regards to paragraph 2 section A of " );
mvwprintw( main_window, 9, tab2, "the standard, uses a pattern that is one random byte and that " );
mvwprintw( main_window, 10, tab2, "is changed each round. " );
mvwprintw( main_window, 4, tab2, "The Royal Canadian Mounted Police Technical " );
mvwprintw( main_window, 5, tab2, "Security Standard for Information Technology. " );
mvwprintw( main_window, 6, tab2, "Appendix OPS-II: Media Sanitization. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "This implementation, with regards to paragraph 2 " );
mvwprintw( main_window, 9, tab2, "section A of the standard, uses a pattern that is" );
mvwprintw( main_window, 10, tab2, "one random byte and that is changed each round. " );
break;
case 3:
mvwprintw( main_window, 2, tab2, "Security Level: higher (3 passes)" );
mvwprintw( main_window, 4, tab2, "The American Department of Defense 5220.22-M short wipe. " );
mvwprintw( main_window, 5, tab2, "This method is composed of passes 1, 2 & 7 from the standard " );
mvwprintw( main_window, 6, tab2, "DoD 5220.22-M wipe. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "Pass 1: A random character " );
mvwprintw( main_window, 9, tab2, "Pass 2: The bitwise complement of pass 1. " );
mvwprintw( main_window, 10, tab2, "Pass 3: A random number generated data stream " );
mvwprintw( main_window, 4, tab2, "The US Department of Defense 5220.22-M short wipe" );
mvwprintw( main_window, 5, tab2, "This method is composed of passes 1, 2 & 7 from " );
mvwprintw( main_window, 6, tab2, "the standard DoD 5220.22-M wipe. " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "Pass 1: A random character " );
mvwprintw( main_window, 9, tab2, "Pass 2: The bitwise complement of pass 1. " );
mvwprintw( main_window, 10, tab2, "Pass 3: A random number generated data stream " );
break;
case 4:
mvwprintw( main_window, 2, tab2, "Security Level: higher (7 passes)" );
mvwprintw( main_window, 3, tab2, "The American Department of Defense 5220.22-M standard " );
mvwprintw( main_window, 4, tab2, "wipe. " );
mvwprintw( main_window, 5, tab2, " " );
mvwprintw( main_window, 6, tab2, "Pass 1: A Random character " );
mvwprintw( main_window, 7, tab2, "Pass 2: The bitwise complement of pass 1 " );
mvwprintw( main_window, 8, tab2, "Pass 3: A random number generated data stream " );
mvwprintw( main_window, 9, tab2, "Pass 4: A Random character " );
mvwprintw( main_window, 10, tab2, "Pass 5: A Random character " );
mvwprintw( main_window, 11, tab2, "Pass 6: The bitwise complement of pass 5 " );
mvwprintw( main_window, 12, tab2, "Pass 7: A random number generated data stream " );
mvwprintw( main_window, 3, tab2, "The American Department of Defense 5220.22-M " );
mvwprintw( main_window, 4, tab2, "standard wipe. " );
mvwprintw( main_window, 5, tab2, " " );
mvwprintw( main_window, 6, tab2, "Pass 1: A Random character " );
mvwprintw( main_window, 7, tab2, "Pass 2: The bitwise complement of pass 1 " );
mvwprintw( main_window, 8, tab2, "Pass 3: A random number generated data stream " );
mvwprintw( main_window, 9, tab2, "Pass 4: A Random character " );
mvwprintw( main_window, 10, tab2, "Pass 5: A Random character " );
mvwprintw( main_window, 11, tab2, "Pass 6: The bitwise complement of pass 5 " );
mvwprintw( main_window, 12, tab2, "Pass 7: A random number generated data stream " );
break;
case 5:
mvwprintw( main_window, 2, tab2, "Security Level: Paranoid ! don't waste your time (35 passes)" );
mvwprintw( main_window, 2, tab2, "Security Level: Paranoid ! (35 passes) " );
mvwprintw( main_window, 3, tab2, "Don't waste your time with this on a modern drive" );
mvwprintw( main_window, 4, tab2, "This is the method described by Peter Gutmann in the " );
mvwprintw( main_window, 5, tab2, "paper entitled \"Secure Deletion of Data from Magnetic " );
mvwprintw( main_window, 6, tab2, "and Solid-State Memory\", however not relevant in " );
mvwprintw( main_window, 7, tab2, "regards to modern hard disk drives. " );
mvwprintw( main_window, 5, tab2, "This is the method described by Peter Gutmann in " );
mvwprintw( main_window, 6, tab2, "the paper entitled \"Secure Deletion of Data from" );
mvwprintw( main_window, 7, tab2, "Magnetic and Solid-State Memory\", however not " );
mvwprintw( main_window, 8, tab2, "relevant in regards to modern hard disk drives. " );
break;
case 6:
mvwprintw( main_window, 2, tab2, "Security Level: Depends on Rounds" );
mvwprintw( main_window, 4, tab2, "This method fills the device with a stream from the " );
mvwprintw( main_window, 5, tab2, "PRNG. It is probably the best method to use on modern " );
mvwprintw( main_window, 6, tab2, "hard disk drives due to variation in encoding methods " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "This method has a high security level with 1 round, " );
mvwprintw( main_window, 9, tab2, "and a increasingly higher security level as rounds " );
mvwprintw( main_window, 10, tab2, "are increased." );
mvwprintw( main_window, 4, tab2, "This method fills the device with a stream from " );
mvwprintw( main_window, 5, tab2, "the PRNG. It is probably the best method to use " );
mvwprintw( main_window, 6, tab2, "on modern hard disk drives due to variation in " );
mvwprintw( main_window, 7, tab2, "encoding methods. " );
mvwprintw( main_window, 8, tab2, " " );
mvwprintw( main_window, 9, tab2, "This method has a high security level with 1 " );
mvwprintw( main_window, 10, tab2, "round and an increasingly higher security level " );
mvwprintw( main_window, 11, tab2, "as rounds are increased." );
break;
case 7:
mvwprintw( main_window, 2, tab2, "Security Level: Not applicable" );
mvwprintw( main_window, 4, tab2, "This method only reads the device and checks that it is" );
mvwprintw( main_window, 5, tab2, "all zero. " );
mvwprintw( main_window, 4, tab2, "This method only reads the device and checks " );
mvwprintw( main_window, 5, tab2, "that it is all zero. " );
break;
@@ -2125,13 +2126,14 @@ void nwipe_gui_method( void )
mvwprintw( main_window, 2, tab2, "Security Level: higher (3 passes)" );
mvwprintw( main_window, 4, tab2, "HMG IA/IS 5 (Infosec Standard 5): Secure Sanitisation " );
mvwprintw( main_window, 5, tab2, "of Protectively Marked Information or Sensitive " );
mvwprintw( main_window, 6, tab2, "Information " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "This method fills the device with 0s, then with 1s, " );
mvwprintw( main_window, 9, tab2, "then with a PRNG stream, then reads the device to " );
mvwprintw( main_window, 10, tab2, "verify the PRNG stream was successfully written. " );
mvwprintw( main_window, 4, tab2, "HMG IA/IS 5 (Infosec Standard 5): Secure " );
mvwprintw( main_window, 5, tab2, "Sanitisation of Protectively Marked Information " );
mvwprintw( main_window, 6, tab2, "or Sensitive Information " );
mvwprintw( main_window, 7, tab2, " " );
mvwprintw( main_window, 8, tab2, "This method fills the device with 0s, then with " );
mvwprintw( main_window, 9, tab2, "1s, then with a PRNG stream, then reads the " );
mvwprintw( main_window, 10, tab2, "device to verify the PRNG stream was " );
mvwprintw( main_window, 11, tab2, "successfully written. " );
break;
} /* switch */