From 77060b00318e679b1d2bb80ee10ba99a21a935b5 Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Wed, 8 Mar 2023 17:18:11 -0500 Subject: [PATCH] tpmr: Delete outdated TODO in tpm2_seal The sealing password is now hashed, so there's no length limit. Signed-off-by: Jonathon Hall --- initrd/bin/tpmr | 2 -- 1 file changed, 2 deletions(-) diff --git a/initrd/bin/tpmr b/initrd/bin/tpmr index ce4c7e98..ea5c84ea 100755 --- a/initrd/bin/tpmr +++ b/initrd/bin/tpmr @@ -291,8 +291,6 @@ tpm2_seal() { # (The default is to allow either policy auth _or_ password auth. In # this case the policy includes the password, and we don't want to allow # the password on its own.) - # TODO: Providing the password directly limits it to the size of the - # largest hash supported by the TPM (at least 32 chars for sha256) tpm2 create -Q -C "/tmp/$PRIMARY_HANDLE_FILE" \ -i "$file" \ -u "$SECRET_DIR/$bname.priv" \