mirror of
https://github.com/linuxboot/heads.git
synced 2025-01-18 02:39:59 +00:00
tpmr: Delete outdated TODO in tpm2_seal
The sealing password is now hashed, so there's no length limit. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
733fea8e2d
commit
77060b0031
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user