Blame


1 61b3aef3 2023-08-29 op .\" Copyright (c) 2021, 2022, 2023 Omar Polo <op@omarpolo.com>
2 ee89c9f1 2022-12-03 op .\"
3 ee89c9f1 2022-12-03 op .\" Permission to use, copy, modify, and distribute this software for any
4 ee89c9f1 2022-12-03 op .\" purpose with or without fee is hereby granted, provided that the above
5 ee89c9f1 2022-12-03 op .\" copyright notice and this permission notice appear in all copies.
6 ee89c9f1 2022-12-03 op .\"
7 ee89c9f1 2022-12-03 op .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 ee89c9f1 2022-12-03 op .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 ee89c9f1 2022-12-03 op .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 ee89c9f1 2022-12-03 op .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 ee89c9f1 2022-12-03 op .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 ee89c9f1 2022-12-03 op .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 ee89c9f1 2022-12-03 op .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
14 8ac57335 2023-08-29 op .Dd August 29, 2023
15 ee89c9f1 2022-12-03 op .Dt PWG 1
16 ee89c9f1 2022-12-03 op .Os
17 ee89c9f1 2022-12-03 op .Sh NAME
18 ee89c9f1 2022-12-03 op .Nm pwg
19 ee89c9f1 2022-12-03 op .Nd password generator
20 ee89c9f1 2022-12-03 op .Sh SYNOPSIS
21 ee89c9f1 2022-12-03 op .Nm
22 ee89c9f1 2022-12-03 op .Op Fl an
23 ee89c9f1 2022-12-03 op .Op Fl w Ar wordlist
24 ee89c9f1 2022-12-03 op .Op Ar length
25 ee89c9f1 2022-12-03 op .Sh DESCRIPTION
26 ee89c9f1 2022-12-03 op .Nm
27 3486f5fc 2023-01-21 op is a password and passphrase generator.
28 3486f5fc 2023-01-21 op It generates a random string of characters or a diceware-style pass
29 ee89c9f1 2022-12-03 op phrase.
30 ee89c9f1 2022-12-03 op The random properties are the ones provided by the operating system'
31 61b3aef3 2023-08-29 op .Pa /dev/urandom .
32 ee89c9f1 2022-12-03 op .Pp
33 ee89c9f1 2022-12-03 op The options are as follows:
34 ee89c9f1 2022-12-03 op .Bl -tag -width Ds
35 ee89c9f1 2022-12-03 op .It Fl a
36 8ac57335 2023-08-29 op Use only alphanumeric characters.
37 ee89c9f1 2022-12-03 op .It Fl n
38 8ac57335 2023-08-29 op Use only numbers.
39 ee89c9f1 2022-12-03 op .It Fl w Ar wordlist
40 8ac57335 2023-08-29 op Generate a passphrase from a the given
41 89e90ba9 2023-08-29 op .Ar wordlist ,
42 89e90ba9 2023-08-29 op a file with one word per line,
43 89e90ba9 2023-08-29 op instead of a random string of characters.
44 ee89c9f1 2022-12-03 op .El
45 ee89c9f1 2022-12-03 op .Pp
46 ee89c9f1 2022-12-03 op If no
47 ee89c9f1 2022-12-03 op .Ar length
48 3486f5fc 2023-01-21 op is given, an appropriate one is used.
49 ee89c9f1 2022-12-03 op .Sh EXIT STATUS
50 ee89c9f1 2022-12-03 op .Ex -std
51 ee89c9f1 2022-12-03 op .Sh EXAMPLES
52 ee89c9f1 2022-12-03 op Generate a passphrase using the EFF
53 ee89c9f1 2022-12-03 op .Dq large
54 ee89c9f1 2022-12-03 op wordlist:
55 ee89c9f1 2022-12-03 op .Bd -literal
56 ee89c9f1 2022-12-03 op $ ftp \-o\- https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt \e
57 ee89c9f1 2022-12-03 op | awk '{print $2}' >~/wordlist
58 ee89c9f1 2022-12-03 op $ pwg \-w ~/wordlist
59 ee89c9f1 2022-12-03 op elm retouch disclose snaking pregame bonfire
60 ee89c9f1 2022-12-03 op .Ed
61 ee89c9f1 2022-12-03 op .Sh AUTHORS
62 ee89c9f1 2022-12-03 op .An -nosplit
63 ee89c9f1 2022-12-03 op The
64 ee89c9f1 2022-12-03 op .Nm
65 ee89c9f1 2022-12-03 op utility was written by
66 ee89c9f1 2022-12-03 op .An Omar Polo Aq Mt op@omarpolo.com .