Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/configuration.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/configuration.py b/archinstall/lib/configuration.py
index ce782f6c..ad537b21 100644
--- a/archinstall/lib/configuration.py
+++ b/archinstall/lib/configuration.py
@@ -15,7 +15,7 @@ from .exceptions import RequirementError
def configuration_sanity_check():
disk_encryption: DiskEncryption = storage['arguments'].get('disk_encryption')
- if disk_encryption.hsm_device:
+ if disk_encryption is not None and disk_encryption.hsm_device:
if not Fido2.get_fido2_devices():
raise RequirementError(
f"In order to use HSM to pair with the disk encryption,"