Re: wpa: use password command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Nov 26, 2022 at 11:18:40AM +0200, Jouni Malinen wrote:
> On Fri, Nov 25, 2022 at 10:31:59AM -0500, npiazza@xxxxxxxxxxx wrote:
> > Instead of having passwords stored plain text in /etc/wpa_supplicant.conf
> > would it be possible to use a password command there, along the lines of
> > 
> > password="/usr/bin/pass name@email"
> > psk="/usr/bin/pass other@email"
> 
> There are multiple different ways of storing passwords in external
> locations, e.g., by not using a configuration file at all and instead
> configuring the passwords over the control interface or by using an
> external password backend (see ext_password_backend and ext:<name>).
> That latter option could be used to implement something similar to what
> you seem to describe here.
> 

Thanks. Just to clarify: I store my passwords encrypted, and access them
via pass in the usual way. Are you saying that it's already possible
to use an external password backend to *retrieve* passwords (not to
store them)? What is the line that should go in the .conf file, assuming
that on the terminal the command '/usr/bin/pass name@email' prints the
relevant password to stdout?

(I understand that one can configure this over the control interface
or using other files, but I was specifically asking about
the .conf file. Also, the init part is irrelevant, please disregard.) 

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux