summaryrefslogtreecommitdiff
path: root/presentations/comprehensive/main.tex
blob: e4c4022dcd6e0bcfa6514b8eca811245ea0fdfb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
\documentclass[fleqn,xcolor={usenames,dvipsnames}]{beamer}
\usepackage{amsmath}
\usepackage{multimedia}
\usepackage[utf8]{inputenc}
\usepackage{framed,color,ragged2e}
\usepackage[absolute,overlay]{textpos}
\definecolor{shadecolor}{rgb}{0.8,0.8,0.8}
\usetheme{boxes}
\setbeamertemplate{navigation symbols}{}
\usepackage{xcolor}
\usepackage{tikz,eurosym}
\usepackage[normalem]{ulem}
\usepackage{listings}

% CSS
\lstdefinelanguage{CSS}{
  basicstyle=\ttfamily\scriptsize,
  keywords={color,background-image:,margin,padding,font,weight,display,position,top,left,right,bottom,list,style,border,size,white,space,min,width, transition:, transform:, transition-property, transition-duration, transition-timing-function},
  sensitive=true,
  morecomment=[l]{//},
  morecomment=[s]{/*}{*/},
  morestring=[b]',
  morestring=[b]",
  alsoletter={:},
  alsodigit={-}
}

% JavaScript
\lstdefinelanguage{JavaScript}{
  basicstyle=\ttfamily\scriptsize,
  morekeywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
  morecomment=[s]{/*}{*/},
  morecomment=[l]//,
  morestring=[b]",
  morestring=[b]'
}

\lstdefinelanguage{HTML5}{
  basicstyle=\ttfamily\scriptsize,
  language=html,
  sensitive=true,
  alsoletter={<>=-},
  morecomment=[s]{<!-}{-->},
  tag=[s],
  otherkeywords={
  % General
  >,
  % Standard tags
	<!DOCTYPE,
  </html, <html, <head, <title, </title, <style, </style, <link, </head, <meta, />,
	% body
	</body, <body,
	% Divs
	</div, <div, </div>,
	% Paragraphs
	</p, <p, </p>,
	% scripts
	</script, <script,
  % More tags...
  <canvas, /canvas>, <svg, <rect, <animateTransform, </rect>, </svg>, <video, <source, <iframe, </iframe>, </video>, <image, </image>
  },
  ndkeywords={
  % General
  =,
  % HTML attributes
  charset=, src=, id=, width=, height=, style=, type=, rel=, href=,
  % SVG attributes
  fill=, attributeName=, begin=, dur=, from=, to=, poster=, controls=, x=, y=, repeatCount=, xlink:href=,
  % CSS properties
  margin:, padding:, background-image:, border:, top:, left:, position:, width:, height:,
	% CSS3 properties
  transform:, -moz-transform:, -webkit-transform:,
  animation:, -webkit-animation:,
  transition:,  transition-duration:, transition-property:, transition-timing-function:,
  }
}

\lstdefinelanguage{JavaScript}{
  basicstyle=\ttfamily\scriptsize,
  keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break, for},
  keywordstyle=\color{blue}\bfseries,
  ndkeywords={class, export, boolean, throw, implements, import, this},
  ndkeywordstyle=\color{darkgray}\bfseries,
  identifierstyle=\color{black},
  sensitive=false,
  comment=[l]{//},
  morecomment=[s]{/*}{*/},
  commentstyle=\color{purple}\ttfamily,
  stringstyle=\color{red}\ttfamily,
  morestring=[b]',
  morestring=[b]"
}

\usetikzlibrary{shapes,arrows}
\usetikzlibrary{positioning}
\usetikzlibrary{calc}

\title{Enabling Secure Web Payments with GNU Taler}
%\subtitle{}

\setbeamertemplate{navigation symbols}{\includegraphics[width=1cm]{inria.pdf} \includegraphics[width=0.5cm]{gnu.png}\hfill}
\setbeamertemplate{footline}[frame number]
%\setbeamercovered{transparent=1}

\author[F. Dold]{J. Burdges, {\bf F. Dold}, C. Grothoff, M. Stanisci}
\date{25. 1. 2017}
\institute{Inria / The GNU Project}


\begin{document}

\justifying
\begin{frame}[plain]
\titlepage

\vfill
\begin{center}
\tiny
``I think one of the big things that we need to do, is we need
to get a way from true-name payments on the Internet. The credit
card payment system is one of the worst things that happened for the
user, in terms of being able to divorce their access from their
identity.'' \hfill --Edward Snowden, IETF 93 (2015)
\end{center}
\end{frame}

\begin{frame}
  \frametitle{Motivation}
  \centering
    \includegraphics[height=6cm]{cash-register-rupee.jpg}
  \begin{center}
    \Large \textbf{Modern economies need currency ...}
  \end{center}
\end{frame}


\begin{frame}{Are credit/debit cards the solution?}
  \begin{itemize}
    % not possible to run your own infrastructure
    \item Oligopoly of a few big, foreign companies
    \item High fees
    \item Cumbersome and expensive for small, frequent online transactions
    \item False positives on fraud detection turns customers away
  \end{itemize}
  \hfill  \includegraphics[width=0.7\textwidth]{cc-volume.jpg}
\end{frame}


\begin{frame}{Bitcoin}

\begin{itemize}
\item Unregulated payment system and currency:
\item[] $\Rightarrow$ lack of regulation is a feature!
\item Implemented in free software
\item Decentralised peer-to-peer system   \pause
\item Decentralised banking requires solving Byzantine consensus
\item Creative solution: tie initial accumulation to solving consensus \pause
\item[] $\Rightarrow$ Proof-of-work advances ledger
\item[] $\Rightarrow$ Slow and very expensive banking
\end{itemize}
\end{frame}


\begin{frame}
  \frametitle{\includegraphics[height=0.5cm]{pics/bitcoin.jpeg}?}
  \centering
\noindent
\includegraphics[width=\textwidth]{pics/btc-transaction-cost.png}

Current average transaction value: $\approx$ 1000 USD
\end{frame}


\begin{frame}
  \frametitle{\includegraphics[height=0.5cm]{pics/zerocoin.png}?}

Cryptography is rather primitive:
\begin{center}
  {\bf All Bitcoin transactions are public and linkable!}
\end{center}

\begin{itemize}
\item[] $\Rightarrow$ no privacy guarantees
\item[] $\Rightarrow$ enhanced with ``laundering'' services
\end{itemize}
ZeroCoin, CryptoNote (Monero) and ZeroCash (ZCoin) offer anonymity.
\end{frame}


\begin{frame}
  \vfill
\begin{center}
{\bf Is society ready for an anarchistic economy?}
\end{center}
\vfill
\end{frame}


\begin{frame}{GNU Taler}
  \vfill
  \begin{center}
    {\huge {\bf Digital} cash, made \textbf{socially responsible}.}
  \end{center}
  \vfill
  \begin{center}
  \includegraphics[scale=0.1]{pics/logo_taler.pdf}
  \end{center}
  \vfill
  \begin{center}
    Taxable, Anonymous, Libre, Practical, Resource Friendly
  \end{center}
 \vfill
 \vfill
\ %
\end{frame}


\begin{frame}
\frametitle{Architecture of GNU Taler}
\begin{figure}[h]
\centering
\begin{tikzpicture}
 \tikzstyle{def} = [node distance= 5em and 7em, inner sep=1em, outer sep=.3em];
 \node (origin) at (0,0) {};
 \node (exchange) [def,above=of origin,draw]{Exchange};
 \node (customer) [def, draw, below left=of origin] {Customer};
 \node (merchant) [def, draw, below right=of origin] {Merchant};
 \node (auditor) [def, draw, above right=of origin]{Auditor};

 \tikzstyle{C} = [color=black, line width=1pt]

 \draw [<-, C] (customer) -- (exchange) node [midway, above, sloped] (TextNode) {withdraw coins};
 \draw [<-, C] (exchange) -- (merchant) node [midway, above, sloped] (TextNode) {deposit coins};
 \draw [<-, C] (merchant) -- (customer) node [midway, above, sloped] (TextNode) {spend coins};
 \draw [<-, C] (exchange) -- (auditor) node [midway, above, sloped] (TextNode) {verify};
\end{tikzpicture}
\end{figure}
\end{frame}


\begin{frame}{Usability of Taler}
  \vfill
  \begin{center}
    \url{https://demo.taler.net/}
  \end{center}
  \begin{enumerate}
  \item Install Chrome extension.
  \item Visit the {\tt bank.demo.taler.net} to withdraw coins.
  \item Visit the {\tt shop.demo.taler.net} to spend coins.
  \end{enumerate}
  \vfill
\end{frame}


\begin{frame}{Value proposition: Customer}
  \begin{itemize}
  \item Convenient: pay with one click
  \item Guaranteed: never fear being rejected by false-positives in the fraud detection
  \item Secure: like cash, except no worries about counterfeit
  \item Privacy-preserving: payment requires no personal information
  \item Privacy still holds with government-mandated weak encryption
  \item Stable: no currency fluctuations, pay in traditional currencies
  \item Free software: no hidden ``gadgets'', third parties can verify
  \end{itemize}
\end{frame}


\begin{frame}{Value proposition: Merchant}
  \begin{itemize}
  \item Fast: transactions at Web-speed
  \item Secure: signed contracts, no legitimate customer rejected by fraud decection
  \item Free software: competitive pricing and support
  \item Low fees: efficient protocol + no fraud $=$ low costs
  \item Flexible: any currency, any amount
  \item Ethical: no fluctuation risk, no pyramid scheme, not suitable for illegal business
  \item Legal: complies with Regulation (EU) 2016/679 (GDPR)\footnote{Requires privacy by design and data minimization for all data processing in Europe after 25.5.2018.}
  \end{itemize}
\end{frame}


\begin{frame}{Value proposition: Government}
  \begin{itemize}
  \item Free software $=$ commons: no monopoly, preserve independence
  \item Taxabiliy: reduces black markets
    \begin{itemize}
      \item merchant income is visible from deposit, can be taxed
      \item limitation: sharing coins among friends and family
    \end{itemize}
  \item Efficiency: high transaction costs hurt the economy
  \item Security: signed contracts, no counterfeit
  \item Audited: limits fraud potential
  \item Privacy: protection against foreign espionage
  \end{itemize}
  \hfill  \includegraphics[width=4cm]{pics/blog_nsa_swift.jpg}
\end{frame}


\begin{frame}{Detailed Architecture}
  \centering
    \includegraphics[width=\textwidth]{taler-arch-full.pdf}
\end{frame}

\begin{frame}{Merchant Integration: Wallet Detection}
 \lstset{language=JavaScript}
 \lstinputlisting{figs/taler-presence-js.html}
% \caption{Sample code to detect the Taler wallet. Allowing the
%  Web site to detect the presence of the wallet leaks one bit
%  of information about the user. The above logic also works
%  if the wallet is installed while the page is open.}
%  \label{listing:presence}
\end{frame}


\begin{frame}{Merchant Integration: Payment Request}
% \begin{figure}[p!]
 \lstset{language=HTML5}
 \lstinputlisting{figs/taler-402.html}
%  \caption{Sample HTTP response to prompt the wallet to show an offer.}
%   \label{listing:http-contract}
% \end{figure}

% \begin{figure*}[p!]
% \lstset{language=HTML5}
% \lstinputlisting{figs/taler-contract.html}
% \caption{Sample JavaScript code to prompt the wallet to show an offer.
%          Here, the contract is fetched on-demand from the server.
%          The {\tt taler\_pay()} function needs to be invoked
%          when the user triggers the checkout.}
% \label{listing:contract}
% \end{figure*}
\end{frame}


\begin{frame}{Merchant Integration: Contract}
  % \begin{figure*}[t!]
  {\tiny
 \lstset{language=JavaScript}
 \lstinputlisting{figs/taler-contract.json}
%   \caption{Minimal Taler contract over a digital article with a value of \EUR{0.10}. The merchant will pay transaction fees up to \EUR{0.01}.  The hash over the wire transfer information was truncated to make it fit to the page.}
%   \label{listing:json-contract}
 % \end{figure*}
 }
\end{frame}


\begin{frame}{How does it work?}
We use a few ancient constructions:
  \begin{itemize}
  \item Cryptographic hash function (1989)
  \item Blind signature (1983)
  \item Schnorr signature (1989)
  \item Diffie-Hellman key exchange (1976)
  \item Cut-and-choose zero-knowledge proof (1985)
  \end{itemize}
But of course we use modern instantiations.
\end{frame}



\begin{frame}{Current developments}
  \begin{itemize}
  \item Improving wallet (error handling, features, browser support)
  \item Ongoing work on exchange auditing
  \item Tutorial for merchants
  \item Tutorial for Web shop integration
  \item Looking into making better marketing materials and explanations for non-technical people
  \end{itemize}
  \vfill
  \begin{center}
    \url{https://docs.taler.net/}
  \end{center}
\end{frame}


\begin{frame}{Call to action}
  You can ...
  \begin{itemize}
  \item Tell people about Taler
  \item Read the documentation on \url{https://docs.taler.net/}
  \item See how Taler would integrate into your webshop
  \item Get a banking license and run an exchange \texttt{;-)}
  \item Talk to us on the \#gnunet IRC channel on freenode
  \end{itemize}
\end{frame}


%\begin{frame}{Community considerations}
%  \begin{itemize}
%  \item Initial accumulation: Who gets to mint currency?
%  \item Speculation: Who controls the money supply?
%  \item Social welfare:
%    \begin{itemize}
%    \item Who gets to set tax rules and rates?
%    \item Who gets to allocate tax revenue?
%    \end{itemize}
%  \end{itemize}
%\end{frame}


\begin{frame}{Conclusion}
  \begin{center}
    {\bf  What can we do?}
   \end{center}
  \vfill
\begin{itemize}
 \item{Suffer mass-surveillance enabled by credit card oligopolies with high fees, and}
 \item{Engage in arms race with deliberately unregulatable blockchains, and}
 \item{Enjoy the ``benefits'' of cash \\
  \hfill  \includegraphics[height=0.3\textheight]{atm-rupee.jpg} \hfill}
\end{itemize}
\vfill
\begin{center}
  {\bf OR}
\end{center}
\vfill
\begin{itemize}
 \item{Establish free software alternative balancing social goals!}
\end{itemize}
\vfill
\end{frame}


\begin{frame}
\frametitle{Do you have any questions?}
\vfill
References:
{\tiny
  \begin{enumerate}
 \item{Christian Grothoff, Bart Polot and Carlo von Loesch.
       {\em The Internet is broken: Idealistic Ideas for Building a GNU Network}.
       {\bf W3C/IAB Workshop on Strengthening the Internet Against Pervasive Monitoring (STRINT)}, 2014.}
 \item{Jeffrey Burdges, Florian Dold, Christian Grothoff and Marcello Stanisci.
       {\em Enabling Secure Web Payments with GNU Taler}.
       {\bf SPACE 2016}.}
 \item{Florian Dold, Sree Harsha Totakura, Benedikt M\"uller, Jeffrey Burdges and Christian Grothoff.
       {\em Taler: Taxable Anonymous Libre Electronic Reserves}.
       Available upon request. 2016.}
 \item{Eli Ben-Sasson, Alessandro Chiesa, Christina Garman, Matthew Green, Ian Miers, Eran Tromer and Madars Virza.
       {\em Zerocash: Decentralized Anonymous Payments from Bitcoin}.
       {\bf IEEE Symposium on Security \& Privacy, 2016}.}
 \item{David Chaum, Amos Fiat and Moni Naor.
       {\em Untraceable electronic cash}.
       {\bf Proceedings on Advances in Cryptology, 1990}.}
  \item{Phillip Rogaway.
       {\em The Moral Character of Cryptographic Work}.
       {\bf Asiacrypt}, 2015.} \label{bib:rogaway}
\end{enumerate}
}
\begin{center}
  {\bf Let money facilitate trade; but ensure capital serves society.}
\end{center}
\end{frame}




\end{document}