Skip to content

Repository files navigation

VYPR – Secure Cross-Platform Data Wiping & Certification Tool

VYPR is a secure, standards-aligned data sanitization toolkit targeting Windows, Linux, Android (root), and offline bootable environments. It focuses on safe erasure for modern storage (HDD/SSD/NVMe/eMMC/UFS), verification, and tamper-proof certification.

This repository currently includes:

  • Rust core wipe engine (prototype) for file/directory wiping and verification
  • Rust CLI wrapper emitting JSON reports
  • JSON schema for reports
  • Python certifier/verifier stubs for digital signatures and PDF certificates
  • Minimal PyQt GUI stub (streams CLI progress)

Status

Phase 1–2 prototypes. Device-level erase, Android, and bootable ISO will follow.

Workspace Layout

  • crates/vypr_engine: Rust library implementing wipe/verify
  • crates/vypr_cli: Rust CLI that uses the engine
  • schemas/: JSON schemas
  • certifier/: Python package for signing and PDF
  • gui/pyqt: PyQt GUI stub
  • docs/: Design notes and ISO plan

Install prerequisites

  • Rust (rustup). On Windows, install rustup from https://win.rustup.rs or the Microsoft Store entry "Rustup". On Linux/macOS:
    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
    Then restart your shell so cargo is on PATH.
  • Python 3.9+

Build (Rust)

cargo build --workspace

Usage (CLI prototype)

Wipes files/directories using NIST Clear (single pass pseudorandom) with verification, and outputs a JSON report.

# DANGEROUS: use only on expendable test data
vypr --yes --output report.json <file-or-directory>

Options:

  • --delete: delete files after successful wipe+verify
  • --no-verify: disable verification
  • --verify-samples N: number of sample blocks per file
  • --verify-block BYTES: sample block size

Exit code is non-zero if any entry failed.

Generate tamper-proof certificate (Phase 2 prototype)

# from project root
python -m venv .venv && . .venv/Scripts/activate  # Windows PowerShell: .venv\Scripts\Activate.ps1
pip install -e certifier

vypr-certify report.json --out-json certificate.json --out-pdf certificate.pdf
vypr-verify certificate.json   # prints VALID/INVALID

GUI stub (PyQt)

python -m venv .venv && . .venv/Scripts/activate  # Windows PowerShell: .venv\Scripts\Activate.ps1
pip install -r gui/pyqt/requirements.txt
python gui/pyqt/main.py

Safety Warning

This tool irreversibly overwrites data when run with confirmation flags. Use ONLY on expendable data and test media. The prototype performs file/directory wiping; device-level wiping (HDD/SSD/NVMe/eMMC/UFS, HPA/DCO, sanitize/crypto-erase) requires administrative privileges and careful hardware handling and will be added later.

Roadmap

See docs/ISO.md and docs/ENTERPRISE.md. Broader methods (DoD, Gutmann, crypto erase), drive detection, Android, and bootable ISO will follow in later phases.

About

VYPR is a secure, standards-aligned data sanitization toolkit targeting Windows, Linux, Android (root), and offline bootable environments. It focuses on safe erasure for modern storage (HDD/SSD/NVMe/eMMC/UFS), verification, and tamper-proof certification.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages