-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Matthias Clausen
committed
Mar 18, 2024
1 parent
2db5d53
commit da0dec2
Showing
6 changed files
with
13 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,26 @@ | ||
![Icon](icon/icon.png) | ||
![Icon](icon/icon_small.png) | ||
|
||
# Hotpants | ||
## A HOTP/TOTP one time password generator for feature phones | ||
|
||
A J2ME Java application to manage your two-factor authentication with your dumbphone on the go. | ||
|
||
## Screenshots | ||
![Scan QR Code](screenshots/qr_scan_demo.gif) | ||
![Screenshot 1](screenshots/screenshot1.jpg) | ||
![Screenshot 2](screenshots/screenshot2.jpg) | ||
|
||
## Installation | ||
Head over to [releases](/releases) and download the .jad or .jar file. Copy it to your phone (Bluetooth, USB…) and you should be ready to go. | ||
[Download the .jar file of the latest release](/releases) and copy it to your phone (Bluetooth, USB…) and you should be ready to go. | ||
|
||
## Usage | ||
Just add HOTP and TOTP providers, either manually or **scan a QR code**. Then, you can simply read the temporary TOTP timepad password or the current HOTP password! | ||
When using HOTP, just select the entry an click "New Pin". | ||
You can import both TOTP (time-based one time passwords) and HOTP (counter based one time passwords). You can **scan the QR code** or enter the details manually. | ||
|
||
Because some phones only allow for manual time setting by the minute, and TOTPs require exact timing by the second, you can set an offset on the seconds of the phone's time in the menu item "Time Configuration". | ||
When using TOTP, make sure the date and time of your phone are exactly correct, otherwise the codes will not work. You can shift the time by a couple of seconds in the menu item "Time Configuration". | ||
|
||
## Todo | ||
When using HOTP, just select the entry an click "New Pin" to generate the next code. | ||
|
||
* Validate secret | ||
* Make hashing algorithm selectable (SHA1 at the moment) | ||
|
||
## Credit | ||
## Credits | ||
OTP PIN calculation from [Evsinev](https://github.com/evsinev/j2me-hotp). | ||
QR Code Scanner from [OnlineCity](https://github.com/onlinecity/oc-qrreader). | ||
Thank you @lionkmp for testing! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
MIDlet-1: Hotpants,/icon32.png,hotpants.Midlet | ||
MIDlet-Jar-Size: 78488 | ||
MIDlet-Jar-Size: 78363 | ||
MIDlet-Jar-URL: Hotpants.jar | ||
MIDlet-Name: Hotpants | ||
MIDlet-Permissions: javax.microedition.media.control.VideoControl.getSnapshot | ||
MIDlet-Vendor: Matthias Clausen | ||
MIDlet-Version: 1.4.2 | ||
MIDlet-Version: 2.0.0.0.58 | ||
MicroEdition-Configuration: CLDC-1.1 | ||
MicroEdition-Profile: MIDP-2.0 | ||
Nokia-MIDlet-On-Screen-Keypad: no |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.