Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
This repository was archived by the owner on Jan 26, 2024. It is now read-only.

How does this demo transform a passphrase (for disk encryption) to a keyfile (for disk decryption)? #8

Open
@StanPlatinum

Description

@StanPlatinum

Great work!

I spend a week studying the code, especially the Guest Disk Encryption part.

I notice that the demo is using LUKS command (cryptosetup) to do the root partition encryption.
One thing I didn't understand is that I entered the password manually when encrypting (see https://github.com/AMDESE/sev-guest/blob/main/scripts/create-luks-qemu-img.sh#L233), but when decrypting, I had to find the key in the Attestation Report to decrypt it... How is this done?

Could anyone enlighten me? Thanks!

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions