---
name: "opiegen"
section: "1"
platform: "linux"
package: "opie"
version: "2.31-3"
release: "Debian 2.0 (Hamm)"
platforms: ["linux"]
url: "https://new.carta.tech/opiegen"
---

# opiegen(1)

Example OPIE-based OTP generator

## NAME

opiegen - Example OPIE-based OTP generator

## SYNOPSIS

**opiegen**

\[ *challenge* \]

## DESCRIPTION

*opiegen* takes a properly formed OTP challenge either from the command line or from standard input, prompts the user for a secret pass phrase, and generates an OTP response to that challenge. It is intended as an example for programmers of how a simple OTP generator can be built. Users should probably use the *opiekey* program instead.

## EXAMPLE

wintermute$ opiegen otp-md5 495 wi01309

Secret Pass Phrase:

GILL HUED GOES CHUM LIEU VAIN

wintermute$

## BUGS

**[opiegen(1)](/opiegen/1.md)** can lull a user into revealing his/her password when remotely logged in, thus defeating the purpose of OPIE. This is especially a problem with xterm.  **[opiegen(1)](/opiegen/1.md)**implements**simple**checks**to**reduce**the**risk**of**a**user**making this mistake. Better checks are needed.

## SEE ALSO

[**opiekey**(1)](/opiekey/1.md), **opieserv**(1), [**opie**(4)](/opie/4.md), [**opiepasswd**(1)](/opiepasswd/1.md), [**opieinfo**(1)](/opieinfo/1.md), **opiesu**(1), **opielogin**(1), **opieftpd**(8), [**opiekeys**(5)](/opiekeys/5.md), **opieaccess**(5)

## AUTHOR

The [opiegen(1)](/opiegen/1.md) program was created by Craig Metz for OPIE 2.2.

Bellcore's S/Key was written by Phil Karn, Neil M. Haller, and John S. Walden of Bellcore. OPIE was created at NRL by Randall Atkinson, Dan McDonald, and Craig Metz.

S/Key is a trademark of Bell Communications Research (Bellcore).

## CONTACT

OPIE is discussed on the Bellcore "S/Key Users" mailing list. To join, send an email request to:

skey-users-request@thumper.bellcore.com
