News for hackers. Stuff that matters.
Re:Tiny Toy TOTP Generator in 18 Lines of Python by shakna on Sunday August 11, 2019 @06:32AM (#20667466)
Along with micropython-hmac (MicroPython doesn't include hmac), and the touch sensor on an ESP32 I threw together an authenticator with the same inspiration as this project. It seems to work quite well, overall.
Re:Tiny Toy TOTP Generator in 18 Lines of Python by saghul on Sunday August 11, 2019 @06:59AM (#20667548)
I haven't used MicroPython in a long time, but it seems to include hmac: https://github.com/micropython/micropython-lib/tree/master/h... right?
Re:Tiny Toy TOTP Generator in 18 Lines of Python by shakna on Sunday August 11, 2019 @08:08AM (#20667767)
micropython-lib packages aren't included in the base MicroPython (well, not the main one. The Pycopy fork does), and are published on PyPI under micropython-x. You've found the source for the package I named.
Re:Tiny Toy TOTP Generator in 18 Lines of Python by saghul on Sunday August 11, 2019 @03:48PM (#20670045)
Ah, didn't know that, TIL!