FixCraft About BaseFWX

CLI

Python CLI

python -m basefwx cryptin <method> <paths...> [flags]

Methods (aliases in parentheses):

Common flags:

fwxAES-only flags:

Examples:

python -m basefwx cryptin aes-light secret.bin -p "pass" --strip
python -m basefwx cryptin aes-light secret.bin.fwx -p "pass"

python -m basefwx cryptin fwxaes photo.jpg -p "pass"
python -m basefwx cryptin fwxaes video.mp4 -p "pass" --keep-meta

Master key usage (master-only payloads):

export BASEFWX_MASTER_PQ_PUB=/secure/mlkem768.pub
python -m basefwx cryptin aes-heavy payload.bin -p ""

Notes:

Python API

Media helpers:

from basefwx import jMGe, jMGd
jMGe("input.mp4", "password", output="out.mp4")
jMGd("out.mp4", "password", output="plain.mp4")

Use an empty password to rely on the master key only (requires the private key to be available).

C++ CLI

Build:

cmake -S cpp -B cpp/build
cmake --build cpp/build

Usage:

cpp/build/basefwx_cpp fwxaes-enc <file> -p <password> [--out <path>]
cpp/build/basefwx_cpp fwxaes-dec <file> -p <password> [--out <path>]

cpp/build/basefwx_cpp jmge <media> [-p <password>] [--master-pub <path>] [--out <path>]
cpp/build/basefwx_cpp jmgd <media> [-p <password>] [--out <path>]

Master-only media encryption (C++):

cpp/build/basefwx_cpp jmge input.mp4 --master-pub /secure/mlkem768.pub --out out.mp4