News for hackers. Stuff that matters.
Re:Stripe adds two-factor auth by alanctgardner2 on Friday December 14, 2012 @11:13AM (#4921586)
This is interesting for a few reasons:

1) I'm surprised it didn't happen sooner. There are a few turn-key two-factor auth solutions, and I expect having this added security is a major benefit for their customers.

2) I'm surprised they chose to use Google Authenticator. The favourite in this space seems to be Authy; off the top of my head Cloudflare and DNSimple both use them. Any thoughts on the pros and cons?

Re:Stripe adds two-factor auth by apawloski on Friday December 14, 2012 @11:27AM (#4921684)
There were concerns raised yesterday [1] about the way Authy backs up tokens. The founder's comments initially raised some major flags about their crypto usage [2], but later on they backtracked and indicated that they are in fact using a logical implementation [3].

The major pro is their seed length, which is significantly longer than Google Authenticator. The major con is you have to trust that they are using a secure system.

[1]https://news.ycombinator.com/item?id=4916983

[2]https://news.ycombinator.com/item?id=4917283

[3]https://news.ycombinator.com/item?id=4917488

Re:Stripe adds two-factor auth by chimeracoder on Friday December 14, 2012 @11:50AM (#4921824)
> The major con is you have to trust that they are using a secure system.

From my discussion with the founder on that HackerNews thread yesterday (and his other comments on the thread), it seemed clear that they didn't have a good enough understanding of the space - both the technical security requirements and the existing solutions. If you're not clear on what problem you're trying to solve, I doubt that you understand the domain well enough to solve it properly - at least when it comes to security.

Security is one field where 80% of the way isn't "good enough" - in fact, 80% may be worse than nothing at all.

Re:Stripe adds two-factor auth by dcu on Friday December 14, 2012 @12:26PM (#4922025)
Take it easy men, He already stated he was wrong. Do not punish him for wanting to answer fast and be open with the Hacker News community.
Re:Stripe adds two-factor auth by chimeracoder on Friday December 14, 2012 @12:38PM (#4922100)
> He already stated he was wrong. Do not punish him for wanting to answer fast and be open with the Hacker News community.

First, he was way off the mark on a number of unrelated elements, not just the key-strengthening algorithm.

While it's good that he owned up to his mistake, it's clear from his wording that he was shaky on the actual principles of security and encryption, not just

My standards for a security-sensitive product are far higher than for anything else. Any person in any position of authority should have a very clear understanding of the security fundamentals being used. The last thing I want in a 2FA application is for an overeager PM to make a decision that inadvertently compromises the security of the product, in a well-meaning attempt to improve the UI, branding, monetization, etc.

Re:Stripe adds two-factor auth by newman314 on Friday December 14, 2012 @03:26PM (#4923105)
Exactly.

Product design and technical implementations do not happen in separate silos. And I want the security products that I use to inspire a much higher level of trust than some generic tool.

Re:Stripe adds two-factor auth by alanctgardner2 on Friday December 14, 2012 @12:06PM (#4921914)
This looks like it was blown out of proportion. The founder is not involved in day-to-day technical stuff, and he misspoke. It's not the greatest thing to happen to a startup, but it hardly invalidates the whole premise. It's interesting to read that Google's seed length seems to compromise the security of their offering, since most of the replies here seem to be predicated on the idea that Google is doing everything right.
Re:Stripe adds two-factor auth by sweis on Friday December 14, 2012 @01:46PM (#4922458)
The Google Authenticator key length is truncated because of a usability tradeoff. Initially, a design goal was to allow people to manually type in keys on their device. This would be for cases where you couldn't scan a QR code, like when your device has no camera.

Given the security setting, I am comfortable with the tradeoff. I do not think brute-force attacks represent a significant risk, especially compared to other attack vectors.

That may change over time. Fortunately, it's straightforward to increase the default key size.

Re:Stripe adds two-factor auth by danielpal on Friday December 14, 2012 @01:58PM (#4922553)
This is exactly what happened. Although I am involved in product on 100% of the time, I don't deal with specific implementation details, the engineers working on the solution deal with that. So I tried to be a truthful as possible and answer all the questions I could, I simply got some details wrong. One of the engineers noticed and I rectified my answer.
Re:Stripe adds two-factor auth by blake8086 on Friday December 14, 2012 @03:17PM (#4923057)
I'm not trying to be rude, but they weren't "details", they were the difference between "secure" (which is the service you sell) and "insecure".
Re:Stripe adds two-factor auth by danielpal on Friday December 14, 2012 @04:59PM (#4923594)
Details are really important. That doesn't mean I could possibly handle every single detail myself, I can't. We have a whole team that handles different parts of the system and they are fully qualified. In fact the engineers doing this feature did write the correct implementation. I simply made a mistake answering the question.

I think people are confusing the Authy Google Authenticator Support with the Authy product.

We do not sell Google Authenticator or aim to be a replacement for it. We simply added the possibility to add Google Authenticator tokens into the Authy App - mostly since our existing clients wanted this -.

Our Service, it's usage etc are completely separate.. If you are not using Authy you can simply use Google Authenticator App.

The only thing in common is we both use RFC 6238 which is an open standard for Time based OTP's.

Re:Stripe adds two-factor auth by cstejerean on Friday December 14, 2012 @11:28AM (#4921689)
Google (obviously), Dropbox and AWS all support Google Authenticator, although Google Authenticator is just one client you can use on the client side.

On the server side, one reason to run this in house is not having to depend on the availability and security of a 3rd party for something as fundamental as logging in.

Re:Stripe adds two-factor auth by seanponeil on Friday December 14, 2012 @11:23AM (#4921648)
Most people who care about two factor already have Google Authenticator installed on their phone. Having the user install another app is tedious and a lot of users won't enable two factor because of it.
Re:Stripe adds two-factor auth by pc86 on Friday December 14, 2012 @11:40AM (#4921762)
I think most people who care about it would either (a) already have Authy installed, or (b) care enough that downloading another app isn't going to prevent them.

When it's opt-in you're really not going to get a lot of people saying "Okay, I guess I'll do it if you make it really easy for me." It's either important or it's not. Most folks on HN would probably say it is and enable it as a matter of course, especially for a service with as much business value as Stripe.

Re:Stripe adds two-factor auth by chimeracoder on Friday December 14, 2012 @11:53AM (#4921838)
> I think most people who care about it would either (a) already have Authy installed, or (b) care enough that downloading another app isn't going to prevent them.

I care, and I have Google Authenticator installed but not Authy.

In fact, it's because I care that I don't have Authy installed - from their comments on HackerNews yesterday, I didn't get much confidence that the Authy folks understand security enough for me to trust them with something this important.

Re:Stripe adds two-factor auth by Firehed on Friday December 14, 2012 @12:23PM (#4922008)
Guy who brought up several of the concerns in yesterday's thread here - and I'm in the same situation.

Actually, I went so far as to download the app just to see if I could crack the backups I was criticizing (i.e., are they actually using a key strengthening algorithm or was the founder just straight-up lying after all of the concern was made public), but when I couldn't get past an SMS-based login-wall to test, most of my initial fears were confirmed.

My concerns and irritations about Google Authenticator also still stand; they half-implemented the spec[1] and have potentially limited everyone's security as a result. However, they didn't misimplement it, so they just limited the gains rather than actually made things worse. I think the QRCode to import the key is, uh, less safe than it could be, but assuming someone hasn't gone and posted screenshots of it to the internet or scanned it with multiple devices, it's not too bad.

I started building a replacement a couple weekends ago to address some of these issues (though primarily because it hasn't been updated to support retina displays, never mind iPhone5), so Authy's timing is rather unfortunate as I've been in the thick of the spec and care deeply about security (I work for WePay; yes, we also have a public rollout of 2FA in the works, it's in internal beta right now). My plan is to give it away for free, if not open-source it completely.

[1] the flexible options for the number of digits, time window, and hashing algorithm are all hardcoded in GA, despite their TOTP implementation actually supporting the full spec. The UI simply ignores all fields beside the label and secret, presumably because they decided to make a screen-wide counter rather than entry-wide. Why it's still forced to SHA1 and 6 digits is beyond me.

Re:Stripe adds two-factor auth by chimeracoder on Friday December 14, 2012 @12:39PM (#4922107)
> Authy's timing is rather unfortunate as I've been in the thick of the spec and care deeply about security (I work for WePay; yes, we also have a public rollout of 2FA in the works, it's in internal beta right now). My plan is to give it away for free, if not open-source it completely.

I'd be very interested in this, Authy's timing notwithstanding. I think my email is in my profile - please let me know if/when you have something available (whether in beta or general release).

Re:Stripe adds two-factor auth by Firehed on Friday December 14, 2012 @01:19PM (#4922310)
I can't see your email (I think it has to be in about) but you can reach me at my username at gmail.
Re:Stripe adds two-factor auth by boucher on Friday December 14, 2012 @12:09PM (#4921923)
Authy now supports Google Authenticator based systems.
Re:Stripe adds two-factor auth by nwh on Friday December 14, 2012 @12:25PM (#4922024)
I can't even get Authy to install. I put in my mobile number (why?) and it tells me I haven't registered, with absolutely no indication of what to do now.

http://imgur.com/CGeeS.jpg

Re:Stripe adds two-factor auth by ProblemFactory on Friday December 14, 2012 @08:07PM (#4924176)
> 2) I'm surprised they chose to use Google Authenticator. The favourite in this space seems to be Authy; off the top of my head Cloudflare and DNSimple both use them. Any thoughts on the pros and cons?

Briefly looking at Authy, it seems they do make things reasonably easy. But the pro sides of Google Authenticator is that it's just an Open-Source app implementing open standards. It doesn't require any third parties or network communication to work, and you can add it even to unix logins or SSH.

Re:Stripe adds two-factor auth by rdl on Friday December 14, 2012 @08:25PM (#4924235)
The favorite in this space is still sadly RSA's shitty SecurID physical tokens (in enterprise). For free/startup/saas things, it's RFC compliant HOTP/TOTP. Authy is one (not quite compatible) implementation of that, plus a management system.

Google Authenticator is the #1 client I see on people's phones, even though it's kind of a zombie project at Google (from what I can tell).

Re:Stripe adds two-factor auth by dschep on Friday December 14, 2012 @01:24PM (#4922344)
2) Because they're using RFC 6238 TOTPs and Google Authenticator is a good client for it that people are comfortable with.