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

quote: Remove internal usage of ownerPassword with Quote #250

Merged
merged 3 commits into from
Jun 11, 2021

Conversation

josephlr
Copy link
Member

Quote only takes one authorization area, so our functions shouldn't take
two passwords. To avoid a breaking change, the function signature of
Quote and QuoteRaw are note changed, but encodeQuote drops the
parameter.

We should remove the superflous param from the public functions when we
next make a breaking change.

Signed-off-by: Joe Richey joerichey@google.com

@josephlr josephlr requested a review from a team as a code owner June 10, 2021 08:04
tpm2/tpm2.go Outdated Show resolved Hide resolved
tpm2/tpm2.go Outdated Show resolved Hide resolved
Quote only takes one authorization area, so our functions shouldn't take
two passwords. To avoid a breaking change, the function signature of
`Quote` and `QuoteRaw` are note changed, but `encodeQuote` drops the
parameter.

We should remove the superflous param from the public functions when we
next make a breaking change.

Signed-off-by: Joe Richey <joerichey@google.com>
Signed-off-by: Joe Richey <joerichey@google.com>
"signerAuth" is more consistent with Certify(). Also add TODO to Quote
(as well as QuoteRaw).

Signed-off-by: Joe Richey <joerichey@google.com>
@josephlr josephlr requested a review from jkl73 as a code owner June 11, 2021 18:04
@josephlr josephlr merged commit 8449630 into google:master Jun 11, 2021
@josephlr josephlr deleted the quote branch June 11, 2021 18:07
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.

2 participants