In order to thank you for all members' support of our website, we are holding new events - Getting Free Samples by Paying Freight only.
Want to get free samples? Please check this post for more details.

YkneoOath Instructions & Applet Source Code

This project implement the HOTP/TOTP card functionality.

Moderator: Ellisun

User avatar
JavaCardOS
Posts: 263
Joined: Thu Apr 30, 2015 12:00 pm
Points :2295
Contact:

YkneoOath Instructions & Applet Source Code

Post by JavaCardOS » Wed Jun 17, 2015 2:11 am

A YubiKey is a One-Time Passcode (OTP) generator device. It generates a unique sequence of characters as an OTP every time its button is pressed.
This project implement the HOTP/TOTP card functionality used on the YubiKey NEO device that is sold by Yubico. Its primary use is to use the YubiKey NEO to generate OATH HOTP/TOTP one-time-passwords.

Install CAP File
• Enable CCID mode on the NEO.First,make sure the YubiKey NEO is in the HID/CCID or CCID mode.
• Installing CAP file to NEO.After building on JCIDE,JCIDE will generate a CAP file automatically. Then,you can install it on a NEO.You may need pyApdutool to load it.

WARNING! When you load a new CAP file, everything on the device for that app is erased. Keep a backup of your credentials.

Resetting applet
This is a set of instructions that will allow you to reset your ykneo-oath applet.
• For this prodedure to work you must have the YubiKey Neo in a ccid mode where you can send APDUs to it.
• Here we will use the pyApdutool to first select the applet and then send a reset APDU. The reset is instruction 0x04, p1 0xde and p2 0xad.
1.s '00a4040008a000000527210101'
2.s '0004dead'

After this, close the connection, remove the card and reinsert it again. The applet should be reset.

For more information about this Applet, please see the following files.
Note:
The Applet has been successfully compiled in JCIDE, and can be directly used after downloading.
This Applet is from SourceForge and GitHub(GPL3)
You do not have the required permissions to view the files attached to this post. Please login first.
Last edited by JavaCardOS on Wed Jan 13, 2016 3:29 am, edited 5 times in total.

Benson
Posts: 5
Joined: Wed Jul 29, 2015 1:49 am
Points :0
Contact:

Re: YkneoOath

Post by Benson » Wed Dec 02, 2015 3:16 am

According to the description, this applet must be using in the YubiKey NEO device?

User avatar
Ellisun
Posts: 47
Joined: Wed May 20, 2015 3:47 am
Points :436
Contact:

Re: YkneoOath

Post by Ellisun » Fri Jan 08, 2016 1:40 am

This applet can be installed on other java card device. But you can also need the Yubico Authenticator application on Android or Desktop.

Post Reply Previous topicNext topic

Who is online

Users browsing this forum: No registered users and 1 guest

JavaCard OS : Disclaimer