]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/commit
cdn-patch: adjust geli boot-time unlock behaviour
authorCyberLeo <cyberleo@cyberleo.net>
Sun, 27 Apr 2014 10:16:12 +0000 (05:16 -0500)
committerCyberLeo <cyberleo@cyberleo.net>
Sun, 27 Apr 2014 10:16:28 +0000 (05:16 -0500)
commit88ec0728a501d2ee9112ed802e2e1f94aa2ca01b
tree02b5a4c586d7796acf37f5d201d8c63b56770236
parent8b42724b59279aad0544c6fbf4baaf4a597e55c7
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