From 9856cecd458235952bbe21ad6784c838c7a5e3da Mon Sep 17 00:00:00 2001 From: PartialVolume <22084881+PartialVolume@users.noreply.github.com> Date: Wed, 8 Jan 2025 22:23:15 +0000 Subject: [PATCH] Bump version to v0.38 --- CHANGELOG.md | 13 +++++++++++++ configure.ac | 2 +- man/nwipe.8 | 2 +- src/version.c | 7 ++++--- 4 files changed, 19 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 876e82fb..6ec63245 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,19 @@ RELEASE NOTES ============= +v0.38 +----------------------- +includes the following changes: + +- Fixes type error, relevant to i686 (32 bit) only. Fixes a compile error on some distros. [#588](https://github.com/martijnvanbrummelen/nwipe/pull/588) Thanks @Knogle +- Added feature relevant to ShredOS only, the f key will toggle the font size, standard size to double size, has no action for other xorg/wayland distributions. The f key is available in the drive selection and progress screens only. Note that in earlier commits in this release the d key was programmed however this is now the f key to toggle font size. [#589](https://github.com/martijnvanbrummelen/nwipe/pull/589) [#635](https://github.com/martijnvanbrummelen/nwipe/pull/635) Thanks @PartialVolume +- Fixes a issue where SAS drives always respond 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. [#605](https://github.com/martijnvanbrummelen/nwipe/pull/605) Thanks @PartialVolume +- On some distros, nwipe may not be able to find hdparm or smartctl even when they are installed. This is due to a symbolic link issue with the distro. The patch fixes this issue by adding a new search location when looking for 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/ [#606](https://github.com/martijnvanbrummelen/nwipe/pull/606) Thanks @PartialVolume +- The hidden sector check for SAS drives has been disabled as it is believed that SAS drives do not support the SCSI commands to adjust the drives size as reported to the O.S. [#607](https://github.com/martijnvanbrummelen/nwipe/pull/607) Thanks @PartialVolume +- Some USB adapters report the model name and serial number with the incorrect endian, so adjacent characters in the model name are swapped with each other. This patch detects and fixes model names for Hitachi, Toshiba, WDC Western Digital Corporation and Seagate/ST drives. Mainly some older adapters and drive interfaces might have this issue. [#630](https://github.com/martijnvanbrummelen/nwipe/pull/630) Thanks @PartialVolume +- Fixes the `s shift s bug` as 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. [#636](https://github.com/martijnvanbrummelen/nwipe/pull/636) + v0.37 ----------------------- includes the following changes: diff --git a/configure.ac b/configure.ac index 2720d3e9..91201320 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.63]) -AC_INIT([nwipe],[0.37],[git@brumit.nl]) +AC_INIT([nwipe],[0.38],[git@brumit.nl]) AM_INIT_AUTOMAKE(foreign subdir-objects) AC_CONFIG_FILES([Makefile src/Makefile man/Makefile]) AC_OUTPUT diff --git a/man/nwipe.8 b/man/nwipe.8 index e7b950a2..defbcf40 100644 --- a/man/nwipe.8 +++ b/man/nwipe.8 @@ -1,4 +1,4 @@ -.TH NWIPE "8" "May 2024" "nwipe version 0.37" "User Commands" +.TH NWIPE "8" "Jan 2025" "nwipe version 0.38" "User Commands" .SH NAME nwipe \- securely erase disks .SH SYNOPSIS diff --git a/src/version.c b/src/version.c index 84cbaddc..9e12727b 100644 --- a/src/version.c +++ b/src/version.c @@ -4,14 +4,15 @@ * used by configure to dynamically assign those values * to documentation files. */ -const char* version_string = "0.37.3"; +const char* version_string = "0.38"; const char* program_name = "nwipe"; const char* author_name = "Martijn van Brummelen"; const char* email_address = "git@brumit.nl"; const char* years = "2024"; const char* copyright = "Copyright Darik Horn \n\ -Modifications to original dwipe Copyright Andy Beverley \n\ +Andy Beverley Martijn van Brummelen \n\ +Nick Law (@PartialVolume) and others\n\ This is free software; see the source for copying conditions.\n\ There is NO warranty; not even for MERCHANTABILITY or FITNESS\n\ FOR A PARTICULAR PURPOSE.\n"; -const char* banner = "nwipe 0.37.3"; +const char* banner = "nwipe 0.38";