Presented by

  • Alistair Francis

    Alistair Francis

    Alistair contributes to and maintains a range of different software projects, from low level operating systems to high level system applications. Alistair is the maintainer for QEMU RISC-V support and has lots of past experience with RISC-V. Recently he has been working on new Rust projects and embedded systems and security, including Tock, FIDO and LoRaWAN.

    Over the last year or two he has been working closely on SPDM. Security Protocols and Data Models (SPDM) is used for authentication, attestation and key exchange. SPDM is generally used over a range of transports, such as PCIe, MCTP/SMBus/I3C, ATA, SCSI, NVMe or TCP.

    Alistair has written and submitted Rust patches to the Linux kernel for SPDM support, is a large contributor to the reference libspdm project and co-maintains SPDM-Utils, a SPDM Linux utility.

    He has contributed to glibc, strace, OpenOCD, Oreboot, OpenSSL, OpenEmbedded/Yocto, Linux, Xvisor, OpenSBI, seL4, libspdm, Linux, QEMU, Tock, OpenTitan, HomeAssistant, ktls-utils, gnutls, RadioLib and a variety of other projects.

Abstract

Traditional threat models have assumed that the hardware you are running on is trusted. What if that is no longer the case? As supply chain attacks become more common and as data centres become more complex and distributed how can we manage the physical hardware? Not to mention, what happens if we want to run a confidential compute workload with access to an external device (like a GPU)?

Security Protocols and Data Models (SPDM) is used for authentication, attestation and key exchange. SPDM is generally used over a range of transports, such as PCIe, MCTP/SMBus/I3C, ATA, SCSI, NVMe or TCP.

This talk will go over what SPDM is and how it can be used to authenticate and attest a device, and why you would want to do this. This will include a quick overview of the supported certificate models and manifests. Giving you an understanding of what problem we are trying to solve, how it works and why it's useful.

The talk will also cover the current software support for SPDM, including Linux support (potentially written in Rust). From the Linux kernels perspective SPDM is used to authenticate and attest devices. In this threat model a device is considered untrusted until it can be verified by the kernel and userspace using SPDM. There are upstream Rust patches submitted, which I will discuss more in the talk.

We will quickly cover how SPDM fits in with Confidential Compute.

Finally with time permitting I can present a demo using SPDM-Utils (https://github.com/westerndigitalcorporation/spdm-utils), a public Rust SPDM utility.