[Tails-dev] mmc and sdhci kernel/initrd support ?

Delete this message

Reply to this message
Author: Insurgo
To: tails-dev
Subject: [Tails-dev] mmc and sdhci kernel/initrd support ?
Hey devs :)

I'm collaborating on the Heads project, which is a linux Coreboot
payload which enforces firmware tamper evidence through TPMTOTP and
visually through Librem Key HOTP, resulting in the Librem Key/Nitrokey
Pro/Nitrokey Storage to flash green if integrity is as expected or red
otherwise. Boot integrity is attested through checksumming all /boot
files into a digest that is validated automatically against user's
signed one with user's public key inserted into the rom.

Heads is meant to be "the other side of tails" to permit trusted
persistence in QubesOS installation.

I've developped a OEM->User ReOwnership wizard that permits OEM to
preinstall QubesOS in a LUKS container, sealing the firmware through
TPMTOTP and HOTP (for which the resulting QRCode is sent to customer
over secured communication channels prior to reception with actual Disk
Recovery Key passphrase) while sending the Librem Key/Nitrokey Pro for
the user to validate himself that neither the firmware nor the /boot
configurations have been tampered with in transit.

The Reownership wizard then takes advantage of the linux recovery
environment to enforce the reownership by proposing the user EFF
diceware passphrases meeting minimal requirements, reencrypting the
provided sdcard and SSD drive with his new Disk Recovery Key passphrase,
reowning shipped Librem Key/Nitrokey Pro and generating the public key
that is flashed into the rom, reowns the TPM and reseals TPMTOTP and
HOTP secrets with his new Librem Key/Nitrokey Pro, while setting a Disk
Unlock Key into the LUKS header, released by the TPM only if the
firmware measurements matches. The details are here

Now the problem. Heads also permits to boot ISOs from USB partition. No
problem here since Tails supports usb devices.

But it doesn't seem to support mmc and sdhci modules required to be able
to boot from the memory expansion slot (ricoh)
on the X230. As a result, the sdcard is mounted
the validatity of Tails ISO integrity
against rom internal distro keys
succeeds, the ISO iso mounted consequently and the kernel is kexec'ed
but the initrd fails to find the original mounted device by uuid
to continue init from within booted Tails kernel?

Is it possible for you guys to add mmc and sdhci modules
My next goal being to support a stateless X200 inside of heads, the same
missing pieces would be required to support integrity validated ISO
images from being booted from the memory expension slot' sdcard drive.

Thanks for your time!

Thierry Laurion / Insurgo Open Technologies