xref: /netbsd-src/external/bsd/wpa/bin/wpa_passphrase/wpa_passphrase.8 (revision 6cb10275d08f045e872662c371fe2f2724f2f6e6)
1.\" $NetBSD: wpa_passphrase.8,v 1.4 2014/03/18 18:20:36 riastradh Exp $
2.\"
3.Dd September 10, 2008
4.Dt WPA_PASSPHRASE 8
5.Os
6.Sh NAME
7.Nm wpa_passphrase
8.Nd Set WPA passphrase for a SSID
9.Sh SYNOPSIS
10.Nm
11.Ar ssid
12.Ar passphrase
13.Sh DESCRIPTION
14The
15.Nm
16utility
17pre-computes PSK entries for network configuration blocks of a
18.Xr wpa_supplicant.conf 5
19file.
20It prints a single network configuration block to standard output.
21.Pp
22The following arguments must be specified on the command line:
23.Bl -tag -width passphrase
24.It Ar ssid
25The SSID whose passphrase should be derived.
26.It Ar passphrase
27The passphrase to use.
28If not included on the command line,
29passphrase will be read from standard input.
30The passphrase must be 8 to 63 characters in length.
31.El
32.Sh SEE ALSO
33.Xr wpa_supplicant.conf 5 ,
34.Xr ifconfig 8 ,
35.Xr wpa_cli 8 ,
36.Xr wpa_supplicant 8
37.Sh HISTORY
38The
39.Nm
40utility first appeared in
41.Nx 4.0 .
42.Sh AUTHORS
43The
44.Nm
45utility was written by
46.An Jouni Malinen Aq Mt jkmaline@cc.hut.fi .
47This manual page is derived from the
48.Pa wpa_passphrase.sgml
49file included in the
50.Xr wpa_supplicant 8
51distribution.
52