]> CyberLeo.Net >> Repos - FreeBSD/releng/10.3.git/commit
[PATCH 2/3] 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>
Sun, 22 May 2016 05:25:34 +0000 (00:25 -0500)
commitfddbaf16d69ec2b2c96678141bf64a655ca12a16
tree972ac2ebc1fab979ba94277086419a4929d1eea1
parentc313b58264538e21171fc2c2e62dbb5a8fdea972
[PATCH 2/3] 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