Repository navigation
Add LUKS guide for FIPS linuxkm - #12082
Open
ColtonWilley wants to merge 1 commit into
Open
ColtonWilley wants to merge 1 commit into
ColtonWilley wants to merge 1 commit into
Conversation
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The guard remains active after its first run, so subsequent unlocks can skip provider revalidation and silently fall back to kernel AES if libwolfssl has been unloaded.
1 open issue
What changed in this PR
Adds a LUKS integration guide and boot guards for using the FIPS wolfSSL kernel module with encrypted data and root volumes on Debian 13 and RHEL/Rocky 9.
Changes:
- Documents module builds, Secure Boot signing, volume setup, recovery, and kernel updates.
- Adds provider checks and systemd/initramfs integration.
- Links the guide and includes the new files in source distributions.
| File | Description |
|---|---|
linuxkm/README.md |
Links to the LUKS integration guide. |
linuxkm/luks/wolfcrypt-luks-guard.service |
Runs the guard before cryptsetup startup. |
linuxkm/luks/wolfcrypt-luks-guard |
Checks configured algorithms for wolfCrypt driver priority. |
linuxkm/luks/systemd-cryptsetup.conf |
Makes cryptsetup units depend on the guard. |
linuxkm/luks/README.md |
Documents installation and operational procedures. |
linuxkm/luks/initramfs-premount |
Runs the guard during Debian early boot. |
linuxkm/luks/initramfs-hook |
Includes guard dependencies in Debian initramfs images. |
linuxkm/luks/dracut.conf |
Includes the module and guard files in dracut images. |
linuxkm/include.am |
Adds the guide and supporting files to EXTRA_DIST. |
Review effort: Balanced
Comment on lines
+2
to
+3
| Requires=wolfcrypt-luks-guard.service | ||
| After=wolfcrypt-luks-guard.service |
ColtonWilley
force-pushed
the
linuxkm-luks-guide
branch
from
November 10, 2026 20:26
cbec213 to
617a9de
Compare
ColtonWilley
force-pushed
the
linuxkm-luks-guide
branch
from
November 10, 2026 22:38
617a9de to
0321647
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Per-distro guides (Debian 13, RHEL 9) and boot-guard files for using FIPS libwolfssl.ko as the LUKS/dm-crypt cipher provider. Tested on Debian 13 and Rocky 9.8 with Secure Boot.