-
Notifications
You must be signed in to change notification settings - Fork 116
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
Store LUKS passphrase in TPM NVRAM #3498
Draft
jakogut
wants to merge
11
commits into
master
Choose a base branch
from
jakogut/luks-passphrase-nvram
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains 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
Website deployed to CF Pages, 👀 preview link https://90ae82ad.balena-os.pages.dev |
jakogut
force-pushed
the
jakogut/luks-passphrase-nvram
branch
from
September 30, 2024 16:21
5b17e35
to
19336fa
Compare
jakogut
had a problem deploying
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Failure
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
had a problem deploying
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Failure
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
had a problem deploying
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Failure
jakogut
had a problem deploying
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Failure
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
had a problem deploying
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Failure
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
had a problem deploying
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Failure
jakogut
had a problem deploying
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Failure
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
September 30, 2024 16:22
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-staging.com
November 19, 2024 22:52
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:27
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:27
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:27
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:35
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:35
— with
GitHub Actions
Inactive
jakogut
had a problem deploying
to
balena-cloud.com
November 19, 2024 23:35
— with
GitHub Actions
Failure
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:51
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:51
— with
GitHub Actions
Inactive
jakogut
temporarily deployed
to
balena-cloud.com
November 19, 2024 23:51
— with
GitHub Actions
Inactive
Add function to tpm2 helpers to retrieve a passphrase stored in the TPM's nvram. Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
Attempt to retrieve the LUKS passphrase from TPM nvram during boot. Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
Add function to tpm2 helpers to store a LUKS passphrase in the TPM's NVRAM, protected by a policy. Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
In several places currently, a PCR digest value binary is generated to create a PCR policy from, either to secure a secret using the TPM, or update an existing policy. Add a function to os-helpers-tpm2 to unify this. Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: minor Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
Rename vars in print_pcr_val_bin to prevent conflicts and accidental changes to globals. Change-type: patch Signed-off-by: Joseph Kogut <joseph@balena.io>
jakogut
force-pushed
the
jakogut/luks-passphrase-nvram
branch
from
November 28, 2024 01:25
9b5e487
to
e96f042
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Contributor checklist
Change-type
present on at least one commitSigned-off-by
is presentReviewer Guidelines