Theme
Quickstart: Aegis Core
Aegis Core is the edition you run yourself, on Linux x86-64, with no connection to qblackbit. This page uses the aegis command in two ways: as a local engine on files, then against a running daemon (aegisd) over TLS 1.3 with hybrid key exchange.
Get the software
Aegis Core is delivered to Enterprise customers as one signed bundle per release (aegis-core-<version>.aegisbundle), with the standalone verifier aegis-verify and the first root of qblackbit's update repository (1.root.json). Public downloads are Planned. To evaluate Aegis Core, write to sales@qblackbit.com.
Check the bundle before anything else, on any Linux x86-64 machine. The root's SHA-256 must match the value you received by a second route (a letter, a call, the contract annex):
bash
sha256sum 1.root.json
./aegis-verify-0.13.0-linux-x86_64 aegis-core-0.13.0.aegisbundle --trusted-root 1.root.jsonExit status 0 means every check passed: the archive, the root chain, the metadata in both signature families (Ed25519 and ML-DSA-87) and every file. Then install the package from the verified bundle, as Signed updates and rollback shows. It puts aegis, aegisd and aegis-verify on the path.
Part 1: the engine on your machine
Without a daemon, aegis runs the engine in its own process, on files. Production rules apply unless you add --laboratory, which also runs candidate and research algorithms and labels every result.
bash
aegis algorithms --kind kem --ready # the KEMs that may protect new data here
aegis algorithm ml-dsa-65 # everything known about one algorithm
aegis selftest ml-kem-768 ml-dsa-65 # run their known-answer self-tests againSign and verify
bash
aegis keygen ml-dsa-65 --public-key signer.pub --key signer.key
printf 'release 1.2.3' > release.txt
aegis sign ml-dsa-65 --key signer.key --in release.txt --signature release.sig
aegis verify ml-dsa-65 --public-key signer.pub --in release.txt --signature release.sigverify prints ml-dsa-65: signature valid and exits 0; a changed file or signature makes it fail with a non-zero status. Private keys are written readable by their owner only. --context binds a context string (at most 255 bytes) and --prehash sha2-256 signs a digest (HashML-DSA).
Encapsulate and decapsulate
bash
aegis keygen ml-kem-768 --public-key recipient.pub --key recipient.key
aegis encapsulate ml-kem-768 --public-key recipient.pub --ciphertext kem.ct --secret sender.secret
aegis decapsulate ml-kem-768 --key recipient.key --ciphertext kem.ct --secret recipient.secret
cmp sender.secret recipient.secret && echo "the same shared secret"Use x25519-ml-kem-768 for the TLS hybrid group, or aegis algorithms --kind kem for every KEM this build knows. aegis hpke seals and opens messages with HPKE (RFC 9180); aegis --help lists every command.
Part 2: a running Core
Start it with Docker Compose
The bundle carries the daemon's container image and a Compose file for your own host. On a machine with no network, load the image from the verified bundle:
bash
./aegis-verify-0.13.0-linux-x86_64 aegis-core-0.13.0.aegisbundle --trusted-root 1.root.json \
--extract share/aegis/images/aegisd.oci.tar --to aegisd.tar
docker load -i aegisd.tar # prints the image; set AEGIS_IMAGE to it, by digest
mkdir -p config && chmod 700 config
docker compose run --rm aegisd token --name admin --role admin # prints the token onceAppend the line token prints to config/tokens (the file holds only the token's hash), and keep the token itself in a file only you can read, such as ~/.aegis/admin.token. Then create the vault and start the daemon:
bash
docker compose run --rm aegisd init --data /data/vault.db
docker compose up -d
docker compose cp aegisd:/var/lib/aegis/tls/ca.pem ./ca.pem # the daemon's own authorityThe daemon starts sealed: it holds no key that opens the vault until an administrator unseals it.
Talk to it
aegis remote speaks TLS 1.3 with the hybrid groups only (X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024) and refuses a server that offers only classical ones. Secrets are read from files, never from arguments:
bash
alias core='aegis remote --server https://127.0.0.1:8200 --ca-file ca.pem --token-file ~/.aegis/admin.token'
core health # and the hybrid group the handshake used
core unseal --passphrase-file ~/.aegis/passphrase # or officers' shares: --share-file
core key create release-signing --algorithm ml-dsa-65
core key listAny route of the Core API is reachable with core get <path> and core post <path> --body-file <json>. Binary values are base64:
bash
printf '{"message": "%s"}' "$(printf 'release 1.2.3' | base64)" > sign.json
core post /v1/keys/release-signing/sign --body-file sign.json # {"algorithm", "version", "signature"}Other HTTPS clients work too, if their TLS library offers a hybrid group: for example curl built with OpenSSL 3.5 or later. A client that offers only classical key exchange cannot connect, by design.
The demo instance
qblackbit runs a demonstration of Aegis Core at https://aegis-core.qblackbit.com. Its health route is open to anyone:
bash
aegis remote --server https://aegis-core.qblackbit.com health
curl -sS https://aegis-core.qblackbit.com/v1/health # {"status":"ok"}The demo's public edge uses an ordinary web certificate, so no --ca-file is needed. Everything else needs a token; the demo is for evaluations arranged with qblackbit, and GET /v1/sys/info tells which release it runs.
Next
- The whole API, service by service: Core API.
- How the vault, policy, audit and dual control fit together: start at Vault and keys.
- An installation with no network at all: the government guide.