File: rotp.1

package info (click to toggle)
ruby-rotp 2.1.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 340 kB
  • ctags: 79
  • sloc: ruby: 726; makefile: 16
file content (48 lines) | stat: -rw-r--r-- 889 bytes parent folder | download | duplicates (3)
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
.TH rotp 1 "May 2015"
.SH NAME
.PP
rotp \- Ruby library for generating and verifying one time passwords
.SH SYNOPSIS
.B rotp
[options]
.PP
.SH DESCRIPTION
.PP
A Ruby library for generating and verifying one time passwords. It works for 
both HOTP and TOTP, and includes QR Code provisioning
.SH OPTIONS
.TP
.fi
.B
\-s, \-\-secret \fI[SECRET]\fP
The shared secret
.TP
.fi
.B
\-c, \-\-counter \fI[COUNTER]\fP
The counter for counter-based hmac OTP
.TP
.fi
.B
\-t, \-\-time
Use time-based OTP according to RFC 6238 (default)
.TP
.fi
.B
\-m, \-\-hmac
Use counter-based OTP according to RFC 4226
.TP
.fi
.B
\-h, \-\-help
Show help

.SH Examples
.PP
rotp \-\-secret p4ssword                       # Generates a time-based one-time password
.PP
rotp \-\-hmac \-\-secret p4ssword \-\-counter 42   # Generates a counter-based one-time password

.SH SEE ALSO
.PP
/usr/share/doc/ruby-rotp/index.html