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

Skip to content

Conversation

@BenDHillier
Copy link
Contributor

Add server.CreateImportRequest for a server side Import workflow.
Add tpm2tools.Import for a client side Import workflow.
Add import testing in server/import_test.go. Only add the one test as there's no way to test the server side and client side workflows separately (Need to run client side to verify server side worked correctly, and vice versa).

Also add a function for creating tpm2.Public objects from crypto.PublicKey's and a corresponding test.

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.

Can you be sure to run go fmt on this PR, there's some formatting weirdness.

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.

Nice work, this is almost done! Again, always be sure to run go fmt ./... on the repo before pushing.

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.

Please rebase onto master

Also run:

goimports -w **/*.go

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.

Awesome job on this.

@josephlr josephlr merged commit 25f9451 into google:master Sep 19, 2019
BenDHillier added a commit to BenDHillier/go-tpm-tools that referenced this pull request Sep 19, 2019
Add server and client Import workflows (google#36)
@BenDHillier BenDHillier deleted the import-impl branch September 21, 2019 01:37
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