Signed apt, dnf and zypper repositories for optionfactory's tools, served by GitHub Pages from this repository.
Every step below runs unattended, so the same commands work in a terminal, a
provisioning script or a Dockerfile (drop sudo where you are already root).
sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSLo /etc/apt/keyrings/optionfactory.asc https://optionfactory.github.io/linux-packages/key.asc
sudo tee /etc/apt/sources.list.d/optionfactory.sources >/dev/null <<'EOF'
Types: deb
URIs: https://optionfactory.github.io/linux-packages/deb
Suites: stable
Components: main
Signed-By: /etc/apt/keyrings/optionfactory.asc
EOF
sudo apt update
sudo apt install -y docker-bluffsudo rpm --import https://optionfactory.github.io/linux-packages/key.asc
sudo curl -fsSLo /etc/yum.repos.d/optionfactory.repo https://optionfactory.github.io/linux-packages/optionfactory.repo
sudo dnf install -y docker-bluffsudo rpm --import https://optionfactory.github.io/linux-packages/key.asc
sudo zypper --non-interactive addrepo https://optionfactory.github.io/linux-packages/optionfactory.repo
sudo zypper --non-interactive install docker-bluffImporting the key up front is what keeps dnf and zypper from asking to trust it on the first install.
The repository is signed with this key:
$ curl -fsSL https://optionfactory.github.io/linux-packages/key.asc | gpg --show-keys
pub ed25519 2026-09-30 [SC]
9FE6CDC2B377ECF54D7E974580C79C8962B033BB
uid packages <roberto@optionfactory.net>In a script, pin the fingerprint so that setup fails on any other key:
curl -fsSL https://optionfactory.github.io/linux-packages/key.asc \
| gpg --show-keys --with-colons \
| grep -q '^fpr:*9FE6CDC2B377ECF54D7E974580C79C8962B033BB:$' \
|| { echo "unexpected optionfactory repository key" >&2; exit 1; }FROM debian:trixie
ADD --chmod=644 https://optionfactory.github.io/linux-packages/key.asc /etc/apt/keyrings/optionfactory.asc
RUN apt update \
&& apt install -y --no-install-recommends ca-certificates \
&& printf '%s\n' 'Types: deb' \
'URIs: https://optionfactory.github.io/linux-packages/deb' \
'Suites: stable' 'Components: main' \
'Signed-By: /etc/apt/keyrings/optionfactory.asc' \
> /etc/apt/sources.list.d/optionfactory.sources \
&& apt update \
&& apt install -y --no-install-recommends docker-snitch \
&& rm -rf /var/lib/apt/lists/*FROM almalinux:9
RUN rpm --import https://optionfactory.github.io/linux-packages/key.asc \
&& curl -fsSLo /etc/yum.repos.d/optionfactory.repo https://optionfactory.github.io/linux-packages/optionfactory.repo \
&& dnf install -y docker-snitch \
&& dnf clean allUpdates arrive with the usual apt upgrade, dnf upgrade or zypper update.
| Package | From |
|---|---|
docker-bluff, docker-intrude, docker-snitch |
docker-heist |
pinch |
pinch |
optionfactory-posture (Debian and Ubuntu only) |
optionfactory-posture |
optionfactory-hooks (Debian and Ubuntu only) |
optionfactory-hooks |
elaine |
elaine |
rbw |
doy/rbw, upstream release binaries repackaged |
aws-cli (Debian and Ubuntu only) |
AWS CLI v2, the official Linux build repackaged; replaces the distribution's awscli |
Packages are built from the latest GitHub release of each repository in
SOURCES (see the Makefile): each packages/<name>/ becomes a .deb and an
.rpm of the release asset <name>-linux-amd64-musl, checked against the
release's SHA256SUMS; only a .deb when the directory has a deb-only file.
Packages of someone else's tools have an upstream file instead (<owner/repo> <version> <asset> <sha256>):
that release, pinned, so an update is a reviewed commit that changes the version and the hash. A zip served outside
GitHub has a download file (<version> <url> <sha256>) the same way. After releasing any of them, rebuild and publish
everything with:
make deps # one-time: gh, apt-utils, createrepo-c, rpm, gnupg, curl, unzip and nfpm
make publishmake build does the same without pushing, into target/site. publish
signs with GPG_KEY and force-pushes the site to the gh-pages branch, which
GitHub Pages serves. When only the packaging changes, bump release in the
package's nfpm.yaml so that installed copies get upgraded.
By hand, when a newer version is needed (AWS releases almost daily): the latest 2.x tag of
aws/aws-cli, its zip checked against the signature with the key of the AWS CLI
team (fingerprint FB5D B77F D5C1 18B8 0511 ADA8 A631 0ACC 4672 475C, published in the
install guide), then its hash in
packages/aws-cli/download:
v=2.41.2
curl -fsSLO "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-$v.zip"
curl -fsSLO "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-$v.zip.sig"
gpg --verify "awscli-exe-linux-x86_64-$v.zip.sig" "awscli-exe-linux-x86_64-$v.zip" # Good signature, that fingerprint
echo "$v https://awscli.amazonaws.com/awscli-exe-linux-x86_64-$v.zip $(sha256sum "awscli-exe-linux-x86_64-$v.zip" | cut -d' ' -f1)" \
> packages/aws-cli/download