for some reason, they wrkey/keyfs/secstored/secstore/factotum dance
was something I always struggled with. Some things never change ;-)

I also just realized: it seems there is no route to 127.0.0.1 -- is
this intentional?


On Tue, Dec 17, 2024 at 4:01 PM Ron Minnich <rminn...@p9f.org> wrote:
>
> Thanks, I had decided to go the lazy route as you mentioned and fill
> factotum directly.
>
>
> On Tue, Dec 17, 2024 at 2:43 PM sirjofri <sirjofri+ml-9f...@sirjofri.de> 
> wrote:
> > 
> > Hi,
> > 
> > In the original thread message, rminnich is asking for wpa2 passwords, so I 
> > assume you need ot for connecting your laptop to a network - which is an 
> > important point in this thread, if you need the wpa2 keys to be able to 
> > network in the first place.
> > 
> > Running auth/factotum is generally the official way to query secstore for 
> > secrets, but secstore is a server, for which you need an existing network 
> > connection.
> > 
> > It is however possible to run factotum without connecting to the secstore 
> > server, and fill it with your own secrets:
> > 
> > auth/factotum -n
> > cat mysecrets | read -m > /mnt/factotum/ctl
> > 
> > The read -m is needed so each secret gets its own write. Instead of catting 
> > the file directly it is possible to encrypt it. The encrypted file needs to 
> > be stored somewhere in physical reach (not via network), for example a 
> > thumb drive or a local disk file.
> > 
> > After running that and establishing your wifi connection, you can just fill 
> > the existing factotum with your secstore secrets, or just run a new 
> > auth/factotum (without -n) before starting rio, or whatever you like.
> > 
> > Note that (at least on 9front systems) it is possible to specify a single 
> > wpa2 key in the plan9.ini file, and it would be possible to put your wpa2 
> > keys in the boot paq file.
> > 
> > sirjofri

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/T2e892f330bc0513b-M940ef9cf8ae272b9b3631a21
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to