Skip to content

Commit 5aa3515

Browse files
authored
Merge pull request #129 from desultory/dev
interesting the 'aes' module is not what we want
2 parents 03feec0 + 4f28f87 commit 5aa3515

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ugrd/crypto/cryptsetup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "desultory"
2-
__version__ = "3.7.2"
2+
__version__ = "3.7.3"
33

44
from pathlib import Path
55

@@ -191,9 +191,6 @@ def _read_cryptsetup_header(self, mapped_name: str, slave_device: str = None) ->
191191

192192
def _detect_luks_aes_module(self, luks_cipher_name: str) -> None:
193193
"""Using the cipher name from the LUKS header, detects the corresponding kernel module."""
194-
if luks_cipher_name.startswith("aes"):
195-
self["_kmod_auto"] = "aes" # Try to enable the aesni module for any aes type
196-
197194
aes_type = luks_cipher_name.split("-")[1] # Get the cipher type from the name
198195
self["_kmod_auto"] = aes_type # Add the aes type to the kernel modules
199196

0 commit comments

Comments
 (0)