1 61b3aef3 2023-08-29 op .\" Copyright (c) 2021, 2022, 2023 Omar Polo <op@omarpolo.com>
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.
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 12f06a86 2023-11-23 op .Dd November 23, 2023
19 ee89c9f1 2022-12-03 op .Nd password generator
23 ee89c9f1 2022-12-03 op .Op Fl w Ar wordlist
25 ee89c9f1 2022-12-03 op .Sh DESCRIPTION
27 12f06a86 2023-11-23 op generates a random string of characters or a diceware-style passphrase
28 12f06a86 2023-11-23 op using a word list, a file with one word per line.
29 ee89c9f1 2022-12-03 op The random properties are the ones provided by the operating system'
30 46167c76 2023-08-30 op .Pa /dev/urandom
33 ee89c9f1 2022-12-03 op The options are as follows:
34 ee89c9f1 2022-12-03 op .Bl -tag -width Ds
36 8ac57335 2023-08-29 op Use only alphanumeric characters.
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
42 89e90ba9 2023-08-29 op instead of a random string of characters.
47 3486f5fc 2023-01-21 op is given, an appropriate one is used.
48 ee89c9f1 2022-12-03 op .Sh EXIT STATUS
51 ee89c9f1 2022-12-03 op Generate a passphrase using the EFF
55 ee89c9f1 2022-12-03 op $ ftp \-o\- https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt \e
56 ee89c9f1 2022-12-03 op | awk '{print $2}' >~/wordlist
57 ee89c9f1 2022-12-03 op $ pwg \-w ~/wordlist
58 ee89c9f1 2022-12-03 op elm retouch disclose snaking pregame bonfire
64 ee89c9f1 2022-12-03 op utility was written by
65 ee89c9f1 2022-12-03 op .An Omar Polo Aq Mt op@omarpolo.com .