diGriz's Chunk of Web

bash$ :(){ :|:&};:


One-Time-Password (OTP) Authentication

pam_otp

Tweaks needed to compile package (what the patch does):

Debian packages needed:

To compile just do:

  $ tar -zxf otp-0.5.tar.gz
  $ cd otp/unix
  $ patch -p1 < ../../otp-linux.patch
  $ ./compile 

References

specs
A One-Time Password System (RFC2298)

The 'original' OTP, well as far as I am concerned.

HOTP: An HMAC-Based One-Time Password Algorithm (RFC4226)

An RFC standard for an event based OTP generator.

j2me otp calculators
HausKeys

A HOTP implementation, but is nasty to use and they seem to want to give the ghastly impression that the device is a physical fob by using pretty pictures. Eugh! Either way, it expects you to type in the raw 8bit secret straight into the keypad whilst libpam-otp, for example, prints the hexidecimal value.

VeJOTP

An RFC2289 calculator, rather nice, shame it only supports one host 'profile'

jfreesafe

Although old and primary geared towards storing passwords, it also stores seperate profiles for your OTP's. Only supports RFC2298 but thats fine enough to use with libpam-opie. The best option, although only supports one OTP method.

misc
Apache PAM Cookies