Re: Patch for connecting wpa_passphrase to the build

Henrik Brix Andersen <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hi Sam,

On Tue, Oct 17, 2006 at 09:04:07AM -0700, Sam Leffler wrote:
> > Yesterday I sent a small patch for connecting the wpa_passphrase
> > utility from src/contrib/wpa_supplicant to the build. The patch, along
> > with a minimalistic man page, can be found attached to bin/104457.
> > 
> > I would appreciate if somebody would test it and verify that it works.
> 
> Why do you need it?

I often use it when assigning new WPA keys to new users on my FreeBSD
(and hostapd) based access points.

Instead of having to generate all the 256-bit pre-shared WPA keys from
ASCII passphrases at runtime (cpu intensive operation when you have
many keys configured), I just call wpa_passphrase with the given SSID,
enter the ASCII passphrase and it gives me a static 256-bit key in
return.

This furthermore allows me to give both the ASCII passphrase and the
256-bit pre-shared WPA key to any given user along with proper
instructions.

The last part is especially helpful since quite a few vendor specific
WPA configuration utilities for that "other" operating system accepts
either an ASCII passphrase _or_ a WPA pre-shared key, meaning I would
have to guess which vendor specific piece of software a given user
has, and hand him/her either an ASCII passphrase or a WPA pre-shared
key based on my guess.

Cheers,
Brix
-- 
Henrik Brix Andersen <[email protected]>
signature.asc (application/pgp-signature, 209 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)
Comment: GnuPG signed

iD8DBQFFNUU7v+Q4flTiePgRAqdbAJ9bIST4oQ5FyRdhXdlL3QOf+w85ZQCaAsmi
fC0dpGCtOjGs0rsr/Vax40c=
=/bQg
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.