archinstall/archinstall/lib
Anton Hvornum 493cccc18f
Added a HSM menu entry (#1196)
* Added a HSM menu entry, but also a safety check to make sure a FIDO device is connected

* flake8 complaints

* Adding FIDO lookup using cryptenroll listing

* Added systemd-cryptenroll --fido2-device=list

* Removed old _select_hsm call

* Fixed flake8 complaints

* Added support for locking and unlocking with a HSM

* Removed hardcoded paths in favor of PR merge

* Removed hardcoded paths in favor of PR merge

* Fixed mypy complaint

* Flake8 issue

* Added sd-encrypt for HSM and revert back to encrypt when HSM is not used (stability reason)

* Added /etc/vconsole.conf and tweaked fido2_enroll() to use the proper paths

* Spelling error

* Using UUID instead of PARTUUID when using HSM. I can't figure out how to get sd-encrypt to use PARTUUID instead. Added a Partition().part_uuid function. Actually renamed .uuid to .part_uuid and created a .uuid instead.

* Adding missing package libfido2 and removed tpm2-device=auto as it overrides everything and forces password prompt to be used over FIDO2, no matter the order of the options.

* Added some notes to clarify some choices.

* Had to move libfido2 package install to later in the chain, as there's not even a base during mounting :P
2022-05-18 11:28:59 +02:00
..
disk Added a HSM menu entry (#1196) 2022-05-18 11:28:59 +02:00
hsm Added a HSM menu entry (#1196) 2022-05-18 11:28:59 +02:00
menu Added a HSM menu entry (#1196) 2022-05-18 11:28:59 +02:00
models Add network-manager-applet to NetworkManager profile (#1120) 2022-05-16 10:23:15 +02:00
packages Fix #1018 (#1021) 2022-03-03 13:54:43 +01:00
udev Added a HSM menu entry (#1196) 2022-05-18 11:28:59 +02:00
user_interaction Reworking select_encrypted_partitions() to use the new Menu system, (#1201) 2022-05-17 10:06:37 +02:00
__init__.py Converted the lib to a pip supported structure to make packaging easier. Also tweaked some minor issues and added the AUR function 2020-07-06 18:44:42 +02:00
configuration.py Added a HSM menu entry (#1196) 2022-05-18 11:28:59 +02:00
exceptions.py Added better error output (based on #963) 2022-02-11 20:26:33 +01:00
general.py Added a HSM menu entry (#1196) 2022-05-18 11:28:59 +02:00
hardware.py Adds nvidia-open package as an option. (#1176) 2022-05-14 07:34:41 +02:00
installer.py Added a HSM menu entry (#1196) 2022-05-18 11:28:59 +02:00
locale_helpers.py Command locales (second batch) (#886) 2022-02-03 00:02:30 +01:00
luks.py unlocked luks2 partitions were missing a BlockDevice parameter. It's technically not the true block device, as the mapper dev belongs to a partition, but in this context blockdev means the harddrive/medium that the partition (unlocked or otherwise) lives on. (#1100) 2022-04-29 11:12:24 +02:00
mirrors.py Added error handling to fstab (#1045) 2022-03-28 14:43:33 +02:00
networking.py Check if pacman is available (#958) 2022-02-18 11:33:28 +01:00
output.py Improved color coding a bit. Added 5 more color options (not usable outside of 256-bit enabled terminals) 2022-03-16 21:21:26 +01:00
pacman.py Check if pacman is available (#958) 2022-02-18 11:33:28 +01:00
plugins.py Hotfix for plugins, forgot group= 2022-05-01 17:08:05 +02:00
profiles.py Add network-manager-applet to NetworkManager profile (#1120) 2022-05-16 10:23:15 +02:00
services.py Added type annotations to all functions (#845) 2022-01-06 22:01:15 +01:00
storage.py Fix (some) mypy things (#996) 2022-02-28 15:45:08 +01:00
systemd.py Command locales (second batch) (#886) 2022-02-03 00:02:30 +01:00
translation.py Remove print (#1172) 2022-05-16 09:45:48 +02:00