[Concept,0/7] luks: Complete TKey implementation

Message ID 20251208124001.775057-1-sjg@u-boot.org
Headers
Series luks: Complete TKey implementation |

Message

Simon Glass Dec. 8, 2025, 12:39 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

This series finishes off the TKey implementation, including an expo
menu (bootctl), a Python script to automate common operations and some
documentation to pull it all together.


Simon Glass (7):
  luks: Correct condition for calling handle_encrypted()
  test: fs_helper: Support LUKS keyfile and master key
  test: Add mmc13 and mmc14 devices for TKey and pre-derived
  test: luks: Add test for pre-derived master key unlock
  test: bootctl: Add passphrase UI and TKey unlock tests
  scripts: Add tkey_fde_key.py for TKey disk encryption
  doc: Add TKey full disk encryption documentation

 arch/sandbox/dts/test.dts   |   16 +
 boot/bootctl/logic.c        |    2 +-
 doc/usage/blkmap.rst        |   24 +
 doc/usage/cmd/blkmap.rst    |    2 +
 doc/usage/cmd/bootflow.rst  |   25 +
 doc/usage/cmd/luks.rst      |    2 +
 doc/usage/cmd/tkey.rst      |    2 +
 doc/usage/index.rst         |    1 +
 doc/usage/luks.rst          |   19 +-
 doc/usage/tkey-fde.rst      |  585 ++++++++++
 scripts/tkey_fde_key.py     | 2003 +++++++++++++++++++++++++++++++++++
 test/boot/bootctl/bootctl.c |  433 +++++++-
 test/boot/luks.c            |   52 +
 test/py/img/common.py       |   13 +-
 test/py/img/ubuntu.py       |   12 +-
 test/py/tests/fs_helper.py  |   66 +-
 test/py/tests/test_ut.py    |   32 +
 17 files changed, 3261 insertions(+), 28 deletions(-)
 create mode 100644 doc/usage/tkey-fde.rst
 create mode 100755 scripts/tkey_fde_key.py