Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preinstall: refinements to WithAutoPCRProfile #345

Conversation

chrisccoulson
Copy link
Collaborator

(Draft until #340 has landed"

This makes some changes to WithAutoPCRProfile:

  • It renames it to WithAutoTCGPCRProfile to make it clear that it only
    selects secure combinations of TCG defined PCRs.
  • It introduces a new option -
    PCRProfileOptionPermitNoSecureBootPolicyProfile, so that
    configurations that don't use PCR7 aren't automatically selected.
    If PCR7 can't be used, this flag must be supplied to unlock a secure
    configuration that doesn't include PCR7.
  • It introduces the RequiredUnsupportedPCRsError error type, returned
    from methods of PCRProfileAutoEnablePCRsOption to make error
    classification a bit easier later on.

We were already skipping the lockout hierarchy auth value test during
post-install because this doesn't make sense, but also skip similar
tests for other hierarchies and also skip the lockout checkout and the
test for sufficient number of NV counters.
This makes some changes to WithAutoPCRProfile:
- It renames it to WithAutoTCGPCRProfile to make it clear that it only
  selects secure combinations of TCG defined PCRs.
- It introduces a new option -
  PCRProfileOptionPermitNoSecureBootPolicyProfile, so that
  configurations that don't use PCR7 aren't automatically selected.
  If PCR7 can't be used, this flag must be supplied to unlock a secure
  configuration that doesn't include PCR7.
- It introduces the RequiredUnsupportedPCRsError error type, returned
  from methods of PCRProfileAutoEnablePCRsOption to make error
  classification a bit easier later on.
@chrisccoulson
Copy link
Collaborator Author

This is obsolete now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant