]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/commit
cdn-patch: adjust geli boot-time unlock behaviour
authorCyberLeo <cyberleo@cyberleo.net>
Sun, 27 Apr 2014 15:16:12 +0000 (10:16 -0500)
committerCyberLeo <cyberleo@cyberleo.net>
Fri, 13 Nov 2015 01:44:10 +0000 (19:44 -0600)
commit245893bf0aded272cbb8c54129a1a912f51d612e
tree2b5af35393129a077e592b4b6e4c9a12e4f1fe78
parent752f093697708b73d66fbe1853beee2c01f87837
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