Andy Yen: Think your email's private? Think again

Recorded atOctober 08, 2014
EventTEDGlobal 2014
Duration (min:sec)11:56
Video TypeTED Stage Talk
Words per minute213.24 very fast
Readability (FK)52.15 medium
SpeakerAndy Yen

Official TED page for this talk


Sending an email message is like sending a postcard, says scientist Andy Yen in this thought-provoking talk: Anyone can read it. Yet encryption, the technology that protects the privacy of email communication, does exist. It's just that until now it has been difficult to install and a hassle to use. Showing a demo of an email program he designed with colleagues at CERN, Yen argues that encryption can be made simple to the point of becoming the default option, providing true email privacy to all.

Text Highlight (experimental)
100:13 Twenty-five years ago, scientists at CERN created the World Wide Web.
200:18 Since then, the Internet has transformed the way we communicate,
300:22 the way we do business, and even the way we live.
400:25 In many ways,
500:27 the ideas that gave birth to Google, Facebook, Twitter, and so many others,
600:32 have now really transformed our lives,
700:35 and this has brought us many real benefits such as a more connected society.
800:39 However, there are also some downsides to this.
900:43 Today, the average person has an astounding amount
1000:45 of personal information online,
1100:48 and we add to this online information every single time we post on Facebook,
1200:51 each time we search on Google,
1300:53 and each time we send an email.
1400:56 Now, many of us probably think,
1500:58 well, one email, there's nothing in there, right?
1601:01 But if you consider a year's worth of emails,
1701:04 or maybe even a lifetime of email,
1801:07 collectively, this tells a lot.
1901:09 It tells where we have been, who we have met,
2001:13 and in many ways, even what we're thinking about.
2101:16 And the more scary part about this is our data now lasts forever,
2201:21 so your data can and will outlive you.
2301:24 What has happened is that we've largely lost control over our data
2401:27 and also our privacy.
2501:29 So this year, as the web turns 25,
2601:33 it's very important for us to take a moment
2701:35 and think about the implications of this.
2801:38 We have to really think.
2901:40 We've lost privacy, yes,
3001:41 but actually what we've also lost is the idea of privacy itself.
3101:45 If you think about it,
3201:47 most of us here today probably remember what life was like before the Internet,
3301:51 but today, there's a new generation
3401:54 that is being taught from a very young age to share everything online,
3501:57 and this is a generation that is not going to remember when data was private.
3602:02 So we keep going down this road, 20 years from now,
3702:05 the word 'privacy' is going to have a completely different meaning
3802:08 from what it means to you and I.
3902:10 So, it's time for us to take a moment and think,
4002:13 is there anything we can do about this?
4102:16 And I believe there is.
4202:18 Let's take a look at one of the most widely used forms of communication
4302:22 in the world today: email.
4402:24 Before the invention of email, we largely communicated using letters,
4502:28 and the process was quite simple.
4602:30 You would first start by writing your message on a piece of paper,
4702:33 then you would place it into a sealed envelope,
4802:36 and from there, you would go ahead and send it
4902:38 after you put a stamp and address on it.
5002:40 Unfortunately, today,
5102:41 when we actually send an email, we're not sending a letter.
5202:44 What you are sending, in many ways, is actually a postcard,
5302:47 and it's a postcard in the sense that everybody that sees it
5402:51 from the time it leaves your computer to when it gets to the recipient
5502:54 can actually read the entire contents.
5602:57 So, the solution to this has been known for some time,
5703:00 and there's many attempts to do it.
5803:02 The most basic solution is to use encryption,
5903:05 and the idea is quite simple.
6003:07 First, you encrypt the connection
6103:09 between your computer and the email server.
6203:12 Then, you also encrypt the data as it sits on the server itself.
6303:15 But there's a problem with this,
6403:17 and that is, the email servers also hold the encryption keys,
6503:20 so now you have a really big lock with a key placed right next to it.
6603:24 But not only that, any government could lawfully ask for
6703:28 and get the key to your data,
6803:30 and this is all without you being aware of it.
6903:33 So the way we fix this problem is actually relatively easy, in principle:
7003:38 You give everybody their own keys,
7103:40 and then you make sure the server doesn't actually have the keys.
7203:44 This seems like common sense, right?
7303:46 So the question that comes up is, why hasn't this been done yet?
7403:50 Well, if we really think about it,
7503:52 we see that the business model of the Internet today
7603:55 really isn't compatible with privacy.
7703:57 Just take a look at some of the biggest names on the web,
7804:00 and you see that advertising plays a huge role.
7904:03 In fact, this year alone, advertising is 137 billion dollars,
8004:08 and to optimize the ads that are shown to us,
8104:10 companies have to know everything about us.
8204:12 They need to know where we live,
8304:14 how old we are, what we like, what we don't like,
8404:18 and anything else they can get their hands on.
8504:20 And if you think about it,
8604:22 the best way to get this information is really just to invade our privacy.
8704:26 So these companies aren't going to give us our privacy.
8804:29 If we want to have privacy online,
8904:31 what we have to do is we've got to go out and get it ourselves.
9004:34 For many years, when it came to email,
9104:37 the only solution was something known as PGP,
9204:39 which was quite complicated and only accessible to the tech-savvy.
9304:43 Here's a diagram that basically shows
9404:45 the process for encrypting and decrypting messages.
9504:48 So needless to say, this is not a solution for everybody,
9604:51 and this actually is part of the problem,
9704:54 because if you think about communication,
9804:56 by definition, it involves having someone to communicate with.
9905:01 So while PGP does a great job of what it's designed to do,
10005:04 for the people out there who can't understand how to use it,
10105:07 the option to communicate privately simply does not exist.
10205:10 And this is a problem that we need to solve.
10305:13 So if we want to have privacy online,
10405:15 the only way we can succeed is if we get the whole world on board,
10505:18 and this is only possible if we bring down the barrier to entry.
10605:21 I think this is actually the key challenge that lies in the tech community.
10705:25 What we really have to do is work and make privacy more accessible.
10805:29 So last summer, when the Edward Snowden story came out,
10905:32 several colleagues and I decided to see if we could make this happen.
11005:35 At that time, we were working at the European Organization for Nuclear Research
11105:40 at the world's largest particle collider, which collides protons, by the way.
11205:44 We were all scientists, so we used our scientific creativity
11305:48 and came up with a very creative name for our project:
11405:51 ProtonMail. (Laughter)
11505:53 Many startups these days actually begin in people's garages
11605:56 or people's basements.
11705:57 We were a bit different.
11805:59 We started out at the CERN cafeteria,
11906:02 which actually is great, because look,
12006:04 you have all the food and water you could ever want.
12106:07 But even better than this is that every day
12206:09 between 12 p.m. and 2 p.m., free of charge,
12306:13 the CERN cafeteria comes with several thousand scientists and engineers,
12406:17 and these guys basically know the answers to everything.
12506:20 So it was in this environment that we began working.
12606:23 What we actually want to do is we want to take your email
12706:26 and turn it into something that looks more like this,
12806:29 but more importantly, we want to do it in a way
12906:32 that you can't even tell that it's happened.
13006:34 So to do this, we actually need a combination of technology
13106:37 and also design.
13206:38 So how do we go about doing something like this?
13306:42 Well, it's probably a good idea not to put the keys on the server.
13406:46 So what we do is we generate encryption keys on your computer,
13506:50 and we don't generate a single key, but actually a pair of keys,
13606:53 so there's an RSA private key and an RSA public key,
13706:57 and these keys are mathematically connected.
13807:00 So let's have a look and see how this works
13907:02 when multiple people communicate.
14007:04 So here we have Bob and Alice, who want to communicate privately.
14107:09 So the key challenge is to take Bob's message
14207:12 and to get it to Alice in such a way that the server cannot read that message.
14307:17 So what we have to do is we have to encrypt it
14407:19 before it even leaves Bob's computer,
14507:21 and one of the tricks is, we encrypt it using the public key from Alice.
14607:26 Now this encrypted data is sent through the server to Alice,
14707:31 and because the message was encrypted using Alice's public key,
14807:35 the only key that can now decrypt it is a private key that belongs to Alice,
14907:39 and it turns out Alice is the only person that actually has this key.
15007:44 So we've now accomplished the objective,
15107:47 which is to get the message from Bob to Alice
15207:49 without the server being able to read what's going on.
15307:52 Actually, what I've shown here is a highly simplified picture.
15407:55 The reality is much more complex
15507:57 and it requires a lot of software that looks a bit like this.
15608:00 And that's actually the key design challenge:
15708:03 How do we take all this complexity, all this software,
15808:06 and implement it in a way that the user cannot see it.
15908:10 I think with ProtonMail, we have gotten pretty close to doing this.
16008:14 So let's see how it works in practice.
16108:16 Here, we've got Bob and Alice again,
16208:19 who also want to communicate securely.
16308:21 They simply create accounts on ProtonMail,
16408:24 which is quite simple and takes a few moments,
16508:26 and all the key encryption and generation
16608:28 is happening automatically in the background
16708:31 as Bob is creating his account.
16808:33 Once his account is created, he just clicks "compose,"
16908:35 and now he can write his email like he does today.
17008:38 So he fills in his information,
17108:40 and then after that, all he has to do is click "send,"
17208:43 and just like that, without understanding cryptography,
17308:47 and without doing anything different from how he writes email today,
17408:50 Bob has just sent an encrypted message.
17508:53 What we have here is really just the first step,
17608:57 but it shows that with improving technology,
17708:59 privacy doesn't have to be difficult, it doesn't have to be disruptive.
17809:04 If we change the goal from maximizing ad revenue to protecting data,
17909:08 we can actually make it accessible.
18009:11 Now, I know a question on everybody's minds is,
18109:13 okay, protecting privacy, this is a great goal,
18209:15 but can you actually do this
18309:18 without the tons of money that advertisements give you?
18409:21 And I think the answer is actually yes,
18509:23 because today, we've reached a point
18609:25 where people around the world really understand how important privacy is,
18709:29 and when you have that, anything is possible.
18809:32 Earlier this year,
18909:33 ProtonMail actually had so many users that we ran out of resources,
19009:37 and when this happened, our community of users got together
19109:40 and donated half a million dollars.
19209:42 So this is just an example of what can happen
19309:44 when you bring the community together towards a common goal.
19409:47 We can also leverage the world.
19509:49 Right now,
19609:50 we have a quarter of a million people that have signed up for ProtonMail,
19709:54 and these people come from everywhere,
19809:55 and this really shows that privacy
19909:57 is not just an American or a European issue,
20009:59 it's a global issue that impacts all of us.
20110:02 It's something that we really have to pay attention to going forward.
20210:05 So what do we have to do to solve this problem?
20310:08 Well, first of all,
20410:10 we need to support a different business model for the Internet,
20510:13 one that does not rely entirely on advertisements
20610:15 for revenue and for growth.
20710:18 We actually need to build a new Internet
20810:20 where our privacy and our ability to control our data is first and foremost.
20910:26 But even more importantly,
21010:28 we have to build an Internet where privacy is no longer just an option
21110:32 but is also the default.
21210:35 We have done the first step with ProtonMail,
21310:38 but this is really just the first step in a very, very long journey.
21410:42 The good news I can share with you guys today,
21510:44 the exciting news, is that we're not traveling alone.
21610:47 The movement to protect people's privacy and freedom online
21710:50 is really gaining momentum,
21810:51 and today, there are dozens of projects from all around the world
21910:55 who are working together to improve our privacy.
22010:58 These projects protect things from our chat to voice communications,
22111:02 also our file storage, our online search,
22211:05 our online browsing, and many other things.
22311:08 And these projects are not backed by billions of dollars in advertising,
22411:11 but they've found support really from the people,
22511:14 from private individuals like you and I from all over the world.
22611:17 This really matters, because ultimately,
22711:20 privacy depends on each and every one of us,
22811:23 and we have to protect it now because our online data
22911:26 is more than just a collection of ones and zeros.
23011:29 It's actually a lot more than that.
23111:31 It's our lives, our personal stories,
23211:33 our friends, our families,
23311:36 and in many ways, also our hopes and our aspirations.
23411:39 We need to spend time now to really protect our right
23511:42 to share this only with people that we want to share this with,
23611:45 because without this, we simply can't have a free society.
23711:48 So now's the time for us to collectively stand up and say,
23811:51 yes, we do want to live in a world with online privacy,
23911:54 and yes, we can work together to turn this vision into a reality.
24011:59 Thank you.
24112:01 (Applause)