-
Notifications
You must be signed in to change notification settings - Fork 43
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
Conversation
# | ||
# @todo Perform a real D-Bus call. | ||
def AvailableAll(_package_names) | ||
true |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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):
But I don't see any follow-up card or issue to track it. So I will create one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Now we have https://trello.com/c/oRcZ5P5k/251-implement-missing-software-methods
There was a problem hiding this 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.
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.