Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@stevenrutherford
Copy link
Contributor

  • Adds new command and subcommands for read and read pcr.
  • Adds misc.go to store oddball wrappers for commands like tpm2.ReadPCRs.

@josephlr josephlr requested review from josephlr and removed request for josephlr September 19, 2019 02:34
@josephlr
Copy link
Member

Two quick things,

  • Rebase this onto master (to get rid of the conflict)
  • Can you make it so that if no --pcrs flag is provided, we just read them all?

@stevenrutherford
Copy link
Contributor Author

stevenrutherford commented Sep 19, 2019

  • Can you make it so that if no --pcrs flag is provided, we just read them all?

(In the future it's probably easier to have changes be threaded conversations or whatever github calls them, so we can make sure everything is resolved)

I've done this (and I think it improves usability), but I'm a little weary, since this leads to inconsistent defaults for flags.

* Adds new command and subcommands for read and read pcr.
* Adds misc.go to store oddball wrappers for commands like tpm2.ReadPCRs.
@@ -0,0 +1,46 @@
package tpm2tools
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just name this file pcr.go as it only does pcr shit.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack: will do this as a final step, but won't until we're done with the rest (to avoid marking the entire file as needing to be reviewed).

@stevenrutherford stevenrutherford force-pushed the readpcr branch 2 times, most recently from 9c31b7c to d0f8cfc Compare September 28, 2019 02:41
Copy link
Member

@josephlr josephlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the test and some formatting weirdness.

@stevenrutherford stevenrutherford merged commit ca937a1 into master Oct 2, 2019
josephlr pushed a commit to josephlr/go-tpm-tools that referenced this pull request Oct 2, 2019
* Adds new command and subcommands for read and read pcr.
* Adds pcr.go to store wrappers for commands like tpm2.ReadPCRs.
@josephlr josephlr deleted the readpcr branch October 2, 2019 03:35
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.

3 participants