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

[Service] Delegate TPM-based encryption to YaST #826

Merged
merged 2 commits into from
Nov 2, 2023
Merged

[Service] Delegate TPM-based encryption to YaST #826

merged 2 commits into from
Nov 2, 2023

Conversation

ancorgs
Copy link
Contributor

@ancorgs ancorgs commented Oct 27, 2023

Problem

Encryption with TPM-unlocking was implemented (in a pretty hacky way) directly at Agama.

Solution

This PR goes together with yast/yast-storage-ng#1363

Now Y2Storage takes care of most things.

As a bonus, the storage finisher is now called. We overlooked that in the past and it takes care of some relevant things like copying the multipath configuration to the target system.

@coveralls
Copy link

coveralls commented Oct 31, 2023

Coverage Status

coverage: 75.063% (+0.05%) from 75.015% when pulling 878f97f on tpm_yast into 72cbbbd on master.

#
# @todo Perform a real D-Bus call.
def AvailableAll(_package_names)
true
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we always assume true?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No. We can't. It's the same TODO we have for Available in the line above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

But not that you mention it, I will search for the corresponding Trello card/Github issue/Whatever and will reference it here.

Copy link
Contributor Author

@ancorgs ancorgs Nov 2, 2023

Choose a reason for hiding this comment

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

Everything originated here (it says "We need to add support for Package#Available and Package#Installed to D-Bus):

#202

But I don't see any follow-up card or issue to track it. So I will create one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@joseivanlopez joseivanlopez left a comment

Choose a reason for hiding this comment

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

Please, add a changelog entry. The rest LGTM.

@ancorgs ancorgs merged commit c875a36 into master Nov 2, 2023
11 checks passed
@ancorgs ancorgs deleted the tpm_yast branch November 2, 2023 14:39
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