HNHacker News
TopNewBestAskShowJobs

zhuzhuor

980 karma · joined April 10, 2012

submissionscomments
zhuzhuor··on CloudFlare partners with Authy to implement two-factor authentication
Thanks
zhuzhuor··on CloudFlare partners with Authy to implement two-factor authentication
Please read my comment to @danielpal.

By self-verifiable I mean the half of the code is a random number, the other half is computed based on the secret seed and the random number.

I guess another way without frequent sync is to generate a new code every sec, and the server check if it's one of the 25 codes in the last 25 seconds. But this might be unnecessary and inefficient.

zhuzhuor··on CloudFlare partners with Authy to implement two-factor authentication
Thanks for your explanations. I didn't get your details but I did more experiments. You may tell me if I am wrong.

1. If my phone has Internet connections, whenever the screen is turn on, the code is refreshed.

If the code is solely based on time, the app may sync its time tick with the server every time when it's turn on.

If the app sends its time to the server, the synced time value should also be encrypted and authenticated. The only pre-shared credential is the 6-digit pin sent by sms, which might be a little short.

If the app gets the time from the server, it might have a slight time delay before the code is computed and shown due to the network latency.

2. If my phone doesn't have Internet connections, the code is only refreshed in ~5s.

So I guess every 5s the app will generate a new code for the next 0~25s.

When the server wants to verify the received code it will check whether it matches with the codes generated in 0s, 5s, 10s, 15s and 20s.

So at least 5 different codes should work in the same time. This may be a nice way.

zhuzhuor··on CloudFlare partners with Authy to implement two-factor authentication
I don't think it is solely based on time. Did you read my comment carefully?
zhuzhuor··on CloudFlare partners with Authy to implement two-factor authentication
I'm a little puzzled by the way authy works.

It seems to me the authy app refreshes a new code whenever I turn the screen off and on. I don't know how it syncs with the authentication server. The app must not only based on time ticks, like other 2-factor apps.

One way I thought is to notify the authentication server in background network requests. But I guess this isn't the case, because it won't work if you don't have network signal (you can try it in the airplane mode).

The other way I thought is the code must be self-verifiable. That means half of the code is a random number, and the other half is the real code computed based on the rand numb and some credentials. If it is really in this case the security strength is only half of the length of the code, i.e. 3.5 digits. That's not very safe to me, especially the website of authy itself only needs one code to log in (without any `first-factor` password).

Any thoughts?

zhuzhuor··on How TaxCloud Stole My Code and How I'm Doing Something About It
IMHO, the unnecessary require statement is a fairly solid evidence.

And programming is like English writing, no one will actually produce the same code. You can try by yourself

zhuzhuor··on How TaxCloud Stole My Code and How I'm Doing Something About It
If no license is specified, then the author(s) have all the rights.
zhuzhuor··on Keccak wins the SHA-3 competition
Just to add another fact here: Daemen is also one of the two co-authors of AES
zhuzhuor··on How Google takes feedback
does Google have customer service?
zhuzhuor··on Twitter Removes 'Via' Stamp From Web Client
one more step closer to monopoly
zhuzhuor··on Google Translate for Android Now Works With Photos
Youdao dictionary Android app has the similar function to translate the word in live camera long time ago.

You can check the last screenshot in the app page https://play.google.com/store/apps/details?id=com.youdao.dic...

zhuzhuor··on BufferBox: Amazon Lockers? We Had That Idea First
Good point.

I think at least they can first call you before they attempt to deliver the package. If you are not there, then just keep the package for the next day's delivery. This will avoid the delivery failure and save time of both sides.

zhuzhuor··on BufferBox: Amazon Lockers? We Had That Idea First
These lockers are good, but what I think we should really improve is the quality/performance of our mailing/delivery systems. The lockers are just a patch to the existing lame systems.

If a company can deliver all days in a week (including weekends) and all time in a day (including evenings and nights), and the delivery men really called before they left a note, that company would win the game.

zhuzhuor··on Chocolat 1.0 Released
cross-platform wins everything
zhuzhuor··on Bit.ly Redesign Upsets Users: What's Wrong With It?
I didn't find how to customize short links in either the new design website or the new chrome extension. Very frustrating
zhuzhuor··on Backdoor found in a China-made US military chip
an American military chip that is highly secure with sophisticated encryption standard, manufactured in China

How could the authors know the backdoor design is not the intent of American military?

zhuzhuor··on Mosh: SSH for 2012
ocb is patented... although the author claims it is "currently" free for gpl code. What are you guys thinking? At least only supporting one protocol is not that good.
← PreviousPage 2 of 2