1 98f5c0f5 2024-11-19 aa .\" Copyright (c) 2022 Alex Arx <aa@manpager.org>
3 98f5c0f5 2024-11-19 aa .\" Permission to use, copy, modify, and distribute this software for any
4 98f5c0f5 2024-11-19 aa .\" purpose with or without fee is hereby granted, provided that the above
5 98f5c0f5 2024-11-19 aa .\" copyright notice and this permission notice appear in all copies.
7 98f5c0f5 2024-11-19 aa .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
8 98f5c0f5 2024-11-19 aa .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
9 98f5c0f5 2024-11-19 aa .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
10 98f5c0f5 2024-11-19 aa .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
11 98f5c0f5 2024-11-19 aa .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
12 98f5c0f5 2024-11-19 aa .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
13 98f5c0f5 2024-11-19 aa .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 0b56d86c 2024-11-19 aa .Dd November 17, 2024
20 0b56d86c 2024-11-19 aa .Nd generate passphrases
24 0b56d86c 2024-11-19 aa .Op Fl d Ar dict
25 0b56d86c 2024-11-19 aa .Op Fl e Ar bits
26 0b56d86c 2024-11-19 aa .Op Fl n Ar num
27 0b56d86c 2024-11-19 aa .Sh DESCRIPTION
30 0b56d86c 2024-11-19 aa outputs a secure passphrase by randomly choosing an appropriate number of lines
31 0b56d86c 2024-11-19 aa from a dictionary file, containing whitespace-separated words.
32 0b56d86c 2024-11-19 aa The options are as follows:
33 0b56d86c 2024-11-19 aa .Bl -tag -width Ds
35 0b56d86c 2024-11-19 aa Instead of generating a passphrases from the wordlist, generate strings of
36 0b56d86c 2024-11-19 aa random alphanumeric characters.
37 0b56d86c 2024-11-19 aa .It Fl d Ar dict
38 0b56d86c 2024-11-19 aa Use the dictionary
40 0b56d86c 2024-11-19 aa .It Fl e Ar bits
41 0b56d86c 2024-11-19 aa Generate a passphrase with at least the specified number of
44 0b56d86c 2024-11-19 aa Default is 70.
45 0b56d86c 2024-11-19 aa .It Fl l Ar length
46 0b56d86c 2024-11-19 aa Generate a passphrase of
48 0b56d86c 2024-11-19 aa words, or characters if
53 0b56d86c 2024-11-19 aa .It Fl n Ar num
56 0b56d86c 2024-11-19 aa passphrases instead of just one.
58 0b56d86c 2024-11-19 aa .Sh ENVIRONMENT
59 0b56d86c 2024-11-19 aa .Bl -tag -width GPASS_DIC
60 0b56d86c 2024-11-19 aa .It Ev GPASS_DIC
61 0b56d86c 2024-11-19 aa Path to the dictionary file to use unless the option
66 0b56d86c 2024-11-19 aa .Bl -tag -width Ds -compact
67 0b56d86c 2024-11-19 aa .It Pa $XDG_DATA_HOME/gpass.dic
68 0b56d86c 2024-11-19 aa .It Pa $HOME/.gpass.dic
69 0b56d86c 2024-11-19 aa .It Pa /usr/share/gpass.dic
70 0b56d86c 2024-11-19 aa .It Pa /usr/local/share/gpass.dic
71 0b56d86c 2024-11-19 aa Paths searched for the default dictionary file.
72 0b56d86c 2024-11-19 aa Only searched if
74 0b56d86c 2024-11-19 aa is not set or empty, and
77 0b56d86c 2024-11-19 aa First to be found is used.
78 0b56d86c 2024-11-19 aa .Pa $HOME/.gpass.dic
79 0b56d86c 2024-11-19 aa is only used when
80 0b56d86c 2024-11-19 aa .Ev XDG_DATA_HOME
83 0b56d86c 2024-11-19 aa .Sh EXIT STATUS
86 0b56d86c 2024-11-19 aa .An Alex Arx Aq Mt aa@manpager.net .