xref: /dflybsd-src/usr.sbin/802_11/wpa_passphrase/wpa_passphrase.8 (revision 3856b4349e5085541ea478c27f7a5568881d43b9)
1768af85bSRui Paulo.\" Copyright (c) 2006 Henrik Brix Andersen <henrik@brixandersen.dk>
2768af85bSRui Paulo.\" All rights reserved.
3768af85bSRui Paulo.\"
4768af85bSRui Paulo.\" Redistribution and use in source and binary forms, with or without
5768af85bSRui Paulo.\" modification, are permitted provided that the following conditions
6768af85bSRui Paulo.\" are met:
7768af85bSRui Paulo.\" 1. Redistributions of source code must retain the above copyright
8768af85bSRui Paulo.\"    notice, this list of conditions and the following disclaimer.
9768af85bSRui Paulo.\" 2. Redistributions in binary form must reproduce the above copyright
10768af85bSRui Paulo.\"    notice, this list of conditions and the following disclaimer in the
11768af85bSRui Paulo.\"    documentation and/or other materials provided with the distribution.
12768af85bSRui Paulo.\"
13768af85bSRui Paulo.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14768af85bSRui Paulo.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15768af85bSRui Paulo.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16768af85bSRui Paulo.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17768af85bSRui Paulo.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18768af85bSRui Paulo.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19768af85bSRui Paulo.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20768af85bSRui Paulo.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21768af85bSRui Paulo.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22768af85bSRui Paulo.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23768af85bSRui Paulo.\" SUCH DAMAGE.
24768af85bSRui Paulo.\"
25768af85bSRui Paulo.\" $FreeBSD: head/usr.sbin/wpa/wpa_passphrase/wpa_passphrase.8 195644 2009-07-12 19:58:52Z sam $
26768af85bSRui Paulo.\"
278716355dSDaniel Fojt.Dd May 21, 2020
28768af85bSRui Paulo.Dt WPA_PASSPHRASE 8
29768af85bSRui Paulo.Os
30768af85bSRui Paulo.Sh NAME
31768af85bSRui Paulo.Nm wpa_passphrase
328716355dSDaniel Fojt.Nd utility for generating a 256-bit pre-shared WPA key from
338716355dSDaniel Fojtan ASCII passphrase
34768af85bSRui Paulo.Sh SYNOPSIS
35768af85bSRui Paulo.Nm
36768af85bSRui Paulo.Aq Ar ssid
37768af85bSRui Paulo.Op Ar passphrase
38768af85bSRui Paulo.Sh DESCRIPTION
39768af85bSRui Paulo.Nm
408716355dSDaniel Fojtpre-computes PSK entries for network configuration blocks of a
418716355dSDaniel Fojt.Xr wpa_supplicant.conf 5
428716355dSDaniel Fojtfile. An ASCII passphrase and SSID are used to generate a 256-bit PSK.
438716355dSDaniel Fojt.Sh OPTIONS
448716355dSDaniel Fojt.Bl -tag -width indent
458716355dSDaniel Fojt.It Ic ssid
468716355dSDaniel FojtThe SSID whose passphrase should be derived.
478716355dSDaniel Fojt.It Ic passphrase
488716355dSDaniel FojtThe passphrase to use. If not included on the command line,
498716355dSDaniel Fojtpassphrase will be read from standard input.
50*3856b434SSascha Wildner.El
518716355dSDaniel Fojt.Sh "SEE ALSO"
52768af85bSRui Paulo.Xr wpa_supplicant.conf 5 ,
53768af85bSRui Paulo.Xr wpa_supplicant 8
54768af85bSRui Paulo.Sh AUTHORS
558716355dSDaniel Fojtwpa_supplicant is copyright (c) 2003-2019,
568716355dSDaniel FojtJouni Malinen <j@w1.fi> and
578716355dSDaniel Fojtcontributors.
588716355dSDaniel FojtAll Rights Reserved.
598716355dSDaniel Fojt.Pp
608716355dSDaniel FojtThis program is licensed under the BSD license (the one with
618716355dSDaniel Fojtadvertisement clause removed).
62