Update docs for v2.0.0, add GPG signing script
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
## unleash v1.6.0 — Terminal Demo
|
## unleash v2.0.0 — Terminal Demo
|
||||||
|
|
||||||
```
|
```
|
||||||
$ sudo ./unleash --version
|
$ sudo ./unleash --version
|
||||||
|
|||||||
@@ -136,6 +136,12 @@ sudo ./unleash status -d
|
|||||||
| `demo` | Simulated bypass flow — no real changes |
|
| `demo` | Simulated bypass flow — no real changes |
|
||||||
| `test` | Dry-run simulation of any command |
|
| `test` | Dry-run simulation of any command |
|
||||||
| `dualboot` | Target an external or dual-boot volume |
|
| `dualboot` | Target an external or dual-boot volume |
|
||||||
|
| `init` | Interactive setup wizard |
|
||||||
|
| `suggest` | Risk-based system analysis and recommendations |
|
||||||
|
| `remediate` | Per-org MDM cleanup (JAMF, Mosyle, Kandji) |
|
||||||
|
| `predict` | Serial number lookup — predict org enrollment |
|
||||||
|
| `telemetry` | Manage anonymous usage stats (opt-in) |
|
||||||
|
| `discord-bot` | Start Discord DM alert bot |
|
||||||
|
|
||||||
### Aliases
|
### Aliases
|
||||||
|
|
||||||
@@ -231,6 +237,26 @@ Yes, but:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Smart Features
|
||||||
|
|
||||||
|
### `suggest` — Risk-Based Recommendations
|
||||||
|
|
||||||
|
Reads your system state (DEP markers, hosts file, pf firewall, user artifacts, Configurator enrollment) and gives a risk score plus specific commands to run.
|
||||||
|
|
||||||
|
### `remediate` — Per-Org Cleanup
|
||||||
|
|
||||||
|
Some MDM vendors (JAMF, Mosyle, Addigy, Kandji, VMware) leave vendor-specific artifacts. `remediate` auto-detects the org and applies targeted cleanup — including extra DNS blocks for their management domains.
|
||||||
|
|
||||||
|
### `predict` — Serial Number Lookup
|
||||||
|
|
||||||
|
Enter a serial number and unleash checks known org prefixes to predict whether a Mac was enrolled by a specific organization. Useful for buying used Macs.
|
||||||
|
|
||||||
|
### `init` — Setup Wizard
|
||||||
|
|
||||||
|
Walks you through first-time setup: Migration Assistant scan, Configurator check, firewall enable, monitor install, persist install, and system backup. One command to go from zero to protected.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Terminal Demo
|
## Terminal Demo
|
||||||
|
|
||||||
<img src="demo.svg" alt="unleash terminal demo" width="720">
|
<img src="demo.svg" alt="unleash terminal demo" width="720">
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# scripts/sign-release.sh
|
||||||
|
# Usage: bash scripts/sign-release.sh <version>
|
||||||
|
# Signs unleash and unleash-standalone.sh with GPG
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
VERSION="${1:-}"
|
||||||
|
[ -z "$VERSION" ] && { echo "Usage: $0 <version>"; exit 1; }
|
||||||
|
|
||||||
|
KEY_ID="${GPG_KEY_ID:-}"
|
||||||
|
[ -z "$KEY_ID" ] && {
|
||||||
|
KEY_ID=$(gpg --list-secret-keys --keyid-format LONG 2>/dev/null | grep sec | head -1 | awk '{print $2}' | cut -d/ -f2)
|
||||||
|
}
|
||||||
|
[ -z "$KEY_ID" ] && { echo "No GPG key found. Generate one: gpg --full-generate-key"; exit 1; }
|
||||||
|
|
||||||
|
for file in unleash unleash-standalone.sh; do
|
||||||
|
[ -f "$file" ] || continue
|
||||||
|
echo "Signing $file..."
|
||||||
|
gpg --detach-sign --armor --default-key "$KEY_ID" "$file"
|
||||||
|
echo "Created: $file.asc"
|
||||||
|
done
|
||||||
|
|
||||||
|
echo "Done. Verify with: gpg --verify unleash.asc unleash"
|
||||||
Reference in New Issue
Block a user