public
Description: The Java OTP Calculator for cell phones
Homepage: http://tanso.net/j2me-otp/
Clone URL: git://github.com/janfrode/j2me-otp.git
name age message
file .gitignore Sat Sep 13 07:59:00 -0700 2008 Ignore jotp.jad [janfrode]
file Makefile Sat Sep 13 05:11:20 -0700 2008 Fixed broken dependencies in the Makefile. [janfrode]
file Manifest Mon Sep 01 12:40:09 -0700 2008 Updated code to build on OpenJDK 1.6.0 and WTK2... [janfrode]
file README Sat Sep 13 05:20:39 -0700 2008 Set PATH to include the WTK/bin for building it. [janfrode]
file TODO Sat Sep 13 04:36:47 -0700 2008 Ignore generated files. [janfrode]
file jotp.jad.template Sat Sep 13 05:00:54 -0700 2008 Autogenerate jotp.jad. [janfrode]
file jotpMIDlet.java Sat Sep 13 08:01:22 -0700 2008 Fix mail address. [janfrode]
file md.java Sun Aug 31 05:27:53 -0700 2008 Initial import of old code. [janfrode]
file otp.java Sun Aug 31 05:27:53 -0700 2008 Initial import of old code. [janfrode]
README
Here's a port of http://www.cs.umd.edu/users/harry/jotp/ to 
Java 2 Platform Micro Edition (J2ME), so that it can be used on 
mobile phones that supports Java. I made this so that I can securely 
connect to our ssh-server from insecure internet cafees, where 
people might be trying to sniff my passsword. The midlet supports 
md5-hashing, since that's what I'm using. Adding md4 should be 
trivial, if anybody needs it.

I use this with an openssh server configured with '--with-skey',
to securely log into my servers from unsecure terminals.

Building and testing in emulator
--------------------------------

You will need the Sun Java Wireless Toolkit for CLDC, 
http://java.sun.com/products/sjwtoolkit/overview.html
to build it from source. I install this in /usr/local/bin/WTK2.5.2, 
and set my PATH to include it:

  export PATH=/usr/local/WTK2.5.2/bin:$PATH

The Sun Java Wireless Toolkit also includes an emulator, so that
it's easy to test the application without uploading it to the phone.
Very handy for development. To test it in the emulator, download the
.jad and .jar and execute: 'emulator -Xdescriptor:jotp.jad', or 
simply "make demo".

Emulator screenshot http://tanso.net/j2me-otp/emulator.png


Comments?
----------

Please email any comments to Jan-Frode Myklebust, janfrode@tanso.net.