Merge from vendor branch HEIMDAL:
[dragonfly.git] / crypto / heimdal-0.6.3 / appl / otp / otpprint.1
1 .\" Copyright (c) 1996, 2000 - 2001 Kungliga Tekniska Högskolan
2 .\" (Royal Institute of Technology, Stockholm, Sweden). 
3 .\" All rights reserved. 
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without 
6 .\" modification, are permitted provided that the following conditions 
7 .\" are met: 
8 .\"
9 .\" 1. Redistributions of source code must retain the above copyright 
10 .\"    notice, this list of conditions and the following disclaimer. 
11 .\"
12 .\" 2. Redistributions in binary form must reproduce the above copyright 
13 .\"    notice, this list of conditions and the following disclaimer in the 
14 .\"    documentation and/or other materials provided with the distribution. 
15 .\"
16 .\" 3. Neither the name of the Institute nor the names of its contributors 
17 .\"    may be used to endorse or promote products derived from this software 
18 .\"    without specific prior written permission. 
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE INSTITUTE AND CONTRIBUTORS ``AS IS'' AND 
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE INSTITUTE OR CONTRIBUTORS BE LIABLE 
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 
30 .\" SUCH DAMAGE. 
31 .\" 
32 .\" $Id: otpprint.1,v 1.5 2003/02/16 21:10:09 lha Exp $
33 .\"
34 .Dd November 17, 1996
35 .Dt OTP 1
36 .Os KTH-KRB
37 .Sh NAME
38 .Nm otpprint
39 .Nd
40 print lists of one-time passwords
41 .Sh SYNOPSIS
42 .Nm otp
43 .Op Fl n Ar count
44 .Op Fl e
45 .Op Fl h
46 .Op Fl f Ar algorithm
47 .Ar sequence-number
48 .Ar seed
49 .Sh DESCRIPTION
50 The
51 .Nm
52 program prints lists of OTPs.
53 .Pp
54 Use this to print out a series of one-time passwords.  You will have
55 to supply the
56 .Ar sequence number
57 and the
58 .Ar seed
59 as arguments and then the program will prompt you for your pass-phrase.
60 .Pp
61 There are several different print formats.  The default is to print
62 each password with six short english words.
63 .Pp
64 Options are:
65 .Bl -tag -width Ds
66 .It Fl e
67 Print the passwords in ``extended'' format.  In this format a prefix
68 that says ``hex:'' or ``word:'' is included.
69 .It Fl f
70 To choose a different
71 .Ar algorithm
72 from the default md5.  Pick any of: md4, md5, and sha.
73 .It Fl h
74 Print the passwords in hex.
75 .It Fl n
76 Print
77 .Ar count
78 one-time passwords, starting at
79 .Ar sequence-number
80 and going backwards. The default is 10.
81 .El
82 .Sh SEE ALSO
83 .Xr otp 1