canonical / canonical/secboot

SealedKeyObject.UnsealFromTPM should return a more useful error if the final TPM2_PolicyNV fails in some circumstances

Open
#32 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
23
Forks
29
Avg merge
2d 8h
Merged PRs (30d)
2

Description

If the final TPM2_PolicyNV command fails with an authorization failure, then UnsealFromTPM should return ErrTPMProvisioning rather than the error returned from go-tpm2.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.