shithub: riscv

Download patch

ref: 8d0e4cf37b25250c2cdb98afaab2b620f0934fac
parent: fc15a01d1de27cdd4ed8d8f863a0e46bafe9bd12
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Fri Apr 18 16:55:41 EDT 2014

wpa support for tcp boot, remove duplicate secstore code from factotum

to run aux/wpa at boot, we need factotum to be running. tho
factotum was started only after the network was configured.

what we do now is start factotum early, not fetching keys
from secstore. once network is available and the auth server
is known, we fetch keys from secstore using auth/secstore in
bootrc.

to pass the authserver for p9 authentication to factotum, we
write it in /net/ndb and the special _authdial() in factotum
will picks it up.

as we are using auth/secstore binary in any case, we remove
the duplicated secstore code from factotum and make it just
exec auth/secstore to fetch the keys on startup (unless -n
or -S is specified).