Spread spectrum v2: independent per-channel embedding with round-robin bit distribution, preserving spatial stereo/surround mix. Adaptive chip tiers (256/512/1024) trade capacity for lossy codec robustness. LFE channel skipped for 5.1+ layouts. v2 header (20B) with backward- compatible v0 decode fallback. Environment toggles (STEGASOO_AUDIO, STEGASOO_VIDEO) gate audio/video features for minimal builds (e.g. Raspberry Pi image-only). Values: auto (default, detect deps), 1/true (force on), 0/false (force off). Web UI fixes: accordion defaults to step 1 on load, chevron arrow styling, required attribute toggling for audio carrier type switch, "Images & Mode" renamed to "Reference, Carrier, Mode". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Stegasoo AUR Package
Full package with CLI, Web UI, and REST API. Supports Python 3.11-3.14.
Installation
From AUR (once published)
yay -S stegasoo-git
# or
paru -S stegasoo-git
Manual build
git clone https://aur.archlinux.org/stegasoo-git.git
cd stegasoo-git
makepkg -si
What Gets Installed
/opt/stegasoo/venv/- Self-contained Python venv with all dependencies/usr/bin/stegasoo- CLI symlink/usr/lib/systemd/system/stegasoo-web.service- Web UI service (port 5000)/usr/lib/systemd/system/stegasoo-api.service- REST API service (port 8000, HTTPS)
Optional Dependencies
# QR code reading from webcam/images (recommended)
sudo pacman -S zbar
All other dependencies are bundled in the venv.
Usage
CLI
stegasoo --help
stegasoo generate # Generate passphrase + PIN
stegasoo generate --rsa --qr-ascii # With RSA keys and QR codes
stegasoo encode -i carrier.jpg -r reference.jpg -m "secret" -P "word1 word2 word3 word4" -p 123456
stegasoo decode -i encoded.png -r reference.jpg -P "word1 word2 word3 word4" -p 123456
Web UI
# Start service (user created automatically on install)
sudo systemctl enable --now stegasoo-web
# Access at http://localhost:5000
REST API
# Create an API key first
sudo -u stegasoo stegasoo api keys create mykey
# Start service (HTTPS with auto-generated self-signed cert)
sudo systemctl enable --now stegasoo-api
# Access docs at https://localhost:8000/docs
curl -k -H "X-API-Key: YOUR_KEY" https://localhost:8000/
HTTPS Configuration
The API uses HTTPS by default with auto-generated self-signed certificates.
# View certificate info
stegasoo api tls info
# Generate new self-signed cert
sudo -u stegasoo stegasoo api tls generate
# Use custom certs (edit service file)
sudo systemctl edit stegasoo-api
Alternative Packages
stegasoo-cli-git- CLI only, minimal dependenciesstegasoo-api-git- CLI + REST API, no web UI
Maintainer
Aaron D. Lee