xref: /freebsd/contrib/wpa/hostapd/hostapd.wpa_psk (revision c1d255d3ffdbe447de3ab875bf4e7d7accc5bfc5)
139beb93cSSam Leffler# List of WPA PSKs. Each line, except for empty lines and lines starting
239beb93cSSam Leffler# with #, must contain a MAC address and PSK separated with a space.
339beb93cSSam Leffler# Special MAC address 00:00:00:00:00:00 can be used to configure PSKs that
439beb93cSSam Leffler# anyone can use. PSK can be configured as an ASCII passphrase of 8..63
539beb93cSSam Leffler# characters or as a 256-bit hex PSK (64 hex digits).
64bc52338SCy Schubert# An optional key identifier can be added by prefixing the line with
74bc52338SCy Schubert# keyid=<keyid_string>
84bc52338SCy Schubert# An optional VLAN ID can be specified by prefixing the line with
94bc52338SCy Schubert# vlanid=<VLAN ID>.
10*c1d255d3SCy Schubert# An optional WPS tag can be added by prefixing the line with
11*c1d255d3SCy Schubert# wps=<0/1> (default: 0). Any matching entry with that tag will be used when
12*c1d255d3SCy Schubert# generating a PSK for a WPS Enrollee instead of generating a new random
13*c1d255d3SCy Schubert# per-Enrollee PSK.
1439beb93cSSam Leffler00:00:00:00:00:00 secret passphrase
1539beb93cSSam Leffler00:11:22:33:44:55 another passphrase
1639beb93cSSam Leffler00:22:33:44:55:66 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
174bc52338SCy Schubertkeyid=example_id 00:11:22:33:44:77 passphrase with keyid
184bc52338SCy Schubertvlanid=3 00:00:00:00:00:00 passphrase with vlanid
19*c1d255d3SCy Schubertwps=1 00:00:00:00:00:00 passphrase for WPS
20*c1d255d3SCy Schubertwps=1 11:22:33:44:55:00 dev-specific passphrase for WPS
2139beb93cSSam Leffler00:00:00:00:00:00 another passphrase for all STAs
22