- Added a new wiping method following the Bruce Schneier 7-Pass standard.
- Overwrites the device with:
- Pass 1: All ones (0xFF)
- Pass 2: All zeroes (0x00)
- Pass 3-7: Five passes of PRNG-generated random data.
- Updated method.h with the function prototype for `nwipe_bruce7`.
- Added `nwipe_bruce7()` implementation in method.c.
- Registered method label in `nwipe_method_label()`.
- Updated UI in options.c to display security level and details.
The s shift s bug is reported here
https://github.com/PartialVolume/shredos.x86_64/issues/301
To summarize, if no drives are selected and then the user presses
s (lower case) a warning appears indicating that the user
should press S (upper case) to start the wipe. This
warning appears for about 3 seconds but during this time if the
user presses S (upper case) nwipe would immediately complete,
having wiped no drives and requesting the user to press the
spacebar to exit. The is incorrect behaviour.
The bug doesn't appear if the user pressed S after the 3
seconds elapsed and the warning message disappeared.
This patch fixes this so that it does not exit but displays the
warning for 3 seconds and then waits for input.
This is only relevant to ShredOS and is disabled
for other distros, as doubling font size is controlled
within the terminal or window manaegment of the distro.
When nwipe detects ShredOS it makes an additional
command available to the GUI in the drive selection window and
progress window (after the wipe has started) This command
is 'f'. Pressing the f key whether in drive selection or
progress windows will double the size of the font. Pressing 'f'
again will toggle the font size back to it's original size.
In addition and depending on whether ShredOS is detected it will
add an additional item to the help footer of both the
drive selection and progress windows. e.g. f=Font size
Fixes a buffer overflow in the last commit. That
commit added additional model names to the endian model
swap code but did not calloc suffient storage for the
termination character.
This patch fixes model names for Hitachi,
Toshiba, WDC Western Digital Corporation and Seagate/ST
drives when used with some USB adapters that get the
endian incorrect. Mainly older adapters.
hdparm and smartctl.
The new search location is /usr/sbin/. Previously
we searched /sbin/ and /usr/bin/ but /sbin is symbolically linked
to /usr/sbin/ so just in case there was some issue with the
symbolic link we also now search /usr/sbin/
with hidden sectors = ???, i.e warning. This
patch fixes the problem so that a SAS drive
responds with hidden sectors = not applicable.
A SATA drive connected to a SAS interface should
still respond with yes or no subject to the
interface passing HPA and DCO-identify commands.
* #587 Introduction to SSD wipe
Added information to readme.md regarding the lack of clarity about SSD wiping.
* #587
* Added guide for SSD
* Update README.md
Extended the disclaimer regarding SSD Wipe and fixed two typos
* ssd-guide compatibility note update
Added information regarding Samsung SATA SSD compatibility to sanitize command
* Added Solidigm compatibility for sata sanitize
* formatting (no content change)
* Added .DS_Store to gitignore
Added .DS_Store due for development on mac clients.
* Update ssd-guide.md
Added clarity regarding risks of incomplete sanitization of disks due to intransparency of vendor tools.