On Fri Nov 27 05:34:24 EST 2009, [email protected] wrote:
> And another equally silly question, maybe there's someone else out
> there that can learn from my mistakes and/or ignorance: the factotum
> on the CPU server does not contain all the keys "eve" is entitled to,
> in fact, it only contained a key that could be constructed from the
> NVRAM contents (what does the !hex=? entry represent?).
this is documented in factotum(4) at the top of the section
"Key Tuples". the key relationshop is that
hex := f(password)
where f is passtokey (/sys/src/libauthsrv/passtokey.c). so
hex and password have equivalent functionality.
/sys/src/cmd/auth/factotum/p9sk1.c:/^p9skaddkey
shows how they're used.
- erik