]> CyberLeo.Net >> Repos - FreeBSD/releng/10.1.git/commit
cdn-patch: adjust geli boot-time unlock behaviour cdn-patches
authorCyberLeo <cyberleo@cyberleo.net>
Sun, 27 Apr 2014 10:16:12 +0000 (05:16 -0500)
committerCyberLeo <cyberleo@cyberleo.net>
Sat, 15 Nov 2014 08:50:38 +0000 (02:50 -0600)
commit99a94cc558f9b83147509386fc87b73d250f74b8
treec6b0af87fcba6d5ef5e2f3f780f62434f050207b
parent28ecb6650b141bdef83b432e2e9cc8168657d94a
cdn-patch: adjust geli boot-time unlock behaviour

This patch will cause geli's boot-time unlock code to attempt unlocking
the container using only the preloaded keyfile(s); and only when that
fails will it prompt for a passphrase.

If a container has a keyfile in one slot and a passphrase in the other,
the boot-time unlock code will get confused and assume they are to be
combined, resulting in a container that cannot be unlocked during boot
when its keyfile is preloaded.
sys/geom/eli/g_eli.c