Yubico Forum https://forum.yubico.com/ |
|
New Python yubikey_auth project https://forum.yubico.com/viewtopic.php?f=8&t=364 |
Page 1 of 1 |
Author: | bmeredyk [ Sun Aug 02, 2009 6:27 am ] |
Post subject: | New Python yubikey_auth project |
I just got my first Yubikey and of course had to play with it. Since I've been experimenting with webapps in python I figured I might as well figure out how to verify a OTP in python. Sure there are a couple of other python libraries out there, but none of them supported validating against the HMAC signatures, so I wrote one of my own. The documentation on http://yubico.com/developers/api/ was a bit harder to understand than it needed to be so I'm sharing my implementation at http://code.google.com/p/python-yubikey-auth/ A couple of things about validating HMAC signatures that I learned in the process and that others trying to do their own implementations might find helpful:
|
Author: | bmeredyk [ Sat Aug 08, 2009 6:22 am ] |
Post subject: | Re: New Python yubikey_auth project |
Made a minor update today - you can use without providing your api key now if you really want to (not sure why you would, but hey). Still need to get yourself a client id though - that seems to be required by Yubico. Included BSD license in file now to make licensing clear for everyone. http://code.google.com/p/python-yubikey ... loads/list |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |