cryptutils

Cryptographic Software Utilities
git clone http://git.omkov.net/cryptutils
Log | Tree | Refs | README | LICENCE | Download

cryptutils/man/otp.1 (31 lines, 814 B) -rw-r--r-- file download

45f70e3 Jamozed 2022-03-06 17:15:30
0
.TH OTP 1 2022-03-06 "OMKOV cryptutils" "General Commands Manual"
f48cfac Jamozed 2021-01-23 21:55:42
1
.SH NAME
f48cfac Jamozed 2021-01-23 21:55:42
2
otp \(em compute hotp or totp tokens
f48cfac Jamozed 2021-01-23 21:55:42
3
.SH SYNOPSYS
f48cfac Jamozed 2021-01-23 21:55:42
4
\fBotp\fR \fIsecret\fR [\fIcounter\fR]
f48cfac Jamozed 2021-01-23 21:55:42
5
.SH DESCRIPTION
f48cfac Jamozed 2021-01-23 21:55:42
6
Compute and print an HOTP or TOTP token for a given secret.
f48cfac Jamozed 2021-01-23 21:55:42
7
.SH OPTIONS
f48cfac Jamozed 2021-01-23 21:55:42
8
The following options are supported:
f48cfac Jamozed 2021-01-23 21:55:42
9
.IP "\fB--help\fR" 8
f48cfac Jamozed 2021-01-23 21:55:42
10
Display help information.
f48cfac Jamozed 2021-01-23 21:55:42
11
.IP "\fB--version\fR" 8
f48cfac Jamozed 2021-01-23 21:55:42
12
Display version information.
f48cfac Jamozed 2021-01-23 21:55:42
13
.SH OPERANDS
f48cfac Jamozed 2021-01-23 21:55:42
14
The following operands are supported:
f48cfac Jamozed 2021-01-23 21:55:42
15
.IP "\fIsecret\fR" 8
f48cfac Jamozed 2021-01-23 21:55:42
16
A secret key in Base16.
f48cfac Jamozed 2021-01-23 21:55:42
17
.IP "\fIcounter\fR" 8
f48cfac Jamozed 2021-01-23 21:55:42
18
A counter for HOTP. If no counter is specified, TOTP will be used instead.
f48cfac Jamozed 2021-01-23 21:55:42
19
.SH EXIT STATUS
f48cfac Jamozed 2021-01-23 21:55:42
20
The following exit values will be returned:
f48cfac Jamozed 2021-01-23 21:55:42
21
.IP "\ 0" 8
f48cfac Jamozed 2021-01-23 21:55:42
22
Successful completion.
f48cfac Jamozed 2021-01-23 21:55:42
23
.IP ">0" 8
f48cfac Jamozed 2021-01-23 21:55:42
24
An error occurred.
f48cfac Jamozed 2021-01-23 21:55:42
25
.SH COPYRIGHT
f48cfac Jamozed 2021-01-23 21:55:42
26
.nf
f48cfac Jamozed 2021-01-23 21:55:42
27
Copyright (C) 2020, Jakob Wakeling
45f70e3 Jamozed 2022-03-06 17:15:30
28
MIT Licence (https://opensource.org/licenses/MIT)
f48cfac Jamozed 2021-01-23 21:55:42
29
.fi
30