summaryrefslogtreecommitdiff
path: root/jotpass.1
blob: 2aa9bf6f056609f37d06de6f34fb9da29d30fabb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
.\" Copyright (c) 2021 Stefan Kreutz <mail@skreutz.com>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
.\" purpose with or without fee is hereby granted, provided that the above
.\" copyright notice and this permission notice appear in all copies.
.\"
.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.Dd $Mdocdate: October 12 2021 $
.Dt JOTPASS 1
.Os
.Sh NAME
.Nm jotpass
.Nd Print readable random passwords
.Sh SYNOPSIS
.Nm jotpass
.Op Fl v
.Op Fl a Ar alphabet
.Op Fl g Ar groups
.Op Fl w Ar width
.Op Fl s Ar separator
.Sh DESCRIPTION
The
.Nm
utility facilitates generating random passwords suitable for handwriting.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl v
Enable verbose mode.
Causes
.Nm
to print the entropy of the generated password to standard error.
.It Fl a Ar alphabet
Draw characters from the given
.Ar alphabet .
Defaults to alphanumeric ASCII characters, excluding 01klnuvIO
to improve legibility.
.It Fl g Ar groups
Set the number of
.Ar groups .
Defaults to 12.
.It Fl w Ar width
Set the
.Ar width
of the groups.
Defaults to 4 characters.
.It Fl s Ar separator
Set the group
.Ar separator
character.
Defaults to dash (-).
.El
.Sh EXIT STATUS
.Ex -std jotpass
.Sh EXAMPLES
Print a random password:
.Bd -literal -offset indent
$ jotpass
P6ji-4pRZ-Ze7m-q7Bp-Vpye-HCjr-hygF-6TwQ-oRJT-yx6p-SyMB-AwUm
.Ed
.Pp
Specify a custom format:
.Bd -literal -offset indent
$ jotpass -a 0123456789abcdef -g 8 -w 2 -s ' ' -v
49 1b 6e b0 e2 fc 16 b1
The generated password has an entropy of 64 bits.
.Ed
.Sh SEE ALSO
.Xr jot 1 ,
.Xr arc4random 3
.Sh AUTHORS
.An Stefan Kreutz Aq Mt mail@skreutz.com
Generated by cgit. See skreutz.com for my tech blog and contact information.