> > reseiving it it will also trigger an attempt to access
> > secstore if it wanted to do that on startup but couldn't
> > (like because there was no network configured yet.)
> 
> That is also a useful function in itself and I see no risks in it.
> If you add it in as a separate function, make sure we can add the
> location of the secstore.

I'm a bit unsure what is best regarding secstore;
I hesitate to replicate functionality we alread have,
and we already have the possibility of doing:

  auth/secstore -G factotum | read -m >/mnt/factotum/ctl


what you say seems to imply 'copying' (functionality of)
secstore(1) flags, like '-s server'.
but then, where to stop?
do we also need something like -g/-G for the filename?
that would allow e.g.

   echo secstore -s server -G filename >/mnt/factotum/ctl

but then, what about e.g. -n?
the more I think about it, the less certain I become.


It was suggested to me off-list to use a shell script
as boot program for more flexibility. in that case
doing the auth/secstore + read  to deal with secstore
would be trivial.

> Mind you, that might be necessary in the
> "authaddr" command, too, possibly as an option.


Axel.

Reply via email to