<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Usability on Eccentric Authentication</title>
    <link>/categories/usability/</link>
    <description>Recent content in Usability on Eccentric Authentication</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Fri, 18 Nov 2016 00:00:00 +0000</lastBuildDate>
    <atom:link href="/categories/usability/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>On the internet, there is only Alice</title>
      <link>/blog/2016/11/18/on-the-internet-there-is-only-alice</link>
      <pubDate>Fri, 18 Nov 2016 00:00:00 +0000</pubDate>
      
      <guid>/blog/2016/11/18/on-the-internet-there-is-only-alice</guid>
      <description>&lt;p&gt;Everyone who works long enough in the field of cryptography knows about Alice and Bob: They know each other, go their separate ways and &amp;ndash; always &amp;ndash; are in dire need of private communication. Eve is listening in on every message and Mallory actively tries to trick them into believing her words are genuine. Then the authors of the paper explain their cryptographic protocol that makes Alice and Bob safe again.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Classic Cryptography&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The use cases for cryptography have almost always been royalty, military, business and lovers. What they have in common is that all participants already know each other, get separated and are in dire need of private communication. So before the mission, they get together to agree on a protocol and key. Then they hire couriers to transport their encrypted messages.&lt;/p&gt;

&lt;p&gt;This is what I call Classic Cryptography.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;On the internet, there is only Alice&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;On the internet, the situation is radically different. There are a few well known parties and there are many strangers who want to communicate securely with some of the well knowns.&lt;/p&gt;

&lt;p&gt;Take banking, for example. There are a few banks and a lot of potential customers. Suppose I want to open an account at a bank of my choice. My needs are:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;I need to connect to the correct servers (authentication), not that of criminals, or worse, a different bank pretending to be my choice;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;I need the link to be private (secrecy) to safely transmit a copy of my passport to the bank without third parties to copy it;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The bank has these needs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The bank need to be able to recognize (authenticate) me at recurring visits. Without this recognition, I remain a stranger to the bank and the bank can&amp;rsquo;t accept my transactions;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;No one should not be able to impersonate any customer.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;It should be clear that classic cryptography doesn&amp;rsquo;t work here anymore. It would mean that to open an account I visit a branch office of the bank in person. We then agree on a protocol and some keys and we get separate again.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What about a blog site?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Suppose I stumble upon an interesting blog site. I read a while and then I feel a need to write the blogger in private. The same asymmetric requirements show up: I need to connect to the correct server and I want the connection to be secure against eavesdropping and tampering.&lt;/p&gt;

&lt;p&gt;The blogger and I need to be able to recognize each other later in the conversation. Otherwise, we wouldn&amp;rsquo;t know for sure if a message was part of the conversation or inserted by Mallory.&lt;/p&gt;

&lt;p&gt;There is a third requirement: I want to remain pseudonymous, the blogger only knows me by a self-chosen identity. And I use that identity only to connect to the blogger, I don&amp;rsquo;t share identities.&lt;/p&gt;

&lt;p&gt;Again, classic crypto doesn&amp;rsquo;t help me.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;What about a whistleblower?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Suppose I had to blow a whistle on some secret government program gone haywire. I&amp;rsquo;d search for a trustworthy journalist at a respectable newspaper. The journalist is well known and I&amp;rsquo;m the stranger and I would like to keep it that way for everyone, including the journalist.&lt;/p&gt;

&lt;p&gt;The requirements are the same again, I need to be able to authenticate the journalist before I send my first document. I want to do so without the journalist knowing my true identity, my chosen pseudonym &amp;lsquo;Deep Throat&amp;rsquo; suffices.&lt;/p&gt;

&lt;p&gt;There is a fourth requirement: I don&amp;rsquo;t want the government to track me while sending the documents so I want to transmit all communication via Tor.&lt;/p&gt;

&lt;p&gt;Fifth requirement: The journalist doesn&amp;rsquo;t know how any of that techno-stuff works so it must work out of the box without brainpower from either party.&lt;/p&gt;

&lt;p&gt;It&amp;rsquo;s clear that classic cryptography doesn&amp;rsquo;t fit the bill.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Eccentric Authentication to the rescue&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What these cases have in common is that there is a well known party (Alice) and there are strangers who want to open a secure channel.&lt;/p&gt;

&lt;p&gt;Both parties need to authenticate the other at later visits, while in two of these cases, the stranger wants to remain anonymous.&lt;/p&gt;

&lt;p&gt;Eccentric Authentication is my protocol that allows strangers to contact well known parties, secure all their communication, mutually authenticate and remain anonymous and untraceable if they wish. &lt;a href=&#34;http://eccentric-authentication.org&#34;&gt;This site&lt;/a&gt; is dedicated to the protocol.&lt;/p&gt;

&lt;p&gt;Happy reading.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>tor made easy</title>
      <link>/blog/2016/04/06/tor-made-easy</link>
      <pubDate>Wed, 06 Apr 2016 00:00:00 +0000</pubDate>
      
      <guid>/blog/2016/04/06/tor-made-easy</guid>
      <description>

&lt;p&gt;Tor is the well known Onion Routing network. It lets people communicate over the internet without revealing their location.&lt;/p&gt;

&lt;p&gt;Using the Tor network is easy*) if all you need is browsing. Just run Tails or Whonix and browse. The sites can&amp;rsquo;t figure out where you are. This is good for your privacy, your anonymity. And good for people in countries that censor parts of the rest of the world.&lt;/p&gt;

&lt;p&gt;Others use Tor to host a hidden server. It lets them run a site without revealing their location. This is good against censorship too. And to sell contraband to much chagrin of law enforcement.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;We offer a different use case: Connect to friends via Tor.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The basics of Eccentric Authentication is to be able to authenticate someone. In other words: to make sure it&amp;rsquo;s the same person as before. Once that&amp;rsquo;s established, there is no limits on the form of communication.&lt;/p&gt;

&lt;p&gt;In this blog, we&amp;rsquo;re going to show how to set up the stuff to make that happen. Then we show how to use it to chat with a friend, either with text chat or voice chat.&lt;/p&gt;

&lt;p&gt;*) Using Tor safely requires a bit more consideration. One must make sure to obey certain do&amp;rsquo;s and don&amp;rsquo;ts to prevent leaking of identifying information. Especially against active attacks to determine one&amp;rsquo;s identity or location.&lt;/p&gt;

&lt;h1 id=&#34;setting-up&#34;&gt;setting up&lt;/h1&gt;

&lt;p&gt;Download this virtual machine and run it. Direct: &lt;a href=&#34;/eccentric-demo-3.ova&#34;&gt;eccentric-demo-3.ova&lt;/a&gt; or via torrent: &lt;a href=&#34;/eccentric-demo-3.ova.torrent&#34;&gt;eccentric-demo-3.ova.torrent&lt;/a&gt;.&lt;/p&gt;

&lt;h1 id=&#34;using-it&#34;&gt;using it&lt;/h1&gt;

&lt;p&gt;In the VM, log in with username &amp;lsquo;user&amp;rsquo; and password &amp;lsquo;user&amp;rsquo;. If you need, user root has password root.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Double click the &amp;ldquo;Ecca Proxy 1&amp;rdquo; icon.&lt;br /&gt;
It starts the user agent service. It opens in a terminal and will show lots of debugging. Ignore that for now.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Double click the &amp;ldquo;Iceweasel 1&amp;rdquo; icon.&lt;br /&gt;
It starts the Firefox browser that uses the Ecca Proxy 1 for its authentication services. In other words: it uses the Proxy 1 to do all the cryptographic work for you.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;The browser opens with &lt;a href=&#34;http://cryptoblog.wtmnd.nl&#34;&gt;http://cryptoblog.wtmnd.nl&lt;/a&gt;&lt;br /&gt;
Notice: it doesn&amp;rsquo;t use https but don&amp;rsquo;t worry, the ecca-proxy takes care of security (and does use https).&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Browse the menu entry &amp;ldquo;The Blogs&amp;rdquo;;&lt;br /&gt;
Feel free to read any blogs, just don&amp;rsquo;t press any buttons on those blog pages, we&amp;rsquo;ll get to them later,&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;After reading, get back to &amp;ldquo;The Blogs&amp;rdquo; and press the &amp;ldquo;Create blog&amp;rdquo; link.&lt;br /&gt;
Expect a page stating: 401 - Eccentric Authentication required. This page is your Ecca Proxy 1 telling you the site requires you to log in with an account.&lt;br /&gt;
As you don&amp;rsquo;t have any, it offers to create an account.&lt;br /&gt;
Either specify a username (the part before @@) or let your ecca-proxy generate an &amp;lsquo;anon-12345678&amp;rsquo; random username. If the name is still available, you&amp;rsquo;ll get it, otherwise chose a (slighty) different one. It should take a few seconds to sign up.&lt;br /&gt;
When that succeeds, you&amp;rsquo;ll get a split screen. On top, it&amp;rsquo;s the ecca-proxy telling you it has created and account and logged you in. At the main part, it&amp;rsquo;s the cryptoblog site waiting for your blog.&lt;br /&gt;
Be creative and write something that would attract some followers. When finished, post your blog.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Now, we leave this browser window and pretend to be a different user who comes across your blog.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Double click the &amp;ldquo;Ecca Proxy 2&amp;rdquo; icon. It starts up a second (and independent) proxy.&lt;br /&gt;
Then double click the &amp;ldquo;Iceweasel 2&amp;rdquo; icon. It will represent your different user.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Select &amp;ldquo;The blogs&amp;rdquo; and select the blog you just wrote in Proxy 1.&lt;br /&gt;
You could write a comment and post it to the world. Feel free to do so.&lt;br /&gt;
Or you could send a private message that is encrypted so only the  (from Iceweasel/Proxy 1 could read it).&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Or you could invite your alter ego (from Proxy 1) for a chat via Tor.&lt;br /&gt;
To do so: click the &amp;ldquo;Send invitation to connect&amp;rdquo;-button.&lt;br /&gt;
Select &amp;lsquo;chat&amp;rsquo;; it&amp;rsquo;s simpler to test that two audio streams to and from your computer.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Your Proxy 2 now does a few things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;It creates a Tor Hidden Service for you. This will be the listening point for the other user to connect to.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;It sends its address in a private message to your alter ego.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;It keeps waiting for the intended computer to connect (your first user) and kicks everyone else out. It&amp;rsquo;s a private connection.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Now go back to Iceweasel 1. Browse to the &amp;lsquo;Read Messages&amp;rsquo; tab and behold, there is an invitation from your second account. When you click the &amp;lsquo;Connect&amp;rsquo;-button, the Proxy 1 makes a connection to the Tor Hidden Service address and both sides start the chat app.&lt;/p&gt;

&lt;p&gt;Happy chatting.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>making crypto invisible</title>
      <link>/blog/2014/05/01/making-crypto-invisible</link>
      <pubDate>Thu, 01 May 2014 00:00:00 +0000</pubDate>
      
      <guid>/blog/2014/05/01/making-crypto-invisible</guid>
      <description>

&lt;blockquote&gt;
&lt;p&gt;Q. What good is a tool that requires complicated rituals such as key signing parties, or fingerprint verification?&amp;gt; A. Instant loss of security, privacy and usability.&lt;/p&gt;

&lt;p&gt;Q. What good is a tool that uses encryption in a network of plain-text connections?&lt;br /&gt;
A. Instant suspicion.&lt;/p&gt;

&lt;p&gt;Q. What good is a tool for circumventing censorship in a country that forbids it?&lt;br /&gt;
A. Instant confession.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2 id=&#34;our-proposal&#34;&gt;Our proposal&lt;/h2&gt;

&lt;p&gt;Eccentric Authentication is a protocol that weaves cryptography into&lt;br /&gt;
the normal workflow of the net. It hides all cryptography from view,&lt;br /&gt;
yet performs its duties at every moment.&lt;/p&gt;

&lt;p&gt;People would interact with web sites just like they do now except that&lt;br /&gt;
they get:&lt;br /&gt;
- easier account creation, log-in and log-out handling; no more passwords;&lt;br /&gt;
- full pseudonymity, users have a different identity at each site;&lt;br /&gt;
- private messages that only the intended recipient can read;&lt;/p&gt;

&lt;p&gt;Users (ie, the people) won&amp;rsquo;t notice any cryptography at all. They find&lt;br /&gt;
that the protocol offers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;fully automatic identity management;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;their computer remembers their accounts for them;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;no more impossible to answer security or trust questions;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;their computer detects and blocks phishing attempts for them, keeping them safe;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;users stay in control of their privacy;&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Site operators will have to set up their servers in a slightly&lt;br /&gt;
different way than they do currently:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;replace passwords for client certificates;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;run https-only;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;run their own fully automated certificate signer; this does all the&lt;br /&gt;
hard work for the site-operator; (fully automated, so easy to&lt;br /&gt;
outsource to a hosting provider without losing its security and&lt;br /&gt;
privacy properties)&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&#34;passing-the-greenwald-test&#34;&gt;Passing the Greenwald-test&lt;/h2&gt;

&lt;p&gt;Site operators can go further. When setting up a newspaper, a blog or&lt;br /&gt;
a comment section, they can let people post signed messages, (fully&lt;br /&gt;
automated by the user agent).&lt;/p&gt;

&lt;p&gt;This offers journalists the option to sign their articles with their&lt;br /&gt;
private key, which is no more dufficult than pressing the button at&lt;br /&gt;
the user agent.&lt;/p&gt;

&lt;p&gt;Over time there will be a large corpus of articles, all signed using&lt;br /&gt;
that key. When someone reads an article, their user agent verifies the&lt;br /&gt;
necessary cryptographic properties. If it validates, the reader can&lt;br /&gt;
use the key to encrypt messages to the journalist. If there is a&lt;br /&gt;
validation error, the agent refuses to let people to get into&lt;br /&gt;
situations where a crypto-problem could lead to inadvertent disclosure&lt;br /&gt;
of identity or confidentiality.&lt;/p&gt;

&lt;p&gt;In other words: The readers of that newspaper have to determine&lt;br /&gt;
whether or not they trust that journalist with their message, the&lt;br /&gt;
protocol keeps it confidential. Without either party having to think&lt;br /&gt;
about cryptography.&lt;/p&gt;

&lt;p&gt;This same mechanisms works between bloggers and commenters. When a&lt;br /&gt;
blogger posts a signed message and your user agent has validated its&lt;br /&gt;
signature to be correct, you can use it to write a private message to&lt;br /&gt;
that blogger, however he/she is in real life.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;When you want to write a private message, the system makes it&lt;br /&gt;
 possible.&lt;/em&gt; Again, without any need to know cryptography.&lt;/p&gt;

&lt;h2 id=&#34;village-square&#34;&gt;Village square&lt;/h2&gt;

&lt;p&gt;What we have done so far create a way for strangers to exchange public&lt;br /&gt;
keys between them. The only thing they need is a way to find each&lt;br /&gt;
other. That&amp;rsquo;s the role of the web site. It&amp;rsquo;s like the village square&lt;br /&gt;
where people meet and engage in public discussion or private&lt;br /&gt;
chat. However, it will leave a trail of pseudonyms who meets whom at&lt;br /&gt;
the square.&lt;/p&gt;

&lt;p&gt;To protect the people from too much traffic analysis, the protocol&lt;br /&gt;
offers people to do the equivalent of exchanging telephone numbers at&lt;br /&gt;
the square, only more secure.&lt;/p&gt;

&lt;p&gt;Once two people have met on a site and their agents have validated&lt;br /&gt;
their keys, they can set up a private communication channel between&lt;br /&gt;
them. This channel is independent of the site where they met, it goes&lt;br /&gt;
directly between their computers. The site cannot learn of anything&lt;br /&gt;
that these two people do once they&amp;rsquo;ve set up their independent&lt;br /&gt;
channel. The only metadata leak we have is network traffic analysis&lt;br /&gt;
but for that we have Tor which is also easy to automate at this point.&lt;/p&gt;

&lt;p&gt;What this channel entails is upto them. It could be a VOIP-telephone&lt;br /&gt;
like connection, a shared document editing platform, or one has&lt;br /&gt;
invited the other to an existing community. All secure and&lt;br /&gt;
private. There are many good crypto-projects to let people communicate&lt;br /&gt;
either in private or in a a community. This project lets people find&lt;br /&gt;
others to join them. The other projects makes sure it happens. For&lt;br /&gt;
example: LEAP to mail to people, Ostel to talk, Jitsi to chat,&lt;br /&gt;
Secushare to collaborate with others.&lt;/p&gt;

&lt;h2 id=&#34;conclusion&#34;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;We make it possible for normal people to be safe and secure on the&lt;br /&gt;
internet. Each person runs a user agent that handles all the key&lt;br /&gt;
management tasks for them.&lt;/p&gt;

&lt;p&gt;It makes privacy the default on the net. Every whistleblower can reach&lt;br /&gt;
every journalist of their choice, the system keeps their communication&lt;br /&gt;
confidential.&lt;/p&gt;

&lt;p&gt;It&amp;rsquo;s backwards compatible with the current web. People without the&lt;br /&gt;
user agent can still read all the public posted messages of&lt;br /&gt;
everyone. It doesn&amp;rsquo;t exclude anyone from reading. And people who don&amp;rsquo;t&lt;br /&gt;
have the user agent installed might still be able to participate in&lt;br /&gt;
public discussions, albeit anonymously. They cannot create private&lt;br /&gt;
channels, nor enjoy confidentiality.&lt;/p&gt;

&lt;p&gt;It can slowly grow in momentum until there is a critical mass where&lt;br /&gt;
it becomes a must have.&lt;/p&gt;

&lt;p&gt;It uses ubiquitous encryption, every connection is encrypted so&lt;br /&gt;
Tor-traffic doesn&amp;rsquo;t stand out amongst the &amp;lsquo;normal&amp;rsquo; traffic. On the&lt;br /&gt;
contrary, it is advisable to use Tor or GnuNET every time. However,&lt;br /&gt;
that&amp;rsquo;s a decision that everyone has to make for themselves.&lt;/p&gt;

&lt;p&gt;The project aims to let people discover others and join their&lt;br /&gt;
communities. The cryptography keeps them safe against warrantless&lt;br /&gt;
spying or snooping. The weaving of crypto into the net makes this&lt;br /&gt;
available to the common people, without requiring them to learn how to&lt;br /&gt;
use it. (That&amp;rsquo;s the programmer&amp;rsquo;s job).&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>end user trust model</title>
      <link>/blog/2013/11/24/end-user-trust-model</link>
      <pubDate>Sun, 24 Nov 2013 00:00:00 +0000</pubDate>
      
      <guid>/blog/2013/11/24/end-user-trust-model</guid>
      <description>&lt;p&gt;There is a huge gap between the way the current deployed crypto-tools&lt;br /&gt;
work and the requirements of the normal end user.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;End User Trust Model&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The common user has these requirements:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Don&amp;rsquo;t think, just click.&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Someone else must protect me.&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;For free.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On 1: Users don&amp;rsquo;t want to be bothered with anything that stands in the&lt;br /&gt;
  way of what they want to do. It won&amp;rsquo;t work.&lt;/p&gt;

&lt;p&gt;On 2: Users assume that their computer keeps them safe from all&lt;br /&gt;
  harm. Or their virus scanner. Or their ISP, or faceboogle, or their&lt;br /&gt;
  government. But at the same time, these appointed chaperones must&lt;br /&gt;
  respect the privacy of their entrusted appointees.&lt;/p&gt;

&lt;p&gt;On 3: Of course, users don&amp;rsquo;t want to pay for anything.&lt;/p&gt;

&lt;p&gt;One might call it unfair of these users, however, I don&amp;rsquo;t blame&lt;br /&gt;
them. It&amp;rsquo;s what has been promised time after time, albeit never&lt;br /&gt;
delivered. It&amp;rsquo;s time we are going to deliver that: /No-Brain Security and Privacy./&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;End User Trust Decisions&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Trust is binary. When people visit a website, either &lt;em&gt;they&lt;/em&gt; trust&lt;br /&gt;
it sufficiently to post their identifying details, or they don&amp;rsquo;t and&lt;br /&gt;
refrain from using that site. Most likely, they click away to search for some site&lt;br /&gt;
they do find sufficiently trustworthy.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Trust decisions can change at any time. It can be friends, family,&lt;br /&gt;
or the local system administrator who is able to change a user&amp;rsquo;s trust&lt;br /&gt;
decision. Or it can be an error on the screen to spark distrust. Or&lt;br /&gt;
it&amp;rsquo;a s learned behaviour: &amp;ldquo;There is this green bar, so it is OK.&amp;rdquo; There is no&lt;br /&gt;
rational thought process behind it.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;When trust is given, security and privacy are expected. A user at a&lt;br /&gt;
forum who sends a private message to another forum user expects that&lt;br /&gt;
only that person can read it. The user might feel violated when that&lt;br /&gt;
message gets leaked out by the forum administrators, or get spied upon&lt;br /&gt;
by unexpected advertisers.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;People have learned to distrust anyone on the net. A business that&lt;br /&gt;
promised not to sell the customers&amp;rsquo; email addresses to spammers, might&lt;br /&gt;
sell it the moment the customer cancels the service. &amp;ldquo;They are not a&lt;br /&gt;
customer anymore.&amp;rdquo; As most people don&amp;rsquo;t have easy access to throw-away&lt;br /&gt;
email addresses, they are reluctant to sign up.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;Current cryptography tools violate the End User Trust Model and the Trust Decisions.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;GPG requires people to refrain from sending a message until they are&lt;br /&gt;
sure of a trusted path through the web of trust. In reality, what&lt;br /&gt;
happens is that people don&amp;rsquo;t use GPG.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;S/MIME requires people to prove their &lt;em&gt;Identity&lt;/em&gt; to a supposedly&lt;br /&gt;
trusted third party before being able to communicate. It severely&lt;br /&gt;
violates privacy and you have to pay for it through the nose every&lt;br /&gt;
year. No wonder no one uses it.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Global Trutsted CA-authenticated TLS fails the no-brain&lt;br /&gt;
solution too. Even the green bar is not a guarantee that the site is the&lt;br /&gt;
correct one. If there comes a warning, there is nothing that users&lt;br /&gt;
can do to resolve the situation. In fact, clicking away the error&lt;br /&gt;
makes it &amp;lsquo;work&amp;rsquo; but&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Duck-validation: &amp;ldquo;If it looks like an email from the bank, it must&lt;br /&gt;
be an email from the bank. I better log in to prevent that big&lt;br /&gt;
deduction from going to happen.&amp;rdquo; Now banks are teaching people to&lt;br /&gt;
trust an untrustable CA-infrastructure to protect their accounts. An&lt;br /&gt;
infrastructure that cannot prevent harm. And with the secret&lt;br /&gt;
services, all bets are off.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Solution&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;It is time we are going to deliver such an End User Trust Model where&lt;br /&gt;
each of the End User Trust Decisions get addressed.&lt;/p&gt;

&lt;p&gt;The system we are describing is Eccentric Authentication.&lt;/p&gt;

&lt;p&gt;It uses pseudonymous client certificates. One for each account a at&lt;br /&gt;
each site. The certificate does not contain any identifying&lt;br /&gt;
information. Hence users are only known by their (chosen)&lt;br /&gt;
nickname. There is a user agent at the user&amp;rsquo;s computer that does all&lt;br /&gt;
the cryptographic work.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Sign up&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The typical scenario for signup is like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User learns about a site, perhaps via a search engine;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;User browses site, reads a bit on it; decides to sign up;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;User directs the agent to request a client certificate with a user&lt;br /&gt;
chosen nickname (a different nickname for each site); it sounds&lt;br /&gt;
complicated but is just a single click;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Site signs the certificate. The certificate bears the chosen nickname and the sitename.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The trust decision happens in step 2. It&amp;rsquo;s a typical users&amp;rsquo; decision:&lt;br /&gt;
&amp;ldquo;I like it, and want to sign up.&amp;rdquo;&lt;/p&gt;

&lt;p&gt;The Eccentric Authentication protocol keeps the user secure and&lt;br /&gt;
anonymous. Nowhere is the user asked to provide any identifying&lt;br /&gt;
information. No names, no email address at all. This gives the user&lt;br /&gt;
the trust that they can sign up without giving it a thought.&lt;/p&gt;

&lt;p&gt;In fact, a site asking for any personal identifying information is&lt;br /&gt;
ranking lower on trustworthyness than a site that does not ask these&lt;br /&gt;
details. Extra benefit, it&amp;rsquo;s easier to sign up anonymously than having&lt;br /&gt;
to provide details.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Private messaging&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Another aspect of Eccentric Authentication is that public messages,&lt;br /&gt;
such as postings in a forum are signed by their writers&amp;rsquo; private&lt;br /&gt;
key. The signature is posted alongside the message.&lt;/p&gt;

&lt;p&gt;This serves two functions. First, the poster can verify that their message&lt;br /&gt;
get posted under their own pseudonym. It shows to the poster that the&lt;br /&gt;
site is not performing a MitM attack against them.&lt;/p&gt;

&lt;p&gt;The second purpose of the signature is to tie the posters public key&lt;br /&gt;
(and certificate) to the message. This allows for truely private&lt;br /&gt;
messaging to total strangers.&lt;/p&gt;

&lt;p&gt;When a user (with a client certificate) wants to send a private&lt;br /&gt;
message to some other user at the site, this will be the typical scenario:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;User browses the site;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;User comes across a message from someone; igniting the urge to send a private message;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;User presses the &amp;lsquo;Compose Private Message&amp;rsquo;-button that the site provides;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Site specifies the account name and the other users&amp;rsquo; certificate;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;User agent verifies the certificate; Validating the embedded public key;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;User writes the message and presses &amp;lsquo;send&amp;rsquo;;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Users&amp;rsquo; user agent encrypts the message with the other users&amp;rsquo; public key and hands it off to the site for delivery; The site only receives the encryted data;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Other user gets the message and decrypt it with their private key;&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;As the message is encrypted with the other users&amp;rsquo; public key, only the&lt;br /&gt;
intended recipient can decrypt and read the message. Not even the site&lt;br /&gt;
operator cannot read the contents of the message. All they know is&lt;br /&gt;
that one user sends a message to another. If those users did not&lt;br /&gt;
provide their real name at signup, the users stay anonymous.&lt;/p&gt;

&lt;p&gt;Here there is no trust needed. The user agent verifies that there is&lt;br /&gt;
only one certifcate in the world that bears the nickname of the&lt;br /&gt;
intended recipient. That&amp;rsquo;s easy to do with a PGP-like keystore. When&lt;br /&gt;
there is no double detected, it must be that of the poster.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>a subversive idea</title>
      <link>/blog/2013/09/05/a-subversive-idea</link>
      <pubDate>Thu, 05 Sep 2013 00:00:00 +0000</pubDate>
      
      <guid>/blog/2013/09/05/a-subversive-idea</guid>
      <description>

&lt;p&gt;In the previous blog &lt;a href=&#34;/blog/2013/08/31/the-holy-grail-of-cryptography&#34;&gt;The Holy Grail of Cryptography&lt;/a&gt;,&lt;br /&gt;
we&amp;rsquo;ve shown how you can validate keys when you know the person. Once&lt;br /&gt;
validated, that key enables the use of the secure channel.&lt;/p&gt;

&lt;p&gt;We&amp;rsquo;ve also shown how we can create a web site that lets total&lt;br /&gt;
strangers communicate securely between each other.  The web site acts&lt;br /&gt;
as introducer, letting strangers exchange keys and provides the transport&lt;br /&gt;
for the messages.&lt;/p&gt;

&lt;h2 id=&#34;separate-identity-from-transport&#34;&gt;Separate identity from transport&lt;/h2&gt;

&lt;blockquote&gt;
&lt;p&gt;Philosphically speaking, the secure channel is an abstract channel.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The secure channel is an abstract channel. It comes into existence at&lt;br /&gt;
the moment the public keys become validated to belong to the other person.&lt;/p&gt;

&lt;p&gt;The channel is not tied to a single transport mechanism. Although you&lt;br /&gt;
need a concrete transport to &lt;em&gt;use&lt;/em&gt; the channel, it is not tied to that&lt;br /&gt;
channel. The channel can be manifest in severel different forms.&lt;/p&gt;

&lt;p&gt;The first form is the channel that the web site offers. It offers to&lt;br /&gt;
transmit a message from one to the other. The sender encrypts the&lt;br /&gt;
message with the public key of the recipient so the site cannot learn&lt;br /&gt;
of the contents of the message. It can only forward the message to the&lt;br /&gt;
recipient. We are going to use that channel to create another one.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A dating site&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Suppose we run a dating site. Bob has seen Alice&amp;rsquo;s profile and they&lt;br /&gt;
have sent some private messages back and forth via the site. Bob&lt;br /&gt;
decides he wants to take it a step further and wants to talk to&lt;br /&gt;
her. He opens a ZRTP-listener on his own computer. It&amp;rsquo;s a protocol for&lt;br /&gt;
encrypted (confidential) voice and video chat. He does three things:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;He configures it that it only accepts connections that are&lt;br /&gt;
identified with the certificate of Alice. Thus, only Alice can call,&lt;br /&gt;
all others are rejected.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;He configures it with his dating-site certificate and private key,&lt;br /&gt;
so Alice can verify it&amp;rsquo;s that Bob from our dating site.&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;He sends Alice an encrypted message through the dating site in&lt;br /&gt;
which he specifies the ZRTP-endpoint, inviting her to place the call.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Then he waits until Alice places the call. (If she decides to do so).&lt;br /&gt;
When he receives a call, it can only be Alice as she&amp;rsquo;s the only one&lt;br /&gt;
with the private key that matches her certificate.&lt;/p&gt;

&lt;p&gt;Now they can talk in private. Not even the dating site learns that&lt;br /&gt;
they are calling. The site is not involved anymore. The call goes&lt;br /&gt;
direct from Alice&amp;rsquo;s computer to Bobs&amp;rsquo;..&lt;/p&gt;

&lt;p&gt;What we have done here is to use the dating site as &lt;em&gt;introducer&lt;/em&gt; between&lt;br /&gt;
two strangers so they can exchange public keys without ever having met&lt;br /&gt;
before.&lt;/p&gt;

&lt;p&gt;All it takes is a &lt;em&gt;public&lt;/em&gt; forum, a dating site, blog site or a comments&lt;br /&gt;
section at a newspaper to introduce strangers to each other so they can&lt;br /&gt;
communicate &lt;em&gt;privately&lt;/em&gt; via different concrete channels.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A single message is all it takes&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;A single message is all it takes to create a new secure channel when&lt;br /&gt;
you have an existing secure channel.&lt;/p&gt;

&lt;p&gt;Suppose the dating site went broke just before Bob wanted to invite&lt;br /&gt;
Alice for his call. The concrete transport that they&amp;rsquo;ve used so far is&lt;br /&gt;
gone. Bob doesn&amp;rsquo;t have to despair. The abstract channel is still in&lt;br /&gt;
place as both still have each others public keys.&lt;/p&gt;

&lt;p&gt;All Bob needs to do is to try to create a new concrete channel by&lt;br /&gt;
getting the invitation across to Alice.  Most likely there will be&lt;br /&gt;
some blogging sites that write about the demise of this dating&lt;br /&gt;
site. Bob can write a public comment at that blog that reads:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt; Dear Alice, I would love to get in contact with you. 
 Please call me at &amp;lt;endpoint&amp;gt;, you can recognize me 
 by my certificate.

 In anticipation, Bob
 &amp;lt;signed with Bob&#39;s dating site-certificate&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;He then plasters this message everywhere he expects her to see it. (It&lt;br /&gt;
helps Bob a lot if they&amp;rsquo;ve talked about hobbies and such.)  When Alice&lt;br /&gt;
eventually finds the message, she sees that the signature is from the&lt;br /&gt;
same Bob as the one on the dating site. If she wants, she can place&lt;br /&gt;
the call.&lt;/p&gt;

&lt;p&gt;What happened is that &amp;mdash; at the moment Alice has verified the signature on&lt;br /&gt;
Bobs public announcement &amp;mdash; the secure channel manifested itself.&lt;/p&gt;

&lt;h2 id=&#34;the-power-of-client-certificates&#34;&gt;The power of client certificates&lt;/h2&gt;

&lt;p&gt;The real power of client certificates is that they don&amp;rsquo;t get&lt;br /&gt;
invalidated when the website and its CA disappear.  You may lose a&lt;br /&gt;
concrete channel but when you have enough &lt;em&gt;independent&lt;/em&gt; other&lt;br /&gt;
channels, you won&amp;rsquo;t lose contact.&lt;/p&gt;

&lt;p&gt;The Eccentric protocol makes it easy to create these introducers, so&lt;br /&gt;
there is not a single identity to block.&lt;/p&gt;

&lt;p&gt;The rest of this web site is devoted to make this dream come true.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>walkthrough datingsite</title>
      <link>/blog/2013/06/12/walkthrough-datingsite</link>
      <pubDate>Wed, 12 Jun 2013 00:00:00 +0000</pubDate>
      
      <guid>/blog/2013/06/12/walkthrough-datingsite</guid>
      <description>

&lt;p&gt;This blog gives a simple walk through &amp;ldquo;The world&amp;rsquo;s mode secure dating site&amp;rdquo;.&lt;/p&gt;

&lt;p&gt;It&amp;rsquo;s full of technobabble talk of how the security system&lt;br /&gt;
operates. Feel free to ignore that at first reading.&lt;/p&gt;

&lt;p&gt;We assume that you&amp;rsquo;ve installed the &lt;a href=&#34;/blog/2013/06/07/run-it-yourself&#34;&gt;ecca-proxy&lt;/a&gt; as described.&lt;br /&gt;
If not, you&amp;rsquo;ll see some &lt;em&gt;Don&amp;rsquo;t panic&lt;/em&gt; messages. We describe those later.&lt;/p&gt;

&lt;h2 id=&#34;home-page&#34;&gt;Home page&lt;/h2&gt;

&lt;p&gt;This is the url for the dating site.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;http://dating.wtmnd.nl/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;If you enter this into your browser you&amp;rsquo;ll see this page.&lt;/p&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-home.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;It&amp;rsquo;s a bit boring, just some plain text, no images. However, the proxy&lt;br /&gt;
has done a lot of work already.&lt;/p&gt;

&lt;p&gt;It uses DNSSEC to resolve the hostname (dating.wtmnd.nl) into the&lt;br /&gt;
IP-address 94.142.241.226.&lt;/p&gt;

&lt;p&gt;It also uses a DANE, an extension protocol to lookup the&lt;br /&gt;
TLS-certificate of the server. Every connection from the ecca-proxy to&lt;br /&gt;
the site uses https under the hood. We have to deserve the claim&lt;br /&gt;
&lt;em&gt;&amp;lsquo;most secure&amp;rsquo;&lt;/em&gt; somehow.&lt;/p&gt;

&lt;p&gt;Now click on the button &amp;lsquo;The aliens&amp;rdquo;.&lt;/p&gt;

&lt;h2 id=&#34;the-aliens&#34;&gt;The aliens&lt;/h2&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-aliens.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;Here is the list of aliens. This page is visible without logging in&lt;br /&gt;
yet. Click one of the aliens and you see the detail page. It doen&amp;rsquo;t&lt;br /&gt;
have much details, as we want to showcase the technology behind&lt;br /&gt;
eccntric authentication. The most important thing is the &amp;ldquo;Compose a&lt;br /&gt;
Poem&amp;rdquo; button.&lt;/p&gt;

&lt;p&gt;If you have an account you can send encrypted messages to other&lt;br /&gt;
participants. And you can receive messages too. To create an account,&lt;br /&gt;
press the &amp;lsquo;Your profile&amp;rsquo; button at the top.&lt;/p&gt;

&lt;h2 id=&#34;signing-up&#34;&gt;signing up&lt;/h2&gt;

&lt;p&gt;Here it turns ugly. Although only the page layout. What we get is a&lt;br /&gt;
page generated by the Ecca-proxy user agent. It is your computer that&lt;br /&gt;
asks you what to do. The dating site just waits until we return with a&lt;br /&gt;
valid account. It tells us with the &lt;em&gt;401 - Eccentric Authentication&lt;br /&gt;
required&lt;/em&gt; that it wants an anonymous client certificate, signed by&lt;br /&gt;
it&amp;rsquo;s own CA. See &lt;a href=&#34;/eccentric-authentication/anonymous_logins&#34;&gt;Anonymous Logins&lt;/a&gt;.&lt;/p&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-signup.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;There are three options on the page.&lt;/p&gt;

&lt;p&gt;The first option the proxy offers me (the user) to log in with my&lt;br /&gt;
existing account (guidow). Pressing that button tells the proxyt that&lt;br /&gt;
we want all subsequent connection to the dating site with that&lt;br /&gt;
account. Behind that account, the proxy logs in with the client&lt;br /&gt;
certificate.&lt;/p&gt;

&lt;p&gt;The second option allows me to sign up for a new account. I come up&lt;br /&gt;
with a nickname and press the &amp;lsquo;Register&amp;rsquo; button. The proxy (running on&lt;br /&gt;
my own computer) will create a new private key, and registers the&lt;br /&gt;
public key at the site&amp;rsquo;s own Certificate Authority.  It checks if the&lt;br /&gt;
nickname is unique and signs it. Our proxy receives the certificate&lt;br /&gt;
and uses that to log in at the site.&lt;/p&gt;

&lt;p&gt;Notice there are two components: The site itself and the Local Certificate Authority.&lt;/p&gt;

&lt;p&gt;Finally, there is a third option to register anonymously. My proxy&lt;br /&gt;
will come up with a unique name &amp;lsquo;anon-&lt;number&gt;&amp;rsquo; and registers an&lt;br /&gt;
account with that name at the Local CA.&lt;/p&gt;

&lt;p&gt;We take that third - anonymous - option.&lt;/p&gt;

&lt;h2 id=&#34;signed-up-manage-profile&#34;&gt;signed up - manage profile&lt;/h2&gt;

&lt;p&gt;With a second or two, we are back at the dating site. And the proxy has logged me in.&lt;/p&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-logged-in.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;The top part of the browser window is the part of the Ecca proxy. It shows that I&amp;rsquo;m logged in at the dating site, with the account it has created for me. There is also a log out button  and a link to the proxy&amp;rsquo;s management page where we can see all accounts we have for all sites where we have accounts.&lt;/p&gt;

&lt;p&gt;The blue part of the page is the dating site. It shows the typical questions to create a profile. Select some at will and press Engage. That sets the profile at the dating site. Now we are ready to comminicate.&lt;/p&gt;

&lt;h2 id=&#34;sending-messages&#34;&gt;sending messages&lt;/h2&gt;

&lt;p&gt;Click on the &amp;lsquo;Aliens&amp;rsquo; button, select one of them to whom you want to&lt;br /&gt;
write a Vogon Poem. Click on the name to get to the details&lt;br /&gt;
page. There, click &amp;lsquo;Compose a Poem&amp;rsquo;.&lt;/p&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-compose-poem.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;Here we are at another simple looking but interesting screen. It&amp;rsquo;s just a textbox and a Deliver-button. All the interesting things happen - invisible - inside the ecca-proxy.&lt;/p&gt;

&lt;p&gt;It&amp;rsquo;s the ecca-proxy that receives the message and two hidden parameters that the dating site put there. (The site and the proxy work together on this.)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;&amp;lt;form method=&amp;quot;POST&amp;quot;&amp;gt;
  &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;encrypt&amp;quot; value=&amp;quot;required&amp;quot;&amp;gt;
  &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;certificate_url&amp;quot; 
     value=&amp;quot;https://register-dating.wtmnd.nl:10444/get-certificate? ...
       ...  nickname=guidow%40%40dating.wtmnd.nl&amp;quot;&amp;gt;
  &amp;lt;br&amp;gt;
  &amp;lt;textarea name=&amp;quot;cleartext&amp;quot; rows=&amp;quot;8&amp;quot; cols=&amp;quot;80&amp;quot;&amp;gt;
     I love the size of your ... ehm ... spaceship. Wanna dance?
  &amp;lt;/textarea&amp;gt;&amp;lt;br&amp;gt;
  &amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;submit&amp;quot; value=&amp;quot;Deliver&amp;quot;&amp;gt;
&amp;lt;/form&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This tells the proxy to encrypt the data in the form with the public&lt;br /&gt;
key it can find in the in the certificate at the given URL.  The proxy&lt;br /&gt;
fetches the certificate, encrypts the data with it and submits it to&lt;br /&gt;
the dating site.&lt;/p&gt;

&lt;p&gt;The dating site receives the encrypted text! It cannot read the&lt;br /&gt;
contents of the message. Only the recipient can.  Now we wait for the&lt;br /&gt;
recipient to read our message and reply&amp;hellip;.&lt;/p&gt;

&lt;p&gt;&amp;hellip; and wait &amp;hellip;&lt;/p&gt;

&lt;p&gt;Oh, wait, as I control both accounts, both the anonymous and the guidow-account,&lt;br /&gt;
I&amp;rsquo;ve effectively sent a message to myself. We have to switch the&lt;br /&gt;
account.&lt;/p&gt;

&lt;h2 id=&#34;manage-accounts&#34;&gt;manage accounts&lt;/h2&gt;

&lt;p&gt;First press the logout-button in the top part. You get to the Eccentric Authentication Handler.&lt;/p&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-manage.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;As you can see, I have seven accounts at three sites.&lt;/p&gt;

&lt;h2 id=&#34;receiving-encrypted-message&#34;&gt;receiving encrypted message&lt;/h2&gt;

&lt;p&gt;Click on the dating.wtmnd.nl link. You get back to the home page. Now&lt;br /&gt;
press the &amp;lsquo;Read messages&amp;rsquo; button.&lt;/p&gt;

&lt;p&gt;The site will want to know as whom we want to log in. The proxy offers&lt;br /&gt;
our two accounts for this site, not the accounts we have at the&lt;br /&gt;
other two sites.&lt;/p&gt;

&lt;p&gt;Now we click &amp;lsquo;guidow&amp;rsquo;, to log in with that identity. The site receives&lt;br /&gt;
our certificate with the name, looks up the messages and presents what&lt;br /&gt;
it has for us. It looks like this:&lt;/p&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-ciphertext.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;That gibberish is what the dating site received from the ecca-proxy of&lt;br /&gt;
the sender. It looks like a Vogon Poem indeed.&lt;/p&gt;

&lt;p&gt;Below it is the link to decode. Press it and it will tell the&lt;br /&gt;
ecca-proxy to decode the message with the private key is has for my&lt;br /&gt;
guidow-account. Then the proxy shows me what it has decoded.&lt;/p&gt;









&lt;span class=&#34;caption-wrapper&#34;&gt;
  &lt;img class=&#34;caption&#34; src=&#34;/images/dating-cleartext.png&#34; title=&#34;&#34; alt=&#34;&#34;&gt;
  &lt;span class=&#34;caption-text&#34;&gt;&lt;/span&gt;
&lt;/span&gt;


&lt;p&gt;Just what we expected.&lt;/p&gt;

&lt;h2 id=&#34;conclusion&#34;&gt;conclusion&lt;/h2&gt;

&lt;p&gt;At no point has the dating site asked for an email address, real names&lt;br /&gt;
or identities. When it would be paid service, it can do so for listing&lt;br /&gt;
the account name in the list of aliens. Or it could require payment&lt;br /&gt;
for the alien-to-alien communication.&lt;/p&gt;

&lt;p&gt;The user stays completely anonymous.&lt;/p&gt;

&lt;p&gt;Here we&amp;rsquo;ve shown a way to create client certificates to log in to a&lt;br /&gt;
web site. All the hard work is done by the Ecca-proxy. The user specifies the actions and the accounts to use.&lt;/p&gt;

&lt;p&gt;How could it be more user friendly?&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>we need better computers</title>
      <link>/blog/2013/06/01/we-need-better-computers</link>
      <pubDate>Sat, 01 Jun 2013 00:00:00 +0000</pubDate>
      
      <guid>/blog/2013/06/01/we-need-better-computers</guid>
      <description>

&lt;p&gt;On the mailing list (libertationtech@lists.stanford.edu) Seth David Schoen wrote:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Arvind Narayanan has just pushed a two-part paper in &lt;em&gt;IEEE Security&amp;amp;&lt;br /&gt;
Privacy&lt;/em&gt; about exactly this point:&lt;/p&gt;

&lt;p&gt;&lt;a href=&#34;http://randomwalker.info/publications/crypto-dream-part1.pdf&#34;&gt;http://randomwalker.info/publications/crypto-dream-part1.pdf&lt;/a&gt;&lt;br /&gt;
&lt;a href=&#34;http://randomwalker.info/publications/crypto-dream-part2.pdf&#34;&gt;http://randomwalker.info/publications/crypto-dream-part2.pdf&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Narayanan argues that &amp;ldquo;a mis-alignment of incentives frequently occurs&amp;rdquo;&lt;br /&gt;
to discourage the use of cryptography to protect privacy (particularly&lt;br /&gt;
in the strongest end-to-end sense) and that there is minimal demand for&lt;br /&gt;
protecting data against intermediaries and service providers.&lt;/p&gt;

&lt;p&gt;(I find this paper extremely depressing, but it does describe actual&lt;br /&gt;
events.  If I were writing this paper, I would continue to ask how&lt;br /&gt;
we can increase demand for cryptographic privacy mechanisms rather&lt;br /&gt;
than declaring defeat.)&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The point he refers to is that the world has progressed cryptography&lt;br /&gt;
to secure communications against tampering so we can have safe&lt;br /&gt;
electronic banking but there has hardly any progress with respect to&lt;br /&gt;
improving privacy.&lt;/p&gt;

&lt;p&gt;Here is my reply to that list:&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;m not so depressed by it. In fact the paper clearly outlines the problems and the way out.&lt;/p&gt;

&lt;p&gt;But there is the crypto-trap, it must be perfect or it is useless.  It&lt;br /&gt;
doesn&amp;rsquo;t have to be that way. Here is a simple way to start. We won&amp;rsquo;t&lt;br /&gt;
start to solve the privacy problem. We attack other simpler problems&lt;br /&gt;
with crypto. From there we can venture into more privacy.&lt;/p&gt;

&lt;p&gt;Here&amp;rsquo;s how.&lt;/p&gt;

&lt;p&gt;With anonymous client certificates, we can solve the password problem&lt;br /&gt;
when people sign up for an account. It eases the usability of websites&lt;br /&gt;
(no more hassle with passwords or email addresses) and it makes site&lt;br /&gt;
building easier as client side crypto is already part of every mature&lt;br /&gt;
web server.&lt;/p&gt;

&lt;p&gt;By making it easier, time will come that passwords are considered more&lt;br /&gt;
expensive than client certificates. The push comes from companies that&lt;br /&gt;
need to pinch money.&lt;/p&gt;

&lt;p&gt;Once we&amp;rsquo;ve replaced password authentication, the same client&lt;br /&gt;
certificates can be used to write authenticated messages. At first, it&lt;br /&gt;
could be used by banks to communicate with their clients. By using&lt;br /&gt;
client certificates as third-level authentication (in addition to&lt;br /&gt;
pin-based TAN-generators) it can defeat most phishing attempts. Even&lt;br /&gt;
if the customer falls for it and tries to log in at the phishers&amp;rsquo;&lt;br /&gt;
site, the bank detects it and blocks the account.&lt;/p&gt;

&lt;p&gt;Here the demand for crypto comes from the financial pressure on banks to solve the phishing problem.&lt;/p&gt;

&lt;p&gt;The end user, although he has a wish to protect him/herself against&lt;br /&gt;
advertisment networks, neighbours doesn&amp;rsquo;t have a clue on how to get&lt;br /&gt;
that protection. He doesn&amp;rsquo;t need it. He needs computers that do the&lt;br /&gt;
protection for him. The system above to end the password problem and&lt;br /&gt;
phising problem is aligned with the financial pressure.&lt;/p&gt;

&lt;p&gt;The things we need to get there are pointed out by Arvind Narayanan in his papers too:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;We need completely automated key management, invisible to the user;&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;We need computers that are trustworthy.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The good news, is: there is light at the end of the tunnel.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ve been working on the first part with my eccentric-authentication&lt;br /&gt;
&amp;lsquo;protocol&amp;rsquo;. It shows what we can do with anonymous client&lt;br /&gt;
certificates.&lt;/p&gt;

&lt;p&gt;And there are plenty of people working on the trustworthy&lt;br /&gt;
computers. Just like the drive to virtualisation on the server is a&lt;br /&gt;
drive to compartmentalization, we see a rise of operating systems that&lt;br /&gt;
bring that to client computers: genode.org, coyotos.org, qubes-os.org.&lt;/p&gt;

&lt;p&gt;With the high speed of replacement in the mobile and tablet markets,&lt;br /&gt;
it offers opportunities that better not be wasted.&lt;/p&gt;

&lt;h2 id=&#34;example&#34;&gt;example&lt;/h2&gt;

&lt;p&gt;Here is an example of how two current trends might help to align the&lt;br /&gt;
security and privacy alignment.&lt;/p&gt;

&lt;blockquote&gt;
&lt;ul&gt;
&lt;li&gt;To pick up on Narayanan&amp;rsquo;s argument, even if this kind of service is&lt;br /&gt;
legal and even if carriers thought it was a reasonable service for&lt;br /&gt;
them to offer, we might expect problems with demand for it.  One&lt;br /&gt;
problem for the level of demand for blinded e-cash payments for&lt;br /&gt;
telecommunications services is that if users lose their mobile&lt;br /&gt;
devices and don&amp;rsquo;t have suitable backups, they lose all of their&lt;br /&gt;
prepaid account value (because it existed only in the form of e-cash&lt;br /&gt;
on the devices).&lt;br /&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;

&lt;p&gt;To answer this with another current development: real time synchronization.&lt;/p&gt;

&lt;p&gt;Many people already use dropbox to synchronize their phone with their&lt;br /&gt;
PC. Combine that with a fingerprint scanner (and pincode) at the phone&lt;br /&gt;
to identify yourself to the phone and the loss/theft of the phone&lt;br /&gt;
won&amp;rsquo;t mean the loss of data nor e-cash.&lt;/p&gt;

&lt;p&gt;[1]. &lt;a href=&#34;http://eccentric-authentication.org/&#34;&gt;http://eccentric-authentication.org/&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>why we still use passwords</title>
      <link>/blog/2012/11/21/why-we-still-use-passwords</link>
      <pubDate>Wed, 21 Nov 2012 00:00:00 +0000</pubDate>
      
      <guid>/blog/2012/11/21/why-we-still-use-passwords</guid>
      <description>&lt;p&gt;&lt;em&gt;Why we still use passwords&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most articles about security and passwords make the trade off between&lt;br /&gt;
security and convenience. The authors state that you can have it&lt;br /&gt;
secure or convenient but not both.&lt;/p&gt;

&lt;p&gt;There is actually another trade off to make: &lt;strong&gt;the trade off between&lt;br /&gt;
security and privacy.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The world of cryptography knows of server certificates and client&lt;br /&gt;
certificates. Server certificates allow users to verify that they are&lt;br /&gt;
connected to the right servers and not to a man-in-the-middle attacker. I&amp;rsquo;ll&lt;br /&gt;
leave out the problems like Diginotar that undermine this security.&lt;/p&gt;

&lt;p&gt;Client certificates identify users to servers. To make it work, a user&lt;br /&gt;
needs to have his credentials (ie. passport) validated against his&lt;br /&gt;
person and when the Certificate Authority is satisfied, they sign a&lt;br /&gt;
certificate. The problem is that the certificate binds the full -real&lt;br /&gt;
world- identity of the user. To use the certificate means to fully&lt;br /&gt;
identify yourself at every internet login, with every message. It&lt;br /&gt;
obliterates all privacy you have.&lt;/p&gt;

&lt;p&gt;Obliterating privacy is a too high a price for most people to gain&lt;br /&gt;
some extra security. On top of that, you have to pay a lot to get this&lt;br /&gt;
privacy-smashing certificate.&lt;/p&gt;

&lt;p&gt;I believe that this trade off is the reason we still use passwords. It&lt;br /&gt;
offers the right balance between convenience and privacy, but at an&lt;br /&gt;
alarming price for security.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>asimovs laws for security</title>
      <link>/blog/2012/11/09/asimovs-laws-for-security</link>
      <pubDate>Fri, 09 Nov 2012 00:00:00 +0000</pubDate>
      
      <guid>/blog/2012/11/09/asimovs-laws-for-security</guid>
      <description>&lt;p&gt;For any computer security to work effectively, you need to be able to&lt;br /&gt;
trust your computer to put &lt;em&gt;your&lt;/em&gt; interests above those of anyone&lt;br /&gt;
else. If your cleaning lady can access any data on it while you are&lt;br /&gt;
absent, it fails basic security.&lt;/p&gt;

&lt;p&gt;If you browse the web and it falls victim to a drive-by download and&lt;br /&gt;
installs spyware, you&amp;rsquo;re hosed as well.&lt;/p&gt;

&lt;p&gt;If your computer detects that you do something that would jeopardize&lt;br /&gt;
the security and privacy of your data on it, your computer should&lt;br /&gt;
prevent you from doing it. If you really insist, of course it must&lt;br /&gt;
comply.&lt;/p&gt;

&lt;p&gt;It&amp;rsquo;s like Asimovs&amp;rsquo; Law of Robotics but for security systems:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Your computer obeys you, and only you;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Your computer protects you from any harm to your data on it;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;Your computer destroys all the data on it when it cannot fulfill&lt;br /&gt;
the requirements for rule 1 and 2.&lt;br /&gt;
&lt;br /&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;On 1. Your computer obeys you, and only you.&lt;/p&gt;

&lt;p&gt;We take this for granted but it is far from reality. In fact, you may&lt;br /&gt;
not even be the real boss. If you have an iPhone, you live in the&lt;br /&gt;
&amp;lsquo;gilded cage&amp;rsquo; that Apple has set up for you. They decide what you can&lt;br /&gt;
do with your phone. If you have an Amazon Kindle, they may revoke your&lt;br /&gt;
license to any &amp;lsquo;books&amp;rsquo; you have &amp;lsquo;bought&amp;rsquo; and remotely (from their&lt;br /&gt;
offices) delete those &amp;lsquo;books&amp;rsquo; from your device. Search for &amp;lsquo;Amazon&lt;br /&gt;
deletes 1984&amp;rsquo;.&lt;/p&gt;

&lt;p&gt;On 2. Your computer protects you from any harm to your data on it;&lt;/p&gt;

&lt;p&gt;Whatever you do with your computer, which website you visit, or what&lt;br /&gt;
games and screen savers you might download, these cannot touch your&lt;br /&gt;
data, at all.&lt;/p&gt;

&lt;p&gt;Each app gets run from a sandbox that prevents it from accessing any&lt;br /&gt;
data you have. The app doesn&amp;rsquo;t get access to the file system, let&lt;br /&gt;
alone any hardware, such as the modem to dial numbers or the GPS. It&lt;br /&gt;
doesn&amp;rsquo;t even get access to the website where it was downloaded from.&lt;/p&gt;

&lt;p&gt;It cannot list a single phone number on your phone.&lt;/p&gt;

&lt;p&gt;If the app needs anything, it can ask your computer for it. If the app&lt;br /&gt;
is a screen saver, you tell your computer that it is a screen&lt;br /&gt;
saver. Your computer knows it can start it after some idle&lt;br /&gt;
period. Your computer gives it a screen buffer to fill and some&lt;br /&gt;
cpu-time to do the work and your computer displays the screen buffer&lt;br /&gt;
on behalf of the screen saver. This will continue until you press a&lt;br /&gt;
button. The screen saver app will be killed and that&amp;rsquo;s it.&lt;/p&gt;

&lt;p&gt;If the screen saver ever tries to access the phone book, your computer&lt;br /&gt;
will abort the screen saver with a message to you stating that it&lt;br /&gt;
discovered the screen saver in the cookie jar. (Rule 2).&lt;/p&gt;

&lt;p&gt;You can start the screen saver again and again (rule 1) but that app&lt;br /&gt;
will never get to your phone book. (Rule 2). Of course you have the&lt;br /&gt;
option to give your phone book to the screen saver app (Rule 1) but&lt;br /&gt;
the consequences are yours, especially if the screen saver then asks&lt;br /&gt;
for internet access to CIA.gov or facebook.com.&lt;/p&gt;

&lt;p&gt;A screen saver is very simple. It just needs a display buffer and some&lt;br /&gt;
cpu-time. It&amp;rsquo;s a good example to show the rules. Now we exand to a&lt;br /&gt;
more complicated app. A photo manipulation app.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;A photo manipulation app&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Once we&amp;rsquo;ve learned the basic security requirements for a screen saver&lt;br /&gt;
we can make it more complicated. We download an instagram-like-app.&lt;/p&gt;

&lt;p&gt;It allows to manipulate an image, either from the phone&amp;rsquo;s memory or&lt;br /&gt;
taken fresh from the camera. When we are finished with our&lt;br /&gt;
editing we send it along to someone or some site.&lt;/p&gt;

&lt;p&gt;If you want to take a picture to edit, you press the&lt;br /&gt;
take-picture on the app. It ask your computer to take a picture and&lt;br /&gt;
deliver it to the app. Your computer starts the camera-software, tells&lt;br /&gt;
you that the instagram-app asked for it and lets you take a picture&lt;br /&gt;
that it delevers to the app. At any time you can abort this operation&lt;br /&gt;
(Rule 1). And you are sure that the instagram app only gets the&lt;br /&gt;
picture just taken. (Rule 2).&lt;/p&gt;

&lt;p&gt;If you wish to edit a previously taken picture, press the button for&lt;br /&gt;
that in in the app, it will ask your operating system for the&lt;br /&gt;
pictures. Your operating system will ask you for some pictures for the&lt;br /&gt;
app and delivers only the one(s) you&amp;rsquo;ve selected to the app. (Rule&lt;br /&gt;
1). The app doesn&amp;rsquo;t even know there might be more photos. It only&lt;br /&gt;
knows what you give it. This is called a powerbox in Capability design.&lt;/p&gt;

&lt;p&gt;To manipulate the picture, the app needs: the picture, screen space to&lt;br /&gt;
show you the results, read user input to know what photo manipulations&lt;br /&gt;
you want to do. It also needs some storage space to stow the&lt;br /&gt;
intermediate and final results. Your computer provides it with&lt;br /&gt;
that. (Rule 1).&lt;/p&gt;

&lt;p&gt;The storage space is dedicated to the app. Only this app can reach&lt;br /&gt;
this storage space and only as long as the app runs. Whenever the app&lt;br /&gt;
finishes the storage space is given back to you. And you can select it&lt;br /&gt;
next time you run the app. Or you delete it. (Rule 1).&lt;/p&gt;

&lt;p&gt;When you are satisfied with the results of your photo-editing it is&lt;br /&gt;
time to send the image along. You press the publish-button in the&lt;br /&gt;
app. The app asks your computer to publish the image for it. Your&lt;br /&gt;
computer asks you where you want to have it published and does so. It&lt;br /&gt;
can also ask you to remember these details to automatically publish&lt;br /&gt;
any updates you make to the picture at any later date. (Rule 1).&lt;br /&gt;
Notice, the instagram app never gets to know to whom you&amp;rsquo;ve sent the&lt;br /&gt;
picture.&lt;/p&gt;

&lt;p&gt;On 3. Your computer destroys all the data on it when it cannot fulfill&lt;br /&gt;
   the requirements for rule 1 and 2.&lt;/p&gt;

&lt;p&gt;If you ever lose the computer (laptop/tablet/phone) in the train. It&lt;br /&gt;
will be found by someone. If it is found by the train employees you&lt;br /&gt;
can pick it up at the depot, for a small fee.&lt;/p&gt;

&lt;p&gt;If someone else takes it and who hasn&amp;rsquo;t the intent to call your&lt;br /&gt;
telephone number you&amp;rsquo;ve attached to the back. It still obeys rules 1&lt;br /&gt;
and 2. It only obeys you and it protects your data. The &amp;lsquo;thief&amp;rsquo; won&amp;rsquo;t&lt;br /&gt;
get to control it. Remember the screensaver, your computer requires&lt;br /&gt;
your password/pincode and perhaps your image in front of the camera&lt;br /&gt;
before it allows access to the content.&lt;/p&gt;

&lt;p&gt;As you have synchronised the device with your other devices, these&lt;br /&gt;
other ones already have all your latest photo edits. When you discover&lt;br /&gt;
the loss of your device, you order it to destroy all data on it. As&lt;br /&gt;
soon as the thief lets the device connect to the internet, your device&lt;br /&gt;
wipes all the data on it ceases all operation. It really makes the&lt;br /&gt;
theft usesless as all the thief has is a dead device. Only you can&lt;br /&gt;
revive the thing from the group of other devices it belonged to.&lt;/p&gt;

&lt;p&gt;That&amp;rsquo;s what I call secure computing.&lt;/p&gt;
</description>
    </item>
    
  </channel>
</rss>
