Skip to content

RFC use confidential computing provisioned secrets for disk decryption

Hyman Huang grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2cryptodisk: add OS provided secret supportgrub-core/disk/cryptodisk.c include/grub/cryptodisk.h+60 -30 replies
2/2efi: Add API for retrieving the EFI secret for cryptodiskgrub-core/Makefile.core.def grub-core/disk/efi/efisecret.c include/grub/efi/api.h+146 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/2] use confidential computing provisioned secrets for disk decryption

This patchset aims to supplement James's previous work, please refer to the following link for details:
https://lists.gnu.org/archive/html/grub-devel/2020-12/msg00257.html

The alterations listed below were made in light of earlier research:
1. As Glenn advised, remove the first commit ([PATCH v3 1/3] cryptodisk:
make the password getter and additional argument to recover_key) while maintaining the original recover key function declaration.

2. To decrypt the disk, use the password that was retrieved from the EFI secret area and store it in the key_data field of the grub_cryptomount_args_t. Then, pass the password to the grub_cryptodisk_scan_device function.

3. Modify the put method's function definition in struct grub_secret_entry, and use grub_errno to log method errors.

We uploaded this series with the intention of receiving feedback, as the title suggests. Any suggestions and feedback regarding this patchset are welcom.

Thanks,

Yong

Hyman Huang (2):
cryptodisk: add OS provided secret support
efi: Add API for retrieving the EFI secret for cryptodisk

 grub-core/Makefile.core.def    |   8 +++
 grub-core/disk/cryptodisk.c    |  49 ++++++++++++-
 grub-core/disk/efi/efisecret.c | 123 +++++++++++++++++++++++++++++++++
 include/grub/cryptodisk.h      |  14 ++++
 include/grub/efi/api.h         |  15 ++++
 5 files changed, 206 insertions(+), 3 deletions(-)
 create mode 100644 grub-core/disk/efi/efisecret.c
Signature · 7 lines
2.39.3


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel