Security and trust
Armatta verifies collector packages before a host installs them. The server signs each file with an Ed25519 key, and the host checks the signature and the file's SHA-256 to catch tampering.
Package signing and verification
Signed over the file and its manifest
A server with a signing key signs every file twice with its Ed25519 key: once over the file's bytes, and once over a manifest of the package, the version, the OS, the architecture and the file's SHA-256.
A server with no signing key
A server with no signing key signs nothing. It keeps only files uploaded with a signature of their own, and a host installed from it takes no packages, since it has no key to check them against.
Verified before anything is unpacked
Each host checks every file against its manifest's signature and its hash before anything is unpacked, wherever the bytes came from. A file passed off as another package, version or platform is refused.
Pinned signing keys
The install line gives the host the fingerprint of the server's key, so the host does not simply trust the first key it is sent. An install by hand made without --signing-key trusts the first key the server sends, and that key then decides every package the host installs.
Verifying an Armatta release
What a release holds
An Armatta release is a set of files, SHA256SUMS listing their hashes, and a signature over that list made with Armatta's release key.
Two SBOMs
Each release lists its contents in two CycloneDX SBOMs, one for its Go binaries and one for the portal's packages, both covered by the signature.
Independent release signature verification
You get the release key's public half from Armatta directly, never inside a release: anyone who could change a release could change a key shipped with it.
With the release key's public half in a file of allowed signers, check the signature over SHA256SUMS, then every file against it.
ssh-keygen -Y verify -f allowed_signers -I armatta-release -n armatta-release -s SHA256SUMS.sig < SHA256SUMSsha256sum -c SHA256SUMS
Audit trail
Who changed what
Armatta records every change requested by someone signed in, whether it succeeded or not: when, who, from where, the action, what it touched and the result. Sign-ins with a password are recorded too, but for one refused because too many have failed, whose failures are there, and one refused because the sign-in notice was not accepted. No secret is recorded.
Real-time audit forwarding
Each entry is sent to your syslog receiver over TLS as it is written, and held and sent again while the receiver is down, so whoever later gets the server's data cannot take back what was sent.
Read-only audit history
In the portal only an org admin reads the trail, and no route changes it. Entries are kept for 365 days unless -audit-days sets another.
Sign-in protection
Login rate limiting
Failed sign-ins are slowed, by user name and by address.
Account lockout protection
Once the lock is set, wrong passwords lock an account. Wrong second-factor codes in a row lock it too, until an org admin unlocks it; that lock is on by default.
Optional second factor
Each user can turn on TOTP from an authenticator app, with recovery codes. It is required of no one.
Session expiration
Sessions end when idle and at the end of their lifetime, and the portal signs itself out after the same idle time with no input.
A hardening guide for accredited installs
What to turn off, and why
The guide says what listens where, what to turn off, and the NIST SP 800-53 rev 5 and NIST SP 800-171 rev 2 controls each setting helps meet. It claims no compliance: only an assessment of the whole system can.
The guide is not published. To read it, write to hello@armatta.io.
Report a security vulnerability
Write to security@armatta.io with what you found and how to reproduce it. Please don't make it public until we have answered.
Take control of your collector fleet.
Early access is available for teams managing OpenTelemetry collectors on Linux. We'd like to hear what you're running and the challenges you're trying to solve.
Request early access