aboutsummaryrefslogtreecommitdiff
path: root/nitrocli-otp-qr.1
blob: 7e907d93dae834845bb8d58f5ce184408eebfc97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.TH NITROCLI-OTP-QR 1 2019-01-07
.SH NAME
nitrocli-otp-qr \- read OTP configuration from a QR code and store it on a
Nitrokey device
.SH SYNOPSIS
\fBnitrocli-otp-qr\fR \fIslot\fR [\fIfile\fR] \fB\-\-name \fIname\fR
.SH DESCRIPTION
\fBnitrocli-otp-qr\fR reads one-time password configuration from a QR code and
stores it in an OTP slot on a Nitrokey device using \fBnitrocli\fR(1).

\fIslot\fR is the number of the OTP slot to store the data in.
\fIfile\fR is the image file to read the QR code from.
If the argument is omitted, \fBimport\fR(1) is called and the user may select a
screen region to capture the QR code from.

The QR code must contain a otpauth URI as specified by Google Authenticator.

.SH OPTIONS
.TP
\fB\-\-name \fIname\fR
Set the name to store in the OTP slot.
If this option is not set, \fBzenity\fR(1) is used to query a name
interactively.