Skip to content

Commit

Permalink
No harm in trying to continue if tpm_resetdalock fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Rusty Bird committed Aug 26, 2015
1 parent 2747235 commit 86ac69c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion anti-evil-maid/90anti-evil-maid/anti-evil-maid-unseal
Expand Up @@ -110,7 +110,7 @@ else
fi

log "Wrong SRK password, resetting dictionary attack lock..."
tpm_resetdalock -z # here, -z is an empty owner (not SRK) password
tpm_resetdalock -z || true # -z is an empty owner (not SRK) password
done
fi

Expand Down
2 changes: 1 addition & 1 deletion tpm-extra/sbin/tpm_z_srk
Expand Up @@ -12,5 +12,5 @@ if tpm_sealdata -z </dev/null >/dev/null; then
echo -z
else
log "yes, SRK is password protected; resetting dictionary attack lock..."
tpm_resetdalock -z # here, -z is an empty owner (not SRK) password
tpm_resetdalock -z || true # -z is an empty owner (not SRK) password
fi

0 comments on commit 86ac69c

Please sign in to comment.