Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Jan 2016 09:39:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 205691] After a period of inactivity at the boot loader prompt for a GELI passphrase, the computer should shut down
Message-ID:  <bug-205691-8-6CHAKD1RLP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205691-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205691-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205691

--- Comment #2 from Marie Helene Kvello-Aune <marieheleneka@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.=20

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205691-8-6CHAKD1RLP>