zupt/gui
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Cristian Cezar Moisés 2512844bc4 gui: robust Verify (+Extract) — auto-detect encryption, guide, run async
Reported: verification errors in the GUI. The Verify tab made the user pick a
PQ mode from a dropdown and remember the private key; a wrong pick or a missing
credential produced a raw CLI decrypt-error dump ("Error: Archive uses
post-quantum encryption. Use --pq" / "Authentication failed"), and it ran the
verify SYNCHRONOUSLY on the GUI thread (freezing the window on a large archive).

- New _detect_archive_enc(): reads the archive header via `info` (no credential)
  and returns none/password/pq/pqonly/sdk + a human label.
- Verify now auto-detects the encryption, uses the MATCHING decrypt flag (a
  wrong-mode mismatch is impossible), and if the needed credential is missing
  shows a clear message ("This archive is password-encrypted. Enter the password
  above, then click Verify again." / "...select the matching private key...")
  instead of a raw error. Removed the now-redundant Verify PQ-mode dropdown.
- Verify runs through the async _Job (own progress bar) so it never freezes;
  run_async gained ok_msg/fail_msg so it prints "All checksums passed." /
  "Verification failed.".
- Same auto-detect + missing-credential guidance applied to Extract (it had the
  same footgun); its message on wrong creds is now "Extraction failed.".

Verified on real X (thread-safe instrumentation, no cross-thread access): plain/
password/hybrid/pq-only verify pass; missing password and missing PQ key each
give guidance; wrong password/key and a non-archive fail cleanly; extract flows
byte-exact.
2026-07-12 15:36:39 -03:00
..
assets Release: v2.1.6 - Added VaptVupt 2.40 2026-04-22 03:46:59 -03:00
packaging v2.2.2 2026-05-01 09:58:47 -03:00
src gui: robust Verify (+Extract) — auto-detect encryption, guide, run async 2026-07-12 15:36:39 -03:00
install.sh v2.2.2 2026-05-01 09:58:47 -03:00
LICENSE-GUI v4.0.0: codec 2.60.4 security release, --pq-box sealed-box mode, F-16 fix 2026-06-10 18:48:58 -03:00
README.md v5.2.0: version bump + docs (GUI crash fix, codec 2.65.3, libvuptsdk) 2026-07-12 14:50:16 -03:00
requirements.txt Release: v2.1.6 - Added VaptVupt 2.40 2026-04-22 03:46:59 -03:00
setup.py v2.2.2 2026-05-01 09:58:47 -03:00
zupt-gui v2.2.2 2026-05-01 09:58:47 -03:00

VaptVupt GUI

Desktop application for vaptvupt backup compression with ML-KEM-768 + X25519 post-quantum hybrid encryption.

Works on GNU/Linux, BSD, macOS, and Windows.

Install

tar xzf vaptvupt-gui.tar.gz && cd vaptvupt-gui
./vaptvupt-gui                      # auto-creates venv, installs PySide6
./install.sh --user              # adds right-click menu integration

Windows

Option A — Installer (recommended):

Download VaptVuptGUI-1.3.0-Setup.exe and run it. Installs to Program Files, adds Start Menu shortcut, desktop shortcut, right-click context menus, and .zupt file association. Includes uninstaller.

Option B — Build from source:

cd packaging\windows
build-windows.bat

Requires Python 3.9+, NSIS 3.x, and a compiled vaptvupt.exe.

Option C — Run directly:

pip install PySide6
python src\zupt_gui.py

macOS / BSD

pip3 install PySide6
python3 src/zupt_gui.py

AppImage (universal Linux)

chmod +x VaptVupt-GUI-1.3.0-x86_64.AppImage
./VaptVupt-GUI-1.3.0-x86_64.AppImage

Flatpak

flatpak-builder --install build packaging/flatpak/dev.zupt.gui.yml
flatpak run dev.zupt.gui

Features

Tab Function
Keys Generate ML-KEM-768 + X25519 hybrid keypairs
Compress All codecs, levels 1-9, dedup, solid, password, PQ keys
Extract Decrypt and extract .zupt archives
Verify Check block checksums, view archive metadata
Disk Full-disk backup and restore
About Version, cryptographic stack, credits

All tabs support drag-and-drop. Drop a .zupt file anywhere on the window to extract it. Drop any other file to compress it.

System Integration

Linux (Nemo / Cinnamon)

After ./install.sh --user:

  • Right-click any file: Compress with VaptVupt
  • Right-click .zupt file: Extract with VaptVupt
  • Double-click .zupt: opens in VaptVupt GUI

Windows (after installer)

  • Right-click any file: Compress with VaptVupt
  • Right-click any folder: Compress with VaptVupt
  • Double-click .zupt: opens in VaptVupt GUI
  • Right-click .zupt: Verify Integrity

Architecture

VaptVupt GUI (PySide6, Python)
    |
    |-- subprocess.Popen() with streaming stderr
    |
    v
vaptvupt CLI (Pure C11 binary)
    ML-KEM-768 + X25519 + AES-256-CTR
    VaptVupt / LZHP / Store codecs
    Block deduplication, full-disk backup

The GUI calls the vaptvupt CLI binary — all cryptography runs in native C, not Python.

Packaging

Platform Format Tool
Any pip pip install .
Debian/Ubuntu/Mint .deb packaging/deb/control
Fedora/RHEL .rpm rpmbuild -ba packaging/rpm/vaptvupt.spec
Universal Linux .AppImage packaging/appimage/build-appimage.sh
Sandboxed Linux .flatpak packaging/flatpak/dev.zupt.gui.yml
Windows .exe installer packaging/windows/build-windows.bat
Windows NSIS .exe packaging/windows/zupt-installer.nsi

Credits

  • vaptvupt v5.2.0 — Cristian Cezar Moisés (github)

License

AGPL-3.0-or-later