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

Use reproducible UUIDs for partition identification #17

Merged
merged 2 commits into from
May 4, 2023

Conversation

Itxaka
Copy link
Member

@Itxaka Itxaka commented May 3, 2023

This generates UUIDs of version 5 which allows us to generate reproducible UUIDs based on a namespace+name.

Sets the know UUID to the luks partition UUID so we can now during kcrypt unlock which partition is it based on the UUID alone.

This liberates us from using mappings and opens the possibility of encryption COS_OEM.

Signed-off-by: Itxaka itxaka.garcia@spectrocloud.com

@Itxaka Itxaka requested a review from a team May 3, 2023 19:42
Copy link
Member

@mauromorales mauromorales left a comment

Choose a reason for hiding this comment

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

lgtm

pkg/lib/unlock.go Outdated Show resolved Hide resolved
@Itxaka Itxaka force-pushed the uuid_partition_identify branch 3 times, most recently from e675c83 to 415840c Compare May 4, 2023 10:01
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants