A minimal-input automatic secure boot provisioning system for Raspberry Pi devices.
  • C++ 59.2%
  • Shell 22.4%
  • Python 16.1%
  • CMake 1.9%
  • JavaScript 0.4%
Find a file
Tom Dewey aff3c4daa9 bootstrap: Show a failed run's own log on the device's page
Only a run that finished moved its log to the device's directory. A
failed one stayed in the early directory, which the web UI never reads,
and the links the page falls back on had been made before the device
lock, so a duplicate descriptor's "Bootstrap already in progress" could
replace them.

File the log on failure as well, make the links only once holding the
device, and replace the metadata rather than nesting it. Once triage
merges the log, what remains goes to the journal alone.
2026-11-16 15:11:55 +00:00
debian bootstrap: Show a failed run's own log on the device's page 2026-11-16 15:11:55 +00:00
docs Document UART capture for 2.4.0 2026-11-05 12:08:16 +00:00
host-support bootstrap: Fail when the board never reaches fastboot, and say why 2026-11-16 15:11:31 +00:00
nginx-example docs: Make the README a landing page, and correct the docs throughout 2026-10-29 15:14:18 +00:00
provisioner-service bootstrap: Fail when the board never reaches fastboot, and say why 2026-11-16 15:11:31 +00:00
service bootstrap: Show a failed run's own log on the device's page 2026-11-16 15:11:55 +00:00
test/ui bootstrap: Show a failed run's own log on the device's page 2026-11-16 15:11:55 +00:00
.gitignore test: Browser tests for the web UI 2026-10-29 15:14:18 +00:00
LICENSE
README.md docs: Make the README a landing page, and correct the docs throughout 2026-10-29 15:14:18 +00:00
SECURITY.md SECURITY: Record 2.3.5, and that 2.3.3 and 2.3.4 are not supported 2026-09-03 15:52:52 +01:00

Automated provisioning of secure boot and encryption for Raspberry Pi devices

rpi-sb-provisioner

rpi-sb-provisioner turns a Raspberry Pi into a provisioning station. Connect a device over USB and it programs secure boot, encrypts the device's storage with a device-unique key, writes your operating system and records the device in a manufacturing database, without anyone typing a command. Operators configure and watch it through a web interface.

It is meant for businesses building products on Raspberry Pi, for manufacturers working at volume, and for anyone preparing more than a handful of devices. Operating it needs no knowledge of the boot chain or of cryptography.

Three provisioning styles are offered: secure-boot (secure boot, encrypted storage and a device-unique key), fde-only (encryption without secure boot) and naked (the operating system alone). Disk images and IDP artefacts built with rpi-image-gen are both supported.

Supported devices

  • Raspberry Pi 5 and Compute Module 5
  • Raspberry Pi 4 and Compute Module 4
  • Raspberry Pi Zero 2 W (fde-only or naked; it has no secure boot)

The provisioning station itself is a Raspberry Pi running 64-bit Raspberry Pi OS.

Installation

sudo apt update && sudo apt full-upgrade -y
sudo apt install -y rpi-sb-provisioner
xdg-open http://localhost:3142

Sign in with an account in the rpi-sb-provisioner group; installing adds the first user. Then configure the station under Options. Upgrading from 2.3 changes how the station is accessed: read Upgrading from 2.3 first.

Documentation

Reporting problems

Report issues at https://github.com/raspberrypi/rpi-sb-provisioner/issues, with the device type, the error and the logs.