Skip to content

Refuse to unlock LUKS devices with the NULL cipher #13

@travier

Description

@travier

Users of this pin will always want the data to be properly encrypted on the disk. Thus we should refuse to unlock a LUKS device if the NULL cipher is set for the content.

See: https://blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/

We can always add an option later if we want to allow that use case but I doubt this will come up.

This logic might be useful for other Clevis PINs too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions