Yubico Forum

Basic Python library for decrypting and parsing
Page 1 of 1

Author:  Estrate [ Tue Aug 19, 2008 12:58 pm ]
Post subject:  Basic Python library for decrypting and parsing


I started a new project that implements decrypting and parsing of OTP values in Python: http://code.google.com/p/yubikey-python/. I had a good look at the PHP, Java and C libraries that already implement this. In the near future I will add a Django authentication backend to this project. The decrypting and parsing won't depend on it though, so you can use it in any Python project. I welcome others to add authentication for other Python projects. If you find any issues or have suggestions, please post it to the Google Code project.


Rudolph Froger

Author:  Simon [ Tue Aug 19, 2008 3:14 pm ]
Post subject:  Re: Basic Python library for decrypting and parsing

Thanks. We've linked to your library from:


Hopefully others with Python interest will work with you to improve your code instead of having to reinvent the wheel here.


Author:  Estrate [ Wed Sep 03, 2008 8:10 pm ]
Post subject:  Re: Basic Python library for decrypting and parsing

In addition to the decrypting and parsing code, I added Django 1.0 support. It stores the keys (AES key + ID's) and connects the keys to Django users and uses the nice admin interface for adding them. By using the provided Backend you can then authenticate with your key to log into your Django webapp. Please mind that the code is fresh and needs some time before I'd use it in production. It also needs documentation, an experienced Django developer should however have no trouble installing it.

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group