WiP -- govc: Cmd to enc data for VMs w TPM2 devs#3222
Closed
akutz wants to merge 1 commit intovmware:mainfrom
Closed
WiP -- govc: Cmd to enc data for VMs w TPM2 devs#3222akutz wants to merge 1 commit intovmware:mainfrom
akutz wants to merge 1 commit intovmware:mainfrom
Conversation
e6f7100 to
6ff7225
Compare
This patch introduces support for encrypting plain-text information for VMs with TPM2 devices without the system on which the command is run needing a TPM. Please refer to google/go-tpm#343 for more information.
6ff7225 to
494f95b
Compare
Contributor
|
This Pull Request is stale because it has been open for 90 days with |
Contributor
|
I'm going to lock this pull request because it has been closed for 30 days. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This patch introduces support for encrypting plain-text information for VMs with TPM2 devices without the system on which the command is run needing a TPM.
Please refer to google/go-tpm#343 for more information.
Closes:
NAType of change
Please mark options that are relevant:
How Has This Been Tested?
Ran the command locally and tested it in conjunction with google/go-tpm#343, ex.
From my local desktop, a macOS system with no TPM:
From within the VM (using the program
tpm2-ekunseal.sh):There are also commands for listing and getting a VM's endorsement key certificates:
List the VM's EK certs:
Or only list the certs of a particular type:
Once the fingerprint is known, it's also possible to get the certificate itself!
Which is handy when wanting to pipe the output to
openssl:Checklist:
CONTRIBUTIONguidelines of this project