The previous check only set the passphrase if the device was new, which doesn't cover the case of a newly encrypted preexisting device. --- pyanaconda/ui/gui/spokes/custom.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py index 55b341d..f2ab156 100644 --- a/pyanaconda/ui/gui/spokes/custom.py +++ b/pyanaconda/ui/gui/spokes/custom.py @@ -467,7 +467,7 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
# make sure any device/passphrase pairs we've obtained are remebered for device in self.storage.devices: - if device.format.type == "luks" and not device.exists: + if device.format.type == "luks" and not device.format.exists: if not device.format.hasKey: device.format.passphrase = self.passphrase