v5.0.0: version bump, audit fixes, documentation overhaul
Version bumped to 5.0.0 across include/zupt.h, all packaging recipes, man page, and docs. Audit fixes (pre-5.0.0 review): - src/zupt_format.c: overflow-safe bound in the solid-mode `test` path (off+sz could wrap and drive an OOB read in zupt_xxh64 on a crafted archive; the extract path was already hardened, the test path was not). - gui: run_async now marshals the completion callback onto the GUI thread with QueuedConnection (a bare functor connected DirectConnection and touched widgets off the worker thread); Extract auto-detect note survives the log clear via a new `info` param. - .github/workflows/ci.yml: trigger on `master` (was main/develop, so CI never ran); `make dist` tarball is vaptvupt-*.tar.gz not zupt-*; the ASAN PQ round-trip uses native --pq (was --pq-sdk, which fails on the source-only build and blocked the release job). Documentation: - New AUDIT.md (methodology, FIPS 203 conformance validation, findings, repro). - CHANGELOG 5.0.0 entry covers the FIPS 203 conformance fix + BREAKING note and the GUI/CLI/security/packaging work. - README "What's new in 5.0.0", download tables (incl. Windows/macOS/BSD + portable GUI), version-history row. - SECURITY.md + THREAT_MODEL.md: ML-KEM-768 documented as FIPS 203, validated byte-for-byte against OpenSSL 3.5. - Accuracy fixes: man page (--kdf default is PBKDF2 on source-only; codec 2.60.4), rpm %description, debian control/copyright, homebrew header (no vendored library on source-only builds). make check 16/16 (FIPS 203 conformance 3/3, all distro-safe checks).
This commit is contained in:
parent
862f4a2df6
commit
5050570b23
24 changed files with 356 additions and 139 deletions
|
|
@ -11,7 +11,7 @@
|
|||
# zupt-VERSION.tar.gz alongside the PKGBUILD.
|
||||
|
||||
pkgname=vaptvupt
|
||||
pkgver=4.2.1
|
||||
pkgver=5.0.0
|
||||
pkgrel=1
|
||||
provides=('zupt')
|
||||
replaces=('zupt')
|
||||
|
|
|
|||
|
|
@ -1,3 +1,25 @@
|
|||
vaptvupt (5.0.0-1) UNRELEASED; urgency=high
|
||||
|
||||
* ML-KEM-768 is now genuinely FIPS 203-conformant. Earlier releases shipped
|
||||
round-3 CRYSTALS-Kyber under a "FIPS 203" label; it was secure but not
|
||||
interoperable. Fixed a transposed matrix-A sampling convention (keygen +
|
||||
encrypt), the round-3 KDF, and the implicit-rejection domain. Validated
|
||||
byte-for-byte against OpenSSL 3.5's FIPS 203 ML-KEM-768 in both
|
||||
cross-decapsulation directions (tests/test_mlkem_fips203.sh, in make check).
|
||||
* BREAKING: --pq / --pq-only keys and archives from <= 4.2.1 no longer decrypt
|
||||
(the KEM math changed). Regenerate keys and re-encrypt. Password mode and
|
||||
plain compression are unaffected; wire format stays v1.6.
|
||||
* Security: compress -p <archive> <files> data-loss guard (was overwriting an
|
||||
input file); compress <archive> <dir> -p <pw> silent-plaintext guard; heap
|
||||
OOB read in the AVX2 decoder fast path bounded; overflow-safe bound in the
|
||||
solid-mode test path; secret-wipe on hybrid-decrypt key-read error.
|
||||
* GUI reworked for the source-only build: build-aware Hybrid/Full-PQ selector
|
||||
(no more SDK-mode defaults that fail), PQ-key auto-detect on Extract/Verify,
|
||||
thread-safety + About fixes.
|
||||
* Truthful banner/help (real default KDF); cross-platform packaging.
|
||||
|
||||
-- Cristian Cezar Moisés <sac@securityops.co> Fri, 10 Jul 2026 18:00:00 +0000
|
||||
|
||||
vaptvupt (4.2.1-1) UNRELEASED; urgency=medium
|
||||
|
||||
* Fix: `vaptvupt info` mislabelled full post-quantum (--pq-only, enc_type
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ Description: Post-quantum backup compression utility (formerly Zupt)
|
|||
* Post-quantum hybrid encryption (ML-KEM-768 + X25519, FIPS 203)
|
||||
* AES-256-CTR + HMAC-SHA256 authenticated encryption (Encrypt-then-MAC)
|
||||
* PBKDF2-SHA256 password key derivation (Argon2id in WITH_SDK=1 builds)
|
||||
* Multi-threaded compression with the VaptVupt LZ + ANS codec 2.48.5
|
||||
* Multi-threaded compression with the VaptVupt LZ + ANS codec 2.60.4
|
||||
* Full-disk backup and restore with sparse-region detection
|
||||
* End-to-end byte-level tamper detection on encrypted archives
|
||||
(0 silent-accept positions in the v1.6 exhaustive byte sweep)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: zupt
|
||||
Upstream-Contact: Cristian Cezar Moisés <sac@securityops.co>
|
||||
Source: https://git.securityops.co/cristiancmoises/zupt
|
||||
Source: https://git.securityops.co/cristiancmoises/vaptvupt
|
||||
|
||||
Files: *
|
||||
Copyright: 2025-2026 Cristian Cezar Moisés
|
||||
|
|
|
|||
|
|
@ -17,14 +17,13 @@
|
|||
# Notes for macOS:
|
||||
# * Jasmin assembly is disabled at build time on Darwin (no jasminc dep);
|
||||
# the C fallback for AES-256-CTR / HMAC compare paths is shipped.
|
||||
# * libzuptsdk is vendored and installed alongside the binary; the binary
|
||||
# uses @loader_path rpath so users don't have to set DYLD paths.
|
||||
# * Source-only build: no vendored libraries; native crypto only.
|
||||
|
||||
class Vaptvupt < Formula
|
||||
desc "Post-quantum backup compression utility (ML-KEM-768 + AES-256-CTR + HMAC-SHA256)"
|
||||
homepage "https://git.securityops.co/cristiancmoises/vaptvupt"
|
||||
url "https://git.securityops.co/cristiancmoises/vaptvupt/releases/download/v4.2.1/vaptvupt-4.2.1.tar.gz"
|
||||
version "4.2.1"
|
||||
url "https://git.securityops.co/cristiancmoises/vaptvupt/releases/download/v5.0.0/vaptvupt-5.0.0.tar.gz"
|
||||
version "5.0.0"
|
||||
sha256 "REPLACE_WITH_SHA256_OF_RELEASE_TARBALL"
|
||||
license "AGPL-3.0-or-later"
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
|
||||
zupt = pkgs.stdenv.mkDerivation {
|
||||
pname = "vaptvupt";
|
||||
version = "4.2.1";
|
||||
version = "5.0.0";
|
||||
|
||||
# When publishing, replace this with `fetchurl` against the
|
||||
# release tarball. For local development the flake assumes it
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
# openSUSE Build Service update for `home:cabelo:innovators/vaptvupt`
|
||||
|
||||
This directory contains the three files needed to build vaptvupt `4.2.1`
|
||||
This directory contains the three files needed to build vaptvupt `5.0.0`
|
||||
in OBS:
|
||||
|
||||
| File | Purpose |
|
||||
|---------------|-------------------------------------------------------------------------|
|
||||
| `_service` | `revision` pinned to `v4.2.1`. Format unchanged (still `tar_scm`). |
|
||||
| `vaptvupt.spec` | `Version: 4.2.1`. `License: AGPL-3.0-or-later`. `%check` calls `make check`. |
|
||||
| `_service` | `revision` pinned to `v5.0.0`. Format unchanged (still `tar_scm`). |
|
||||
| `vaptvupt.spec` | `Version: 5.0.0`. `License: AGPL-3.0-or-later`. `%check` calls `make check`. |
|
||||
| `vaptvupt.changes`| Changelog for the 4.x series. Older history preserved verbatim. |
|
||||
|
||||
## Spec notes
|
||||
|
|
@ -58,22 +58,22 @@ cp /path/to/vaptvupt-source/packaging/opensuse/_service .
|
|||
cp /path/to/vaptvupt-source/packaging/opensuse/vaptvupt.spec .
|
||||
cp /path/to/vaptvupt-source/packaging/opensuse/vaptvupt.changes .
|
||||
|
||||
# 3. Trigger the service locally to fetch v4.2.1 from GitHub
|
||||
# 3. Trigger the service locally to fetch v5.0.0 from GitHub
|
||||
osc service runall
|
||||
# Produces vaptvupt-4.2.1.tar.gz in the current directory.
|
||||
# Produces vaptvupt-5.0.0.tar.gz in the current directory.
|
||||
|
||||
# 4. (Optional) Local build to verify before committing
|
||||
osc build openSUSE_Tumbleweed x86_64
|
||||
|
||||
# 5. Commit upstream
|
||||
osc status # confirm vaptvupt-4.2.1.tar.gz is staged alongside the
|
||||
osc status # confirm vaptvupt-5.0.0.tar.gz is staged alongside the
|
||||
# three text files
|
||||
osc commit -m "Update to 4.2.1"
|
||||
osc commit -m "Update to 5.0.0"
|
||||
```
|
||||
|
||||
## Notes for future updates
|
||||
|
||||
* The `_service` `revision` is pinned to `v4.2.1`. To track a new
|
||||
* The `_service` `revision` is pinned to `v5.0.0`. To track a new
|
||||
release, edit that one line and re-run `osc service runall`.
|
||||
* The spec's `Version:` field is hard-coded — when you bump `_service`
|
||||
`revision`, also bump `Version:` to match.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<service name="tar_scm" mode="manual">
|
||||
<param name="url">https://github.com/cristiancmoises/vaptvupt</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">v4.2.1</param>
|
||||
<param name="revision">v5.0.0</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="submodules">enable</param>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,21 @@
|
|||
-------------------------------------------------------------------
|
||||
Fri Jul 10 18:00:00 UTC 2026 - Alessandro de Oliveira Faria <cabelo@opensuse.org>
|
||||
|
||||
- Update to 5.0.0:
|
||||
* ML-KEM-768 is now genuinely FIPS 203-conformant (was round-3
|
||||
CRYSTALS-Kyber): fixed a transposed matrix-A sampling convention,
|
||||
the round-3 KDF, and the implicit-rejection domain. Validated
|
||||
byte-for-byte against OpenSSL 3.5's FIPS 203 ML-KEM-768
|
||||
(tests/test_mlkem_fips203.sh, run in %check).
|
||||
* BREAKING: --pq / --pq-only keys and archives from <= 4.2.1 no
|
||||
longer decrypt (the KEM math changed). Regenerate keys and
|
||||
re-encrypt. Password mode and plain compression are unaffected;
|
||||
wire format stays v1.6.
|
||||
* Security: compress data-loss and silent-plaintext guards; heap
|
||||
OOB read in the AVX2 decoder bounded; overflow-safe solid-mode
|
||||
test path; secret-wipe on hybrid-decrypt key-read error.
|
||||
* GUI reworked for the source-only build; truthful banner/help.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 10 12:00:00 UTC 2026 - Alessandro de Oliveira Faria <cabelo@opensuse.org>
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
|
||||
Name: vaptvupt
|
||||
Version: 4.2.1
|
||||
Version: 5.0.0
|
||||
Release: 0
|
||||
Summary: Post-quantum backup compression with AES-256 + ML-KEM-768 hybrid encryption
|
||||
License: AGPL-3.0-or-later
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
# in the base.
|
||||
|
||||
Name: vaptvupt
|
||||
Version: 4.2.1
|
||||
Version: 5.0.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Post-quantum backup compression utility (AES-256 + ML-KEM-768 + Argon2id, formerly Zupt)
|
||||
|
||||
|
|
@ -48,10 +48,12 @@ Requires: glibc
|
|||
%description
|
||||
Zupt is a pure-C11 backup compression utility featuring:
|
||||
|
||||
* Post-quantum hybrid encryption (ML-KEM-768 + X25519, FIPS 203)
|
||||
* Post-quantum hybrid encryption (ML-KEM-768 + X25519, FIPS 203,
|
||||
validated byte-for-byte against OpenSSL's ML-KEM-768) and full
|
||||
pure ML-KEM-768 (--pq-only)
|
||||
* AES-256-CTR + HMAC-SHA256 authenticated encryption (Encrypt-then-MAC)
|
||||
* Argon2id password-based key derivation (default since 2.4.1)
|
||||
* Multi-threaded compression with the VaptVupt LZ codec
|
||||
* PBKDF2-SHA256 password key derivation (Argon2id in WITH_SDK=1 builds)
|
||||
* Multi-threaded compression with the VaptVupt LZ + ANS codec
|
||||
* Full-disk backup and restore with sparse-region detection
|
||||
* End-to-end byte-level tamper detection on encrypted archives
|
||||
(0 silent-accept positions in the v1.6 exhaustive byte sweep)
|
||||
|
|
@ -107,6 +109,17 @@ and optional encrypted comments.
|
|||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Jul 10 2026 Cristian Cezar Moisés <sac@securityops.co> - 5.0.0-1
|
||||
- ML-KEM-768 is now genuinely FIPS 203-conformant (was round-3 CRYSTALS-Kyber):
|
||||
fixed a transposed matrix-A sampling convention, the round-3 KDF, and the
|
||||
implicit-rejection domain. Validated byte-for-byte against OpenSSL 3.5's
|
||||
FIPS 203 ML-KEM-768 (tests/test_mlkem_fips203.sh, run in %%check).
|
||||
- BREAKING: --pq / --pq-only keys and archives from <= 4.2.1 no longer decrypt.
|
||||
Regenerate keys and re-encrypt. Password mode / plain compression unaffected.
|
||||
- Security: compress data-loss + silent-plaintext guards; AVX2 decoder heap
|
||||
OOB-read bound; overflow-safe solid-mode test path; secret-wipe on error.
|
||||
- GUI reworked for the source-only build; truthful banner/help.
|
||||
|
||||
* Fri Jul 10 2026 Cristian Cezar Moisés <sac@securityops.co> - 4.2.1-1
|
||||
- Fix: "vaptvupt info" mislabelled full post-quantum (--pq-only) archives as
|
||||
"PQ Hybrid (ML-KEM-768 + X25519)". info now reads the real enc_type from the
|
||||
|
|
|
|||
Loading…
Reference in a new issue