Repository navigation
·
2 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Security
This release hardens how Clonio stores and protects secrets, following a responsible disclosure by James King (@Jamesking56) (#273, #274, #275, #276). Thank you, James.
Behaviour change
env:NAMEsecret references are the default.connection:add,connection:update,audit:addandaudit:updatenow ask for an environment variable first (e.g.CLONIO_PROD_PASSWORD) and store only the reference. Entering the value directly is still possible and stores it encrypted, as before.CLONIO_KEYreplacesAPP_KEY. Clonio reads its key fromCLONIO_KEYand falls back toAPP_KEY, so existing projects keep working.initnow writesCLONIO_KEY=instead ofAPP_KEY=. The newkey:rotatecommand moves a project to a freshCLONIO_KEYand re-encrypts allencrypted:values inclonio.json. Audit logs signed before a rotation verify only with the old key:CLONIO_KEY='<old key>' clonio cloning:verify-audit ….- Warnings on stderr before each command. Clonio warns when
clonio.jsonor.envis accessible to group or others (looser than0600; skipped on Windows) and when the key still comes fromAPP_KEY. Fix withchmod 600 <file>andclonio key:rotate. There is no opt-out. - Schema inspection. PostgreSQL sources inspected with a non-owner user now report their primary and foreign keys (previously none). SQL Server foreign keys now reference the correct table and column (previously their own table). Composite foreign keys on both are reported once per column pair.
See docs/security.md for the full picture.
What's Changed
- feat(secrets): env:NAME secret references as default, catalog-based key inspection by @rokde in #272
- docs(claude): treat the current code as the source of truth by @rokde in #278
- feat(secrets): add CLONIO_KEY and key:rotate by @rokde in #277
- feat(security): warn when clonio.json or .env are accessible to others, or the key is APP_KEY by @rokde in #279
Full Changelog: v1.8.0...v1.9.0
See the full CHANGELOG.md.
Installation
| File | Platform | Requires |
|---|---|---|
clonio-linux-x86_64 |
Linux — x86_64 (Intel/AMD) | nothing |
clonio-linux-aarch64 |
Linux — aarch64 (ARM64) | nothing |
clonio-macos-aarch64 |
macOS — Apple Silicon (M1/M2/M3/M4) | nothing |
clonio.phar |
Any platform | PHP 8.5 |
ghcr.io/clonio-dev/clonio:v1.9.0 |
linux/amd64 + linux/arm64 | Docker |
Linux
mv clonio-linux-x86_64 clonio # or clonio-linux-aarch64 for ARM
chmod +x clonio
sudo mv clonio /usr/local/bin/clonio
clonio --versionmacOS
⚠️ The binary is currently unsigned. macOS Gatekeeper will block it on first run.
mv clonio-macos-aarch64 clonio
chmod +x clonio
xattr -d com.apple.quarantine clonio
sudo mv clonio /usr/local/bin/clonio
clonio --versionPHAR (any platform with PHP 8.5)
php clonio.phar --versionDocker
docker pull ghcr.io/clonio-dev/clonio:v1.9.0
docker run --rm -v "$(pwd)":/workspace \
ghcr.io/clonio-dev/clonio:v1.9.0 --versionSee docs/docker-distribution.md for pinning, tag scheme, and common recipes.
Composer (dev dependency)
composer require --dev clonio-dev/clonio-cli
vendor/bin/clonio --version