Lesson 5 of 5 · 8 minutes of reading, plus 10 on your computer
Why trust a tool that reads your keys
RosmarOps reads your settings and finds your keys. To do its job, it reads the same things someone who wants to steal your keys would look for. That's why each of its promises has a public test that fails if someone breaks it, and what each test doesn't cover is written down.
Step 1 of 6 · Before you start
You'll learn where RosmarOps's promises are written, which test watches each one, what each test doesn't cover, and how to check one yourself.
You need nothing for steps 1 to 4. For step 5, the program you downloaded.
In the previous lesson you saw how it's measured. Now, why you can trust whoever does the measuring.
Step 2 of 6 · The idea, with an example
The seals
You don't have to take its word for it.
Think of the seal on an electricity meter. It doesn't tell you everything inside is fine. It tells you something else: whether someone has opened it. If the seal is broken, you can see it. RosmarOps's tests do that with its promises. Each one is written in its code, which is public. If a change breaks the promise, the test fails, and the tests run on every change to the code.
The four promises
As they are written in “What it never does”:
- It sends nothing unless you approve it first. Without your permission it connects to nothing, not even to check for updates.
- It never changes your files, settings, keys or agents. The report tells you what to change; you make the change.
- It never shows a key in full: only its first and last four characters.
- It only writes in its own folder (
~/.rosmarops/) and in the reports folder you choose.
What does leave your computer, with your permission
With your permission, and always only to app.rosmarops.com, it can send three things. All three are data that leave your computer, and that's why each one needs you to say yes:
- Your results, encrypted, to your space, if you connect this computer to your space. After each check. You can disconnect it whenever you want.
- The list of errors when something fails, if you press “Send”: codes, version, system and day, never files, paths, names or keys. You can tick that it sends the next ones without asking, and untick it.
- Usage statistics, if you turn them on: after each check, a summary with the version, the system, the agents it found, the score, the class and the finding codes. Never paths, names, keys or the content of your settings. They are turned off with
rosmarops usage off.
Each send is recorded in a file on your computer, rosmarops-sends.log. Your keys never leave.
What it doesn't promise yet
- The program downloaded from GitHub isn't signed with a code-signing certificate yet. Windows may warn you the first time you open it.
- No independent security review has been published.
Step 3 of 6 · Try it
Promise, test and limit
Each seal has three parts: what it promises, the test that fails if it's broken, and what that test doesn't cover.
The network
Writes
Keys
There is one more check: when it starts, RosmarOps checks that its own program and its configuration haven't changed. Its limit is written down too: it doesn't help against someone who can already write as your user, because a changed program doesn't check itself. That's what step 5 is for.
Do this, in order:
- Read the first seal, the network one.
- Promises: without your permission it connects to nothing.
- Watched by: a test that checks the program's code for Windows, macOS and Linux, and fails if anything other than the one part in charge of sending can use the network. On Linux, it also runs the program watching every connection attempt: without permission, a single one makes the test fail. With permission, it can only connect to app.rosmarops.com.
- Doesn't cover: the part that watches the program while it works only runs on Linux. On Windows and macOS only the code is checked.
- Read the second one, the writing one.
- Promises: it only writes in its folder and in the reports one.
- Watched by: a test that runs the real program in an isolated space, the programs it launches too, and fails if it writes anywhere else.
- Doesn't cover: that test runs on Linux, not on Windows. And inside its own folder it does write: its state, its configuration and the file with your space's key.
- Read the third one, the keys one.
- Promises: it never shows a key in full.
- Watched by: two tests that give it made-up keys shaped like real ones, and fail if the full value appears in the report, in its logs or in its state.
- Doesn't cover: they test with made-up keys, of the types the program knows.
- Read the line below the image.
What you've just seen
- Each promise has a test in the public code, which runs on every change, on Linux and on Windows.
- Each test has a limit, and it's written down.
- What leaves with your permission isn't watched by a test that stops it: you decide it, and it's recorded.
Step 4 of 6 · Check it
First a game of six cases, then a four-question test.
What stops it?
Something happens. What stops it, or who decides?
Something happens. What stops it?
Test
Step 5 of 6 · On your computer
Ten minutes. Check that the program you downloaded is the one RosmarOps publishes.
- Open the page of the version you downloaded on GitHub.
RosmarOps releases on GitHubWhat you see: the list of versions. Under each one, its files: the program for each system and
SHA256SUMS.txt. - Open
SHA256SUMS.txt.What you see: one line per program, with a long fingerprint of letters and numbers and the file name. That fingerprint is the checksum: if a single byte of the program changes, the fingerprint changes.
- Work out the fingerprint of the program you have.
- On Windows, open PowerShell in the program's folder and type
Get-FileHash rosmarops.exe. - On macOS, open Terminal in that folder and type
shasum -a 256 -c --ignore-missing SHA256SUMS.txt, withSHA256SUMS.txtdownloaded into the same folder. - On Linux, the same with
sha256sum -c --ignore-missing SHA256SUMS.txt.
What you see: on Windows, a line with “SHA256” and the fingerprint. On macOS and Linux, the name of the program and “OK”.
- On Windows, open PowerShell in the program's folder and type
- On Windows, compare your fingerprint with the one for
rosmarops.exeinSHA256SUMS.txt.What you see: if they match, it's the program that came out of the public code. If they don't match, don't open it.
- If you want to go further, build it yourself. The README explains how: in a clean copy of the code, at the version you have, with Go 1.24.7 and the two commands it gives. The
rosmarops.exeyou get has the same fingerprint as the one inSHA256SUMS.txt.
Build it yourselfWhat you see: the same fingerprint as in step 4.
If you don't want to install it yet, do steps 1 and 2, and look at the tests yourself: they are in the tests/trust folder of the code.
the trust tests
What you see: one file per test. The network one is no_network_test.go.
Did you install it with Homebrew?
Homebrew builds RosmarOps on your computer, so its fingerprint isn't the one in SHA256SUMS.txt. In that case, Homebrew checks the fingerprint of the source code.
Step 6 of 6 · What you take away
- Each of RosmarOps's promises has a public test that fails if it's broken.
- Each test has a written limit, and there are three sends that only leave with your permission.
- You can check yourself that the program you have comes from the public code.
New terms
Checksum and attestation · Encrypted · Key or credential
You've finished the course
You now know what an agent can do without asking you, how it chains together, what RosmarOps can know and what it can't, how it's measured, and why to trust whoever measures it.
Every fact in this lesson comes from RosmarOps's code, which is public (github.com/qtorb/rosmarops), from its trust model and from the About RosmarOps page.
