My favorites | Sign in
Project Logo
             
People details
Project owners:
  a...@offline.dk

With this PHP-class you can decode and authenticate an OTP (one time password) from the Yubikey. For more information about the yubikey please visit Yubico's website at http://www.yubico.com. If you look in the link section you will also find my yubikey simulator that you can use for testing this class if you don't own a real hardware yubikey

With this class you can do the following:

  1. Just decode an OTP if you know the secret AES key of your yubikey
  2. Authenticate an OTP using a MySQL server as a backend for keeping track of the internal yubikey counters
  3. Authenticate an OTP using an ini-file as a backend for keeping track of the internal yubikey counters
  4. Make your own backend for authentication

Please have a look at the provided examples to get a feeling of the possibilities. A big thank goes to John Woltman for his idea about the class abstraction. Using this abstraction you can develop your own backend for the keystore.

You will need the AES128 PHP-class by Jose Manuel Busto to use the yubiclass. You can find it in the links-section.

I Hope you enjoy the class - feel free to comment on it.

/ Alex Skov Jensen









Hosted by Google Code