lucadentella / TOTP-Arduino

155 stars 33 forks source link

Cant make it work #9

Closed arifainchtein closed 4 years ago

arifainchtein commented 6 years ago

Hello, I have tried reproducing your example but the code generated never matches other freeotp generators. I have tried FreeOTP on IOS and https://totp.danhersam.com/.
Using the secret as per your example, MyLegoDoor, those the totp generators produced the same code, but the one running in the arduino does not.

I am using DFRobot Gravity 2405 RTC to get the time, and verified that is producing the right value for seconds since 1970.

Any chance you could look at the example i included?

Thanks testtotp.zip

bert2002 commented 4 years ago

Any luck?

lucadentella commented 4 years ago

I've just uploaded a full working example, please check