google / google/go-tpm

Consider an update to PolicyCommand or a new interface for working with policy sessions

Open
#401 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
673
Forks
188
PR merge metrics
No merged PRs in 30d

Description

The PolicyCommand interface is really useful for calculating the correct policy digest to attach to an object but it's a bit harder to use for creating actual policy sessions and writing generic code to work with policies.

Would it be possible to add a method like SetPolicySession(Session) so it would be easier to write more generic code for extending policy sessions?

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.