Simon Josefsson: How To Trust A Machine
Let s reflect on some of my recent work that started with understanding Trisquel GNU/Linux, improving transparency into apt-archives, working on reproducible builds of Trisquel, strengthening verification of apt-archives with Sigstore, and finally thinking about security device threat models. A theme in all this is improving methods to have trust in machines, or generally any external entity. While I believe that everything starts by trusting something, usually something familiar and well-known, we need to deal with misuse of that trust that leads to failure to deliver what is desired and expected from the trusted entity. How can an entity behave to invite trust? Let s argue for some properties that can be quantitatively measured, with a focus on computer software and hardware:
- Deterministic Behavior given a set of circumstances, it should behave the same.
- Verifiability and Transparency the method (the source code) should be accessible for understanding (compare scientific method) and its binaries verifiable, i.e., it should be possible to verify that the entity actually follows the intended deterministic method (implying efforts like reproducible builds and bootstrappable builds).
- Accountable the entity should behave the same for everyone, and deviation should be possible prove in a way that is hard to deny, implying efforts such as Certificate Transparency and more generic checksum logs like Sigstore and Sigsum.
- Liberating the tools and documentation should be available as free software to enable you to replace the trusted entity if so desired. An entity that wants to restrict you from being able to replace the trusted entity is vulnerable to corruption and may stop acting trustworthy. This point of view reinforces that open source misses the point; it has become too common to use trademark laws to restrict re-use of open source software (e.g., firefox, chrome, rust).
- Accountable binary software distribution remains unresolved in practice, although we have some software components around (e.g., apt-sigstore and
guix git authenticate). What is missing is using them for verification by default and/or to improve the signature process to use trustworthy hardware devices, and committing the signatures to transparency logs. - Trustworthy hardware to run trustworthy software on remains a challenge, and we owe FSF s Respect Your Freedom credit for raising awareness of this. Many modern devices requires non-free software to work which fails most of the criteria above and are thus inherently untrustworthy.
- Verifying rebuilds of currently published binaries on trustworthy hardware is unresolved.
- Completing a full-source rebuild from a small seed on trustworthy hardware remains, preferably on a platform wildly different than X86 such as Raptor s Talos II.
- We need improved security hardware devices and improved established practices on how to use them. For example, while Gnuk on the FST enable a trustworthy software and hardware solution, the best process for using it that I can think of generate the cryptographic keys on a more complex device. Efforts like Tillitis are inspiring here.
Sometimes our booth also act as cloak room :). Ours was close to
the entrance door and we may be similar faces to folks. So people come
and drop their bags before they go to talks.
One thing I love about the such conference is that people have very
different hardwares that I never able to see otherwise. I remember KDE
booth had a Steam Value portable gaming board running KDE plasma. Then
a person have this eyeglass which act as a monitor. Then the usual
DJI drones but custom programmed. It was very lovely to meet and play
around with exotic hardwares.
KDE Digikam 8.0.0 Snap
The more I say, the more depressed I will become so will leave it for now. In many ways the destruction seems similar to the destruction that
Way back at
After the initial installation of a new machine, you often want to
login as root via ssh. Therefore it's convenient to provide
a ssh public key for a passwordless login.
This can now be done by just adding your user name from
salsa.debian.org, gitlab.com or github.com. You can also give a
customized URL from where to download the keys.
Before it was only possible to use a github account name.
The FAI.me build service then creates a customized installation ISO for
you, which will automatically install the ssh public key into the root
account. Also the ready-to-boot cloud images support this feature.
The build service is available on the FAI project website at
In
The fifth release of the still new-ish
I wrote the
Wrong sort of shim, but canned language bindings would be handy
This is what I imagine it looks like inside these libraries