./sysutils/wipe, Secure data destruction

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.1, Package name: wipe-2.3.1, Maintainer: pkgsrc-users

Wipe is a secure file wiping utility.

There are some low level issues that must be taken into consideration.
One of these is that there must be some sort of write barrier between
passes. Wipe uses fdatasync(2) (or fsync(2)) as a write barrier, or
if fsync(2) isn't available, the file is opened with the O_DSYNC or
O_SYNC flag. For wipe to be effective, each pass must be completely
written. To ensure this, the drive must support some form of a write
barrier, write cache flush, or write cache disabling. SCSI supports
ordered command tags, has a force media access bit for commands, and
write cache can be disable on mode page 8. IDE/ATA drives support
write cache flushes and write cache disabling.

Unfortunately, not all drives actually disable write cache when asked
to. Those drives are broken. Write caching should always be
disabled, unless your system is battery backed and always powers down
cleanly.


Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 70.603 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2020-03-20 12:58:37 by Nia Alarie | Files touched by this commit (640)
Log message:
*: Convert broken sourceforge HOMEPAGEs back to http
   2020-01-19 00:36:14 by Roland Illig | Files touched by this commit (3046)
Log message:
all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
   2019-11-16 11:14:15 by Makoto Fujiwara | Files touched by this commit (9)
Log message:
(sysutils/wip) Updated 2.2.0 to 2.3.1

2.3.1:
fixed Makefile bug! Running make uninstall removed target bin directory.

2.3:

DEFAULTS!
the default is now one single random pass  <-- MAJOR CHANGE
special files are no longer deleted by default

support for wiping char devices, such as tape drives

percentage reporting improved (thanks to Jason Tackaberry for patch)

cleanup and exit upon SIGINT

each wiped file prints on a seperate line

skip unnecessary fdatasync()s, unless you want the extra accuracy on the % shown \ 
(-e option)

call fsync() on the file after name wipe, in addition to fsync on the directory

if fdatasync() fails, try for O_SYNC and only complain once per file

fixed some off-by-ones
fixed percentages for non-static wipes

2.2.1:
added largefile support for linux and solaris (tested on linux)

fixed drill_down(). it was using the wrong length to null term the string
   2016-02-26 11:24:14 by Jonathan Perkin | Files touched by this commit (44)
Log message:
Use OPSYSVARS.
   2015-11-04 02:32:42 by Alistair G. Crooks | Files touched by this commit (499)
Log message:
Add SHA512 digests for distfiles for sysutils category

Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-10-09 16:06:00 by Thomas Klausner | Files touched by this commit (1)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.