Hacker News new | past | comments | ask | show | jobs | submit login

Plugging my hotp/totp python library hotpie[0]. Written originally in 2010. Around 100 lines including comments and tests against the RFC. Available on Pypi for python 2.x and 3.x.

The beauty of HOTP/TOTP for me is its simplicity. And being able to write a simple implementation makes it easy to test, debug and be sure that there are little or no holes.

[0] https://github.com/gingerlime/hotpie




I remember having fun implementing that rfc and having a sort of Google authenticator on my Linux box besides Android.

https://github.com/bjornua/totp.py/blob/master/totp.py




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: