Skip to content

Commit

Permalink
Fix for TPM memory error (osresearch#159)
Browse files Browse the repository at this point in the history
Fix for the TPM memory error "out of memory for object contexts" at luks-seal (osresearch#159 osresearch#159)
  • Loading branch information
sourceXORapprentice authored Nov 8, 2021
1 parent 7ecda6b commit bb3f652
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sbin/safeboot
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,8 @@ luks-seal() {
>> /tmp/tpm.log \
|| die "Unable to create TPM key context"

tpm2_flushall

tpm2 load \
--parent-context "$TMP/primary.ctx" \
--public "$TMP/sealed.pub" \
Expand Down

0 comments on commit bb3f652

Please sign in to comment.