function to create One Time Passwords (OTP)
Matthias Rebbe | M-R-D
matthias_livecode_150811 at m-r-d.de
Wed Jul 9 14:06:52 EDT 2014
Hi,
thanks for clarifying. I forgot to mention that my function creates a mobile-otp (mOTP).
So using only otp in the topic and in the text was misleading.
To create a mOTP i need to use the seconds and divide them by 10 in my function, otherwise login will not work on devices which support mOTP.
Okay i could use milliseconds and divide them by 10000, but that would be the same.
Please excuse the confusion.
Matthias
Am 09.07.2014 um 18:37 schrieb Dr. Hawkins <dochawk at gmail.com>:
> On Mon, Jul 7, 2014 at 11:21 PM, Matthias Rebbe | M-R-D <
> matthias_livecode_150811 at m-r-d.de> wrote:
>
>> i don´t understand the meaning of your last sentence and google translate
>> is also not helpful.
>> Does it make a difference if using milliseconds and divide them by 1000
>> and by 10?
>>
>
> Using the seconds narrows down the key to just a few if someone knows when
> the key is generated. Just try all in +/- 20 seconds, and they have the
> key.
>
> The milliseconds, though, changes a thousand times a second, at least
> making a larger search space (and the long seconds would be even better,
> but that's mac only)
>
> Mac, unix, and phones will generally have their time to within a second or
> two of one another; I don't know if time server sync finally works on
> windows yet or not.
>
> --
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list