The Honest Block Tester
Find a file
2026-05-12 12:57:33 -07:00
.woodpecker woodpecker: Use caching 2026-05-12 12:57:33 -07:00
LICENSES Finish REUSE compliance 2026-02-17 16:07:36 -08:00
.gitignore Change github.com URLs to codeberg.org 2026-04-29 16:35:55 -07:00
.pre-commit-config.yaml pre-commit: Remove actionlint; bump woodpecker-shellcheck 2026-05-04 18:32:12 -07:00
.yamllint.yml Change github.com URLs to codeberg.org 2026-04-29 16:35:55 -07:00
COPYING.md Change license from GPLv2 to Mozilla Public License 2.0 2021-03-24 11:32:46 -07:00
honestbt Change github.com URLs to codeberg.org 2026-04-29 16:35:55 -07:00
pyproject.toml Bump requires-python; add explicit build-system; add stub setup.py 2026-05-01 10:46:13 -07:00
README.md Change github.com URLs to codeberg.org 2026-04-29 16:35:55 -07:00
setup.py Bump requires-python; add explicit build-system; add stub setup.py 2026-05-01 10:46:13 -07:00
tox.ini Change github.com URLs to codeberg.org 2026-04-29 16:35:55 -07:00

honestbt, The Honest Block Tester

honestbt is a program which writes AES-CTR-encrypted data (using a random or specified key) to a block device, then reads back, decrypts and verifies. It is designed to write seemingly random, non-patterned data but does not need a full reference copy to verify.

It has the following applications:

  • Testing flash drives for counterfeits which may report a larger drive size than what is actually available (e.g. reports itself as a 64GiB drive, but really only has 4GiB and the last 2GiB loops upon itself internally).
  • General-purpose data-destructive drive testing.
  • Single-pass shred replacement.
  • Simple drive performance test.

This program works by completely overwriting a block device with essentially garbage, take care to avoid data loss!

Current status

"90% functionally done, throw it on GitHub."

License

This document is provided under the following license:

SPDX-PackageName: honestbt
SPDX-PackageSupplier: Ryan Finnie <ryan@finnie.org>
SPDX-PackageDownloadLocation: https://codeberg.org/rfinnie/honestbt
SPDX-FileComment: README
SPDX-FileCopyrightText: SPDX-FileCopyrightText: © 2019 Ryan Finnie <ryan@finnie.org>
SPDX-License-Identifier: CC-BY-SA-4.0