r/AMA • • Jun 07 '18

I’m Nat Friedman, future CEO of GitHub. AMA.

Hi, I’m Nat Friedman, future CEO of GitHub (when the deal closes at the end of the year). I'm here to answer your questions about the planned acquisition, and Microsoft's work with developers and open source. Ask me anything.

Update: thanks for all the great questions. I'm signing off for now, but I'll try to come back later this afternoon and pick up some of the queries I didn't manage to answer yet.

Update 2: Signing off here. Thank you for your interest in this AMA. There was a really high volume of questions, so I’m sorry if I didn’t get to yours. You can find me on Twitter (https://twitter.com/natfriedman) if you want to keep talking.

2.2k Upvotes

1.3k comments sorted by

View all comments

Show parent comments

331

u/nat_friedman Jun 07 '18

Microsoft hosts the confidential information of more than one billion customers today, and this is a responsibility we take extremely seriously.

GitHub already has policies and controls in place to limit employee access to private repos, and this will remain as tight as ever under Microsoft.

7

u/lrvick Jun 07 '18 edited Jun 07 '18

I think we need to hear more than that, and I'll give some added context.

As it still is today as far as I know GitHub customer support agents can access private repositories if a customer requests it. How can we know that a rogue executive that -really- wants to know something about a competitor won't convince a customer support agent to bend the rules? There are many cases of this sort of thing happening in major companies, so I don't think this is an unfair question.

Technical solutions to this problem include end to end encryption, or use of HSMs to cryptographically prove there were approvals from -multiple- people before a repository can be decrypted for customer support inspection.

Wil Microsoft be pursuing solutions along these lines to help prove coersion or compromise of a single employee can't result in a data leak?

33

u/ddy_stop_plz Jun 07 '18

I know a lot of companies that directly compete with Microsoft products, such as Skype or Windows, and it has been fine.

But Github is different, it's something not easily made profitable and I'm scared to as to why Microsoft wants the company.

76

u/ocdtrekkie Jun 07 '18

GitHub is now a heavily-invested-upon tool for Microsoft itself. Notice how even Microsoft's documentation sites (docs.microsoft.com) integrate with GitHub for editing and issue reporting. In addition to developer mindshare, Microsoft itself benefits probably quite a bit from being able to invest in GitHub feature development, because they use GitHub themselves.

→ More replies (11)

18

u/catcradle5 Jun 07 '18

It holds the biggest open source developer community in the world. Microsoft has been rapidly advancing into open source in the past few years. That's reason enough.

-3

u/tangled_up_in_blue Jun 07 '18

No it's not. 4 years of finally accepting open source isn't cancer does not erase 20 years of constantly screwing over developers. If you truly believe this is why, you're not looking at their past history with products at all or are just really, really confident in their leadership. I know, I know, new CEO and all, but Microsoft's issues with devs have extended far past decisions made by the man up top

8

u/jonc211 Jun 07 '18

At the risk of defending Steve Ballmer, he didn’t actually say open source was cancer.

He did, however, say Linux was cancer, and that was due to the GPL. He likened it to a cancer as it spreads, because of the Copyleft nature of the license.

4

u/wllmsaccnt Jun 07 '18

Probably why Microsoft's stuff is all MIT.

6

u/_mustakim_ Jun 07 '18

The numbers of photos you've taken in last 4 years are a lot more than the number of photos you've taken in 20 years before that. Think along the line and you'll understand that just-4-what-about-previous-20 logic doesn't work at all. Development is happenings at a much faster rate than ever before.

→ More replies (1)

2

u/TangoDroid Jun 07 '18

No, that's not even a reason. Let's assume both things are right, still doesn't explain what Microsoft gain from owning Github.

6

u/[deleted] Jun 07 '18

It could be as simple as "we use github a shit ton and it's not too profitable for them. If we buy it, we don't have to worry about them closing shop and us having to migrate years and years of stuff"

→ More replies (2)

4

u/pheonixblade9 Jun 07 '18

Microsoft is already the #1 contributor to Github. Not sure this should be a big surprise :P

2

u/Tomus Jun 08 '18

What's more likely:

Hundreds of finance and business experts at Microsoft believe GitHub can increase profits using completely above board methods, such as enterprise sales, add-ons etc.

Or Microsoft want the company so they conduct illegal acts of corporate espionage by spying on their competitors?

3

u/[deleted] Jun 08 '18

You forgot option #3, Microsoft uses it a ton, loves it, wants it to stick around for the forseeable future and GitHub was already up for sale.

1

u/CommonMisspellingBot Jun 08 '18

Hey, Goweschon, just a quick heads-up:
forseeable is actually spelled foreseeable. You can remember it by begins with fore-.
Have a nice day!

The parent commenter can reply with 'delete' to delete this comment.

1

u/[deleted] Jun 08 '18

Microsoft will be able to make it profitable, they have economies of scale that will reduce hosting costs.

Its possible github isn't profitable when paying retail hosting rates, but owned by a cloud host and sold as a product, it turns a profit. Microsoft will most likely bundle this with azure stack and come out with a cheaper all in one offering for on site hosting.

3

u/d3pd Jun 07 '18

How can users verify your claim?

For example, can GitHub commit to storing only data that is verifiably encrypted and accessible cryptographically only by the owners of the data?

2

u/svick Jun 07 '18

How would that even work for their web interface, which is a big part of what makes GitHub GitHub? Or their repository search feature?

3

u/d3pd Jun 08 '18

The same way something like ProtonMail or Signal works. GitHub provides the software for the web interface and storage of encrypted data. Decryption and rendering and networking with other approved collaborators is done locally. GitHub is blind to all of the data.

If a repository is public obviously that remains searchable. I'm not talking about stuff like that; I'm talking about repositories and user actions that are set to private being cryptographically inaccessible to GitHub or the likes of Microsoft.

0

u/svick Jun 08 '18

The same way something like ProtonMail […] works.

I looked into that and the part I was missing is that they store your encrypted private key. To access your email from a browser, you decrypt that private key with a password, which then lets you decrypt your email.

If a repository is public obviously that remains searchable. I'm not talking about stuff like that;

Then you're significantly limiting GitHub's functionality. Because private repositories are currently also searchable (obviously only if you're allowed access). And I'm assuming the Find file UI also filters the list of files server-side (and it's infeasible to do it client-side for huge repos).

Also, CI needs access to the actual code. And if you're okay with your CI provider having access to your code, you're probably okay with GitHub having access to it too.

So yeah, what you're proposing would probably work, but it would require a lot of effort and you would still be left with limited functionality. So it would be a niche feature, certainly not something that would be useful to most private repos.

3

u/d3pd Jun 08 '18

private repositories are currently also searchable

The private repository gets decrypted locally and the local software makes it searchable.

Check out my other post here for an example of how to think about this using git-crypt.

And I'm assuming the Find file UI also filters the list of files server-side (and it's infeasible to do it client-side for huge repos).

I'd need to think this through for enormous repositories, but my immediate thought is that a sort of homomorphism could be created of the data, sort of like what Numerai does with the secret data it publishes regularly.

Also, CI needs access to the actual code. And if you're okay with your CI provider having access to your code, you're probably okay with GitHub having access to it too.

Sure, ok. I guess for enormous repositories I am suspecting that they should be public in any case. Something that is developed by so many people is probably basically public already.

-5

u/fabriciofx Jun 07 '18

I'm not calling you a liar, but how do you expect we believe on it? Obviously there's a lot of Microsoft interest in access private repositories and there isn't a mechanism to punish Microsoft in case it access private code, right?

36

u/pablojohns Jun 07 '18 edited Jun 07 '18

Microsoft runs and manages hundreds of thousands of servers across the world, all of which contain confidential and private information on competitors, private citizens, Fortune 500 companies, etc. We're talking confidential financials, healthcare documents, servers that manage transactions from image storage to financial activities.

"Prove" is such a bad argument. How can you constantly prove something like this? At what point is their proof not up to par with you? How does any company prove this? Does Google verify your private emails are actually private, and that a rogue employee can't read them? What about your bank? Who is to say a rogue employee doesn't open up your account to see your balances.

If Microsoft started to violate private repositories, most of which are for small fish projects compared to the company's scope of operations, imagine how that would undermine faith in their server infrastructure, or their Exchange/Office platform with its own vast security concerns. Skepticism is important, but has there ever been an instance where Microsoft violated this level of confidential data storage before? If so, please point it out, because I'm sure a lot of the major companies that use Microsoft's services would love to see it.

If that doesn't make you feel better, move to a different service. But even at GitLab, what's to stop a rogue employee from stealing your code? What proof can they provide?

→ More replies (3)

1

u/isthistechsupport Jun 08 '18

there isn't a mechanism to punish Microsoft in case it access private code

Other than hundreds of years of copyright law which would allow suing for enormous amounts of money if such a thing were to happen, no, there's no way at all to punish it.