]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cdn-patch: adjust geli boot-time unlock behaviour
authorCyberLeo <cyberleo@cyberleo.net>
Sun, 23 Jul 2017 08:47:43 +0000 (03:47 -0500)
committerCyberLeo <cyberleo@cyberleo.net>
Sun, 23 Jul 2017 08:47:43 +0000 (03:47 -0500)
commit2c153ce62577b105165d7af91789599cb8937691
tree63ba933ddbb5257284c0ae1b4d4014277ee7072c
parent591d4e8269e17266edf89e887feec1b860e1c7fa
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