[Bug 205691] After a period of inactivity at the boot loader prompt for a GELI passphrase, the computer should shut down
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jan 2 09:39:22 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205691
--- Comment #2 from Marie Helene Kvello-Aune <marieheleneka at gmail.com> ---
Making some notes:
sys/geom/eli.c:g_eli_taste(...):ln1147, calls cngets(...) to retrieve
passphrase.
sys/kern/kern_cons.c:cngets(...):ln423, implementation of cngets(...)
Will probably need an alternate implementation of cngets() which does
timekeeping to implement this feature request. Will do more research on this
soon.
I suggest the exact time to wait to be defined in a loader tunable, and that
the default setting should probably be around 10 minutes. Enough to grab a cup
of coffee/tea/other between powering on and entering passphrase, and little
enough to not drain battery too much.
I don't have an opinion whether the feature as a whole should be enabled by
default.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list