Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-11-16 00:34:24 +1100
committerGitHub <noreply@github.com>2022-11-15 14:34:24 +0100
commit9718c64ca7b8002daaa20dc2cbdcffd760b17b0d (patch)
treeaaaad1d232daabd60d2d2b43604e9e6844a0441e
parente05df22986d2adbe9041be91884f8bb577a330a1 (diff)
Fix 1562 (#1564)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
-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,"