News for hackers. Stuff that matters.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by jgrahamc on Wednesday March 11, 2015 @08:42AM (#9183728)
I can't commit code at CloudFlare because we use two-factor auth for the VPN (and everything else) and non-Apple apps on my iPhone are asking for my iTunes password. Tried airplane mode and apps simply don't load at all!

Total app-ocalypse.

Why do apps need me to be authenticated against iTunes to work at all?

Re:Apple App Store STATUS_CODE_ERROR causes service problems by pavlov on Wednesday March 11, 2015 @08:47AM (#9183748)
It's a "nightmare scenario" downside of the iOS software model. When the device incorrectly decides that you are not authorized to run some binary, there's no way around that.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by jgrahamc on Wednesday March 11, 2015 @08:53AM (#9183779)
Makes sense. And this happened to me almost certainly because I upgraded to iOS 8.2 and my phone promptly crashed... hard.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by mootothemax on Wednesday March 11, 2015 @09:06AM (#9183829)
Why do apps need me to be authenticated against iTunes to work at all?

I guarantee that someone would be screaming at Apple for not authenticating against iTunes under circumstance X, Y or Z.

I'm not sure whether it's better to be inconvenienced for a day, or for Apple to attempt to cover your back if something looks amiss in the iPhone's systems.

(which, from the sounds of your upgrade and hard crash, this may well be - or "simply" some form of empty cache)

It feels a bit like six of one, and half a dozen of the other, the painful bit being that ideology doesn't help you get your work done today!

Re:Apple App Store STATUS_CODE_ERROR causes service problems by mikeash on Wednesday March 11, 2015 @11:55AM (#9184709)
iTunes authentication is just a DRM thing, making sure you've paid for apps before you can run them. Security is handled by code signing, and more importantly by sandboxing. The only people who would scream at Apple for not authenticating against iTunes are those who don't understand this, or those who think Apple needs to enforce strong DRM for third-party apps.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by marincounty on Wednesday March 11, 2015 @10:09AM (#9184130)
I wouldn't scream at Apple if they backed off from protecting/micromanaging/dictating every aspect of the using their products.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by ninkendo on Wednesday March 11, 2015 @03:21PM (#9186287)
What if you were an app developer who had a paid app on the store? Would you want Apple to sit back while people pirated your app? Would you want to have to implement copy protection yourself? Do you think every app should do that?
Re:Apple App Store STATUS_CODE_ERROR causes service problems by nknighthb on Wednesday March 11, 2015 @08:56AM (#9183790)
A lesson, perhaps, in why it's a bad idea to lock yourself (and your customers paying you hundreds to thousands of dollars every month) into third-party services (say, Authy) in order to get basic security features for which widely-adopted, standard alternatives exist.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by jgrahamc on Wednesday March 11, 2015 @09:00AM (#9183805)
Do you have an axe to grind about Authy? Because I can't get into Google Authenticator either so this is an Apple problem not an Authy problem.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by nknighthb on Wednesday March 11, 2015 @09:06AM (#9183828)
It's about being tied to a third-party service. Currently, the one causing you a problem is Apple's. It could just as well be Authy's.

With standard TOTP, you could pull out a paper backup and use it to make any TOTP app on any platform work. But with Authy, you're screwed if they're down.

And it sounds like you're screwed right now because Apple is down. Again, this wouldn't be an issue if you were using standard TOTP.

Meanwhile, if I'd given in and setup 2FA on my company's CloudFlare account, I wouldn't be able to access it right now.

So yes, I have an axe to grind -- with CloudFlare. We pay you $200/month, and the only reason we can still access our account is because I've refused to setup 2FA on it with Authy.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by jgrahamc on Wednesday March 11, 2015 @09:14AM (#9183860)
Meanwhile, if I'd given in and setup 2FA on my company's CloudFlare account, I wouldn't be able to access it right now.

That's not the case. I'm in that position because of the fact that I got my phone into a bad state and can't reauth to iTunes. Others in the office have no problem at all and by talking to the technical support guys I know that I'm in an unusual position otherwise our customers would be very upset.

So yes, I have an axe to grind -- with CloudFlare. We pay you $200/month, and the only reason we can still access our account is because I've refused to setup 2FA on it with Authy.

What exactly is wrong with Authy that makes it completely unacceptable for you to use?

Re:Apple App Store STATUS_CODE_ERROR causes service problems by jomar on Wednesday March 11, 2015 @09:30AM (#9183928)
What exactly is wrong with Authy that makes it completely unacceptable for you to use?

  Let's turn this device into a secure token
  Enter your Authy cellphone
  __+code__ __Authy cellphone number__
They're my private tokens. I don't want to set up an account with Authy Inc and I certainly don't want my tokens in your cloud. Sure maybe it'd be nice to sync across my devices, but not if it looks like it means doing so via somebody else's servers!
Re:Apple App Store STATUS_CODE_ERROR causes service problems by viraptor on Wednesday March 11, 2015 @09:43AM (#9183982)
You realise that you encrypt the tokens you send and you can't restore them without that password, right? And that backups are opt-in only and you can leave that option disabled?

Do you not trust them to actually encrypt the data before backup? Or is there another issue?

Re:Apple App Store STATUS_CODE_ERROR causes service problems by jomar on Wednesday March 11, 2015 @10:33AM (#9184234)
No, I don't realise any of that, because Let's turn this device into a secure token is the sum total of the information you get when you fire up the Authy app. No links to any explanations of why they want you to have an account, and I didn't care enough to go looking further myself.

But the real issue for me is: given a choice between (1) having my private tokens physically only on my own devices; (2) having an account and apparently some form of my tokens at a third party in another country susceptible to bulk espionage and subpoenas... why on earth would I choose (2) in today's climate?

Or in summary: I guess I don't trust them to actually encrypt anything in the face of legal threats.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by nknighthb on Wednesday March 11, 2015 @09:51AM (#9184036)
Authy necessarily has the keys on its servers in cleartext. When you integrate them into your application, you send the code the user inputs to Authy's servers for verification.

Authy is a third-party authentication provider, it is not simply a synchronization service.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by JamieH on Wednesday March 11, 2015 @09:26AM (#9183905)
No Windows Phone client for a start.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by Gigablah on Wednesday March 11, 2015 @09:58AM (#9184073)
I recently complained about the lack of a Windows Phone client on their Facebook page, and their response was "The service you've requested is currently not on our roadmap".
Re:Apple App Store STATUS_CODE_ERROR causes service problems by asyncwords on Wednesday March 11, 2015 @10:38AM (#9184271)
I had asked the founder about a Windows Phone client a couple of weeks ago and at the time he had said a WP client was 'very likely'. Not sure which is more recent, but I would also like to see an Authy client for Windows Phone.

https://news.ycombinator.com/item?id=9100644

Re:Apple App Store STATUS_CODE_ERROR causes service problems by nknighthb on Wednesday March 11, 2015 @09:47AM (#9184010)
> What exactly is wrong with Authy that makes it completely unacceptable for you to use?

This exact scenario is sufficient on its own. Also individually sufficient are the unnecessary revelation of personal information to Authy, and an aversion to perpetuating an authentication method that unsophisticated users can easily confuse with more secure methods that don't rely on third parties.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by rdl on Wednesday March 11, 2015 @02:26PM (#9185770)
Please mail me at rdl at cloudflare.com to talk about TOTP/Authy/etc. I'd appreciate your specific concerns (and I have some questions).
Re:Apple App Store STATUS_CODE_ERROR causes service problems by nutjob123 on Wednesday March 11, 2015 @09:41AM (#9183976)
SMS and voice call codes should still work.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by rtpg on Wednesday March 11, 2015 @09:50AM (#9184030)
you do realise that Authy uses standard TOTP? And Google Auth? This is like complaining about Firefox being a "third party app" and if you were just a normal person you would parse the HTML in your brain directly from the output of your ethernet cable or something.

None of these tools have any form of lock-in, but Apple imposes its own layer, in this case.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by nknighthb on Wednesday March 11, 2015 @09:53AM (#9184045)
Authy uses a modified form of TOTP. CloudFlare requires Authy, not a standard TOTP implementation. They make this very clear when you try to activate 2FA.

Authy works as a third-party authentication provider. Their servers are in the loop on every login. They aren't just a TOTP app + synchronization, they actually do the code validation themselves.

The correct analogy would be if every time you went to a website in Firefox, it asked Mozilla's servers if it was OK to go there. Also if, when installing Firefox, it demanded you create an account and give your cell phone number to Mozilla. (Or better yet, Google.)

Re:Apple App Store STATUS_CODE_ERROR causes service problems by kuschku on Wednesday March 11, 2015 @11:55AM (#9184703)
Tbh, to setup sync or install extensions in Chrome, you need a Google Account, for which you need to give them your cellphone number. And it uses a blacklist hosted by Google to check if a page should show a malware warning, or not even display at all.

So your scenario isn’t even that far off.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by nknighthb on Wednesday March 11, 2015 @08:22PM (#9188422)
I just installed AdBlock in Chrome, via the Chrome web store, on a Windows 7 box, that has never had a Google account logged in on it. So at the moment, I see no evidence that you need one to install extensions. Even if you did need one to install from the Chrome Web Store, you can also side-load.

With regard to the others, there are crucial distinctions:

* Chrome synchronization is entirely optional. You can use Chrome without ever logging into Google's servers. That's not the case with Authy.

* The malware blocklist feature uses data stored on your local machine that is frequently updated from Google's servers. It does not send the URLs to Google. Even aside from privacy implications, that would be annoyingly slow. And the block can be bypassed (last time I saw it, anyway) with a single click.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by untog on Wednesday March 11, 2015 @09:05AM (#9183823)
If it affects every single non-Apple app then there are no alternatives out there.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by defen on Wednesday March 11, 2015 @10:48AM (#9184331)
> Tried airplane mode and apps simply don't load at all!

Does this mean you normally can't ever use 3rd-party apps in airplane mode? Because that is definitely not the case for me.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by knd775 on Wednesday March 11, 2015 @11:00AM (#9184393)
The apps authorization to run has been revoked. So now it has to connect to whatever is down to be re-authorized. That is the problem.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by defen on Wednesday March 11, 2015 @11:14AM (#9184478)
I see. So if it tries to run and gets revoked, you're screwed until Apple comes back up. But in theory, if you had been in airplane mode the whole time this incident has been going on, you'd be fine?
Re:Apple App Store STATUS_CODE_ERROR causes service problems by knd775 on Wednesday March 11, 2015 @11:23AM (#9184526)
Exactly.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by freewizard on Wednesday March 11, 2015 @01:47PM (#9185419)
same case happened to me once when I'm on a 13hr flight in Jan. Simply all non-stock apps doesn't work anymore, and back to normal when I landed and connected to Internet.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by anmilo on Wednesday March 11, 2015 @08:56AM (#9183789)
Curious, which apps seem to be affected? Anecdotally, I hadn't seen any issues on my phone this morning with anything asking for a password, but on my laptop I did see a login prompt when i woke it from sleep.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by jgrahamc on Wednesday March 11, 2015 @08:59AM (#9183798)
All non-Apple apps. So far have tested Twitter, Hipchat, BBC Weather, Wickr, Authy, Google Authenticator, YouTube and Citymapper.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by tombrossman on Wednesday March 11, 2015 @10:01AM (#9184088)
While this comes too late to help you right now, I recommend looking at running a 2FA app on your laptop or desktop like this - https://github.com/gbraad/gauth so that you are not in this situation again.

Either that or grab a cheap Android handset and use it as a backup. The standard 2FA app on Android needs nothing more than occasional network connectivity to keep the clock in sync. You don't even need a Google account, the app is on FDroid.

Cloudflare is huge and many of us rely on it, so I hope you can easily avoid this predicament in the future - good luck!

Re:Apple App Store STATUS_CODE_ERROR causes service problems by pilif on Wednesday March 11, 2015 @10:39AM (#9184276)
>I recommend looking at running a 2FA app on your laptop or desktop

I very strongly recommend against doing this: If you do that, you are giving up a lot of security provided by that second factor as the malware you are using 2FA to protect against now also has access to the keys used to create the 2FA token.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by tombrossman on Wednesday March 11, 2015 @11:21AM (#9184512)
This is a fair point of course, but running it on a second laptop is probably more secure than running it as a mobile app. You wouldn't run it on the same machine you are pushing production code out from, it could be a personal laptop with no access to company systems. I didn't make this point clear in my original comment though.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by danieldk on Wednesday March 11, 2015 @11:21AM (#9184514)
If you have malware, it can also act as a proxy requesting your codes and forwarding them (e.g. to disable 2FA). 2FA protects against password theft.

If your machine is compromised, it's over.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by hobarrera on Wednesday March 11, 2015 @01:38PM (#9185347)
You're assuming the laptop has malware installed capable of pretty unrestricted access. At that point, all bets are off.

It can just forward code, relay cookies, etc. 2FA protects against someone peeking at your keyboard, or reused passwords, not malware.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by mdaniel on Wednesday March 11, 2015 @06:36PM (#9187918)
the app is on FDroid

I recently learned that there is an authenticator in f-droid, but not the authenticator, if one reads the notes at the top of the f-droid listing: https://f-droid.org/repository/browse/?fdid=com.google.andro...

I don't even know what they would want to stick in the Play store's authenticator above the already open sourced functionality.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by scintill76 on Wednesday March 11, 2015 @11:42PM (#9189107)
"DISCLAIMER: This open source project allows you to download the code that powered version 2.21 of the application. Subsequent versions contain Google-specific workflows that are not part of the project."[0] The Play Store version is 2.49[1], but I also don't know what "Google-specific workflows" really entails.

[0] https://github.com/google/google-authenticator-android/wiki [1] https://play.google.com/store/apps/details?id=com.google.and...

Re:Apple App Store STATUS_CODE_ERROR causes service problems by dunham on Wednesday March 11, 2015 @02:18PM (#9185687)
If you're really desperate: When I last checked, Google Authenticator's keychain entries were not marked "this device only", so they can be extracted from an encrypted backup using something like "iphone-dataprotection" tools.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by cmsj on Wednesday March 11, 2015 @09:01AM (#9183808)
weird, I can open Google Authenticator (the only app we have in common from that list) just fine
Re:Apple App Store STATUS_CODE_ERROR causes service problems by m_eiman on Wednesday March 11, 2015 @09:06AM (#9183827)
You probably have a signature check cached that's still valid.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by anmilo on Wednesday March 11, 2015 @09:12AM (#9183854)
mine seem fine as well. I have a handful in common with that list. fingers crossed that they don't have to re-auth
Re:Apple App Store STATUS_CODE_ERROR causes service problems by wolfhumble on Wednesday March 11, 2015 @09:06AM (#9183825)
Some messages in the thread mentions: - iTunes Store - Mac App Store - Apple Support - Game Center (https://discussions.apple.com/thread/6868907?start=45&tstart...)

Of these I have only tested "Mac App Store" and "Apple Support" and they don't seem to work.

I could log into the Apple Store though.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by briandear on Wednesday March 11, 2015 @09:34AM (#9183949)
Apple TV is definitely affected as is iTunes Connect (at least for me.)
Re:Apple App Store STATUS_CODE_ERROR causes service problems by tallanvor on Wednesday March 11, 2015 @11:01AM (#9184401)
I suppose this is a good example of where Azure MFA can be useful. Rather than having an app generate a code, it can be configured to call your phone instead. I hadn't really cared for this option, but as long as your phone can receive calls, you can still authenticate, so it protects against this sort of situation.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by vrao423 on Wednesday March 11, 2015 @10:13AM (#9184144)
This is happening cause apps validate against the app store to ensure you haven't jailbroken them.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by tomjen3 on Wednesday March 11, 2015 @02:36PM (#9185903)
Have somebody else pull with an Android pull from your local repo and push to CloudFares system.

It is an interesting variation of the Airplane situation, but no connection is no connection.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by gergles on Wednesday March 11, 2015 @11:29AM (#9184562)
CloudFlare had a huge DNS outage yesterday that broke half the Internet for NY/NJ and some other location.

Hopefully these lessons teach us that single points of failure are bad.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by kevin_thibedeau on Wednesday March 11, 2015 @11:38AM (#9184618)
I'm always puzzled whenever I have to enable a Cloudflare script on a site that clearly doesn't have enough volume to need it and would have been more robust and simpler with a traditional data center. It also annoys me to no end that I have to permit JavaScript from random hosts to support a cloud server that should be completely transparent to me.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by astrange on Wednesday March 11, 2015 @03:58PM (#9186697)
The site just probably doesn't like getting DDoSed.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by modoc on Wednesday March 11, 2015 @02:31PM (#9185842)
Is that true? Did CF break Verizon or was it the other way around?
Re:Apple App Store STATUS_CODE_ERROR causes service problems by philip1209 on Wednesday March 11, 2015 @10:00AM (#9184084)
You should investigate DuoSecurity, perhaps tied with some Yubikeys - they scale TSV to enterprise scale and have systems for handling scenarios like lost phones.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by mhurron on Wednesday March 11, 2015 @12:35PM (#9184930)
May be a coincidence, but Duo on my iPhone is having issues. The request to authorize shows up, but then I get 'Unknown Error - The request timed out.'

Using the code does work, so I don't think it's Duo.

Re:Apple App Store STATUS_CODE_ERROR causes service problems by matthewmacleod on Wednesday March 11, 2015 @09:05AM (#9183824)
That's very unusual — I've never had a non-Apple app ask for my iTunes password.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by 13 on Wednesday March 11, 2015 @09:26AM (#9183910)
It's because the device has tried to get authorization for running the app (a unique, per UDID signature) and has made the assumption that for whatever reason your access has been revoked. That will normally never happen, it's just an odd side effect of whatever this downtime is. People not seeing this just happen to have hit a local cache of some sort and will eventually get it the longer the downtime goes.
Re:Apple App Store STATUS_CODE_ERROR causes service problems by rdl on Wednesday March 11, 2015 @02:24PM (#9185752)
Authy chrome browser app.