1 .\" opiekey.1: Manual page for the opiekey(1) program.
3 .\" %%% portions-copyright-cmetz-96
4 .\" Portions of this software are Copyright 1996-1999 by Craig Metz, All Rights
5 .\" Reserved. The Inner Net License Version 2 applies to these portions of
7 .\" You should have received a copy of the license with this software. If
8 .\" you didn't get a copy, you may request one from <license@inner.net>.
10 .\" Portions of this software are Copyright 1995 by Randall Atkinson and Dan
11 .\" McDonald, All Rights Reserved. All Rights under this copyright are assigned
12 .\" to the U.S. Naval Research Laboratory (NRL). The NRL Copyright Notice and
13 .\" License Agreement applies to this software.
17 .\" Modified by cmetz for OPIE 2.3. Added -t documentation. Removed
18 .\" opie-bugs pointer. Removed opie-md5 and opie-md4 names. Fixed
19 .\" a bolding bug. Added -f flag. Added escapes on flags. Minor
20 .\" editorial changes. Updated example.
21 .\" Modified by cmetz for OPIE 2.2. Removed MJR DES documentation.
22 .\" Re-worded retype documentation. Added opiegen reference.
23 .\" Added -x documentation.
24 .\" Modified at NRL for OPIE 2.0.
25 .\" Written at Bellcore for the S/Key Version 1 software distribution
28 .\" $FreeBSD: head/contrib/opie/opiekey.1 187920 2009-01-30 15:43:55Z gabor $
32 .TH OPIEKEY 1 "February 20, 1996"
35 opiekey, otp-md4, otp-md5 \- Programs for computing responses to OTP challenges.
43 [\-v] [\-h] [\-f] [\-x]
52 .I sequence_number seed
57 takes the optional count of the number of responses to
58 print along with a (maximum) sequence number and seed as command line
59 args. It prompts for the user's secret pass phrase and produces an OPIE
60 response as six words. If compiled to do so, it can prompt for the user's
61 secret pass phrase twice to help reduce errors due to mistypes. The second
62 password entry can be circumvented by entering only an end of line.
64 is downward compatible with the
66 program from the Bellcore S/Key Version 1 distribution and several of its
72 Display the version number and compile-time options, then exit.
75 Display a brief help message and exit.
78 Selects MD4 or MD5, respectively, as the response generation algorithm. The
79 default for otp-md4 is MD4 and the default for opie-md5 is MD5. The default
80 for opiekey depends on compile-time configuration, but should be MD5. MD4 is
81 compatible with the Bellcore S/Key Version 1 distribution.
86 to continue, even where it normally shouldn't. This is currently used to
87 force opiekey to operate in even from terminals it believes to be insecure.
88 It can also allow users to disclose their secret pass phrases to attackers.
89 Use of the -f flag may be disabled by compile-time option in your particular
93 Allows you to input an arbitrary secret pass phrase, instead of running checks
94 against it. Arbitrary currently does not include '\\0' or '\\n' characters. This
95 can be used for backwards compatibility with key generators that do not check
99 the number of one time access passwords to print.
103 Output the OTPs as hexadecimal numbers instead of six words.
106 Generate an extended response of the specified type. Supported types are:
112 init hexadecimal re-initialization
114 init-word six-word re-initialization
116 The re-initialization responses
118 generate the simple active attack protection.
122 wintermute$ opiekey \-5 \-n 5 495 wi01309
124 Using MD5 algorithm to compute response.
126 Reminder: Don't use opiekey from telnet or dial-in sessions.
128 Enter secret pass phrase:
130 491: HOST VET FOWL SEEK IOWA YAP
132 492: JOB ARTS WERE FEAT TILE IBIS
134 493: TRUE BRED JOEL USER HALT EBEN
136 494: HOOD WED MOLT PAN FED RUBY
138 495: SUB YAW BILE GLEE OWE NOR
145 can lull a user into revealing his/her password when remotely logged in, thus
146 defeating the purpose of OPIE. This is especially a problem with xterm.
148 implements simple checks to reduce the risk of a user making
149 this mistake. Better checks are needed.
163 Bellcore's S/Key was written by Phil Karn, Neil M. Haller, and John S. Walden
164 of Bellcore. OPIE was created at NRL by Randall Atkinson, Dan McDonald, and
167 S/Key is a trademark of Bell Communications Research (Bellcore).
170 OPIE is discussed on the Bellcore "S/Key Users" mailing list. To join,
171 send an email request to:
173 skey-users-request@thumper.bellcore.com