HomeFreeBSD

In initramfs, do not prompt if keylocation is "file://"

Description

In initramfs, do not prompt if keylocation is "file://"

If the encryption key is stored in a file, the initramfs should not
prompt for the password. For example, this could be the case if the boot
partition is stored on removable media that is only present at boot time

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Garrett Fields <ghfields@gmail.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Sam Lunt <samuel.j.lunt@gmail.com>
Closes #9764

Details

Provenance
sam-lunt <samuel.j.lunt@gmail.com>Authored on Dec 26 2019, 6:55 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Dec 26 2019, 6:55 PM
Parents
rG8cda5c5ce9df: libspl: declare aok extern in header
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGad353e214798: In initramfs, do not prompt if keylocation is "file://" (authored by sam-lunt <samuel.j.lunt@gmail.com>).Dec 26 2019, 6:55 PM