heads/initrd
Thierry Laurion 37bb4906ce
oem-factory-reset: fix bug where it was impossible to just change LUKS passphrase without reencrypting encrypted container.
Since /etc/luks-functions are currently exporting passphrases tested good per cryptsetup to be reused in the code,
the logic calling both luks_reencrypt and luks_change_passphrase testing for non-empty luks_current_Disk_Recovery_Key_passphrase
was bogus.

This commit includes a new variable luks_new_Disk_Recovery_Key_desired which is set when reencryption is desired.
The 3 use cases (reencrypt+passphrase change, reencrypt no passphrase change and passphrase change alone now only test
for luks_new_Disk_Recovery_Key_desired and luks_new_Disk_Recovery_Key_passphrase_desired, nothing else.
2022-05-03 16:41:07 -04:00
..
.gnupg instruct gpg to use gpg-agent. 2019-01-29 11:16:13 -05:00
bin oem-factory-reset: fix bug where it was impossible to just change LUKS passphrase without reencrypting encrypted container. 2022-05-03 16:41:07 -04:00
etc etc/functions: Add a function to generate random MAC address 2022-04-29 10:24:02 -04:00
run/cryptsetup [WIP] cross build json-c and cryptsetup 2020-10-28 15:28:05 +02:00
sbin "$@" does not expand correctly in test expressions, use "$*" instead (issue ) 2017-04-11 06:31:25 -04:00
.ash_history GPG2 required changes for key and trustdb generation and inclusion in rom 2019-01-29 11:18:11 -05:00
init Apply background colors when fbwhiptail binary is present. 2021-12-17 16:50:03 -05:00
mount-boot extract and verify gpg signature on the boot script 2016-08-06 17:13:22 -04:00