silentwhispers: enforcing security and privacy in ...€¦ · silentwhispers: a decentralized...

98
SilentWhispers: Enforcing Security and Privacy in Decentralized Credit Networks NDSS 2017 Pedro Moreno-Sanchez Purdue University Giulio Malavolta Saarland University Aniket Kate Purdue University Matteo Maffei TU Vienna $

Upload: others

Post on 20-Aug-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: Enforcing Security and Privacy in Decentralized Credit Networks

NDSS 2017

Pedro Moreno-Sanchez Purdue University

Giulio Malavolta Saarland University

Aniket Kate Purdue University

Matteo Maffei TU Vienna

$

Page 2: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Yet Another Talk about Cryptocurrencies?✦ TumbleBit and CoinShuffle++ are excellent ideas to provide

privacy in Bitcoin

✦ Bitcoin (as any other cryptocurrency) relies on a blockchain: ✦ High storage requirement (>100 GB) ✦ High power consumption for proof-of-work

2

Page 3: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Yet Another Talk about Cryptocurrencies?✦ TumbleBit and CoinShuffle++ are excellent ideas to provide

privacy in Bitcoin

✦ Bitcoin (as any other cryptocurrency) relies on a blockchain: ✦ High storage requirement (>100 GB) ✦ High power consumption for proof-of-work

2

Is it possible to have a decentralized payment system without a blockchain?

Page 4: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit (or IOU Settlement) Networks: Basics

3

Page 5: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit (or IOU Settlement) Networks: Basics

pay $100

Transactions in the real world

Bob Alice

IOweYou $100

Bob Alice

3

Page 6: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit (or IOU Settlement) Networks: Basics

pay $100 AliceBob

Transactions in the real world A credit network representation

Bob Alice

IOweYou $100

Bob Alice

100

3

Page 7: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

IOweYou $10

Credit (or IOU Settlement) Networks: Basics

pay $100 AliceBob

Transactions in the real world A credit network representation

Bob Alice

IOweYou $100

Bob Alice

pay $10

Dave Carol

Dave Carol

100

During a hike with Alice & Bob

3

Page 8: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

IOweYou $10

Credit (or IOU Settlement) Networks: Basics

pay $100 AliceBob

Carol

Transactions in the real world A credit network representation

Bob Alice

IOweYou $100

Bob Alice

pay $10

Dave Carol

Dave Carol

100

Dave

During a hike with Alice & Bob

3

Page 9: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

IOweYou $10

Credit (or IOU Settlement) Networks: Basics

pay $100 Alice

10

Bob

Carol

Transactions in the real world A credit network representation

Bob Alice

IOweYou $100

Bob Alice

pay $10

Dave Carol

Dave Carol

100

Dave

During a hike with Alice & Bob

3

Page 10: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

IOweYou $10

Credit (or IOU Settlement) Networks: Basics

pay $100 Alice

10

Bob

Carol

Transactions in the real world A credit network representation

Bob Alice

IOweYou $100

Bob Alice

pay $10

Dave Carol

Dave Carol

100

Dave

110

During a hike with Alice & Bob

3

Page 11: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

IOweYou $10

Credit (or IOU Settlement) Networks: Basics

pay $100 Alice

10

Bob

Carol

Transactions in the real world A credit network representation

Bob Alice

IOweYou $100

Bob Alice

pay $10

Dave Carol

Dave Carol

100

Dave10

110

During a hike with Alice & Bob

3

Page 12: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit Network Examples

4

Page 13: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit Network Examples

✦ Academic proposals: ✦ Ostra: preventing e-mail spam [NSDI’08]

✦ Bazaar: strengthening e-commerce [NSDI’11]

✦ SumUp: Sybil-resilient content voting [NSDI’09]

✦ Industry deployments: ✦ Ripple: A real-life online payment network

✦ Stellar: Another real-life online payment network

4

Page 14: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit Network Examples

✦ Academic proposals: ✦ Ostra: preventing e-mail spam [NSDI’08]

✦ Bazaar: strengthening e-commerce [NSDI’11]

✦ SumUp: Sybil-resilient content voting [NSDI’09]

✦ Industry deployments: ✦ Ripple: A real-life online payment network

✦ Stellar: Another real-life online payment network

4

Page 15: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Ripple Credit Network

5

Page 16: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Ripple Credit Network

5

Page 17: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Ripple Credit Network

5

Page 18: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

AED 10

Page 19: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

BTC 5 BTC 10

AED 10

Page 20: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

BTC 5 BTC 10

XYZ 40

GD

W 10

XID 100FMM 280

AED 10

Page 21: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

BTC 5 BTC 10

XYZ 40

GD

W 10

XID 100FMM 280

Tx time Worldwide, inter-currency tx Integrity

AED 10

Page 22: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

BTC 5 BTC 10

XYZ 40

GD

W 10

XID 100FMM 280

~ 1 day

~ 5 seconds

Tx time Worldwide, inter-currency tx Integrity

AED 10

Page 23: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

BTC 5 BTC 10

XYZ 40

GD

W 10

XID 100FMM 280

~ 1 day

~ 5 seconds

High fees

Tiny fees

Tx time Worldwide, inter-currency tx Integrity

AED 10

Page 24: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

BTC 5 BTC 10

XYZ 40

GD

W 10

XID 100FMM 280

~ 1 day

~ 5 seconds

High fees

Tiny fees

Tx time Worldwide, inter-currency tx Integrity

Bank only

Public verifiability

AED 10

Page 25: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

£ 70

CAD 100

$ 60

€ 45€ 30

Ripple Credit Network

5

BTC 5 BTC 10

XYZ 40

GD

W 10

XID 100FMM 280

~ 1 day

~ 5 seconds

High fees

Tiny fees

Tx time Worldwide, inter-currency tx Integrity

Bank only

Public verifiability

AED 10

Ripple can significantly

improve cross-currency

remittance and settlements

Page 26: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Public Verifiability & Privacy Problem

6

Credit Graph

Transaction Details

The Ripple Ledger

Page 27: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Public Verifiability & Privacy Problem

6

Credit Graph

Transaction Details

The Ripple Ledger

Listening to Whispers of Ripple: Linking Wallets and Deanonymizing Transactions

in the Ripple Network

Pedro Moreno-Sanchez, Muhammad Bilal Zafar, Aniket Kate.

PETS ‘16

Page 28: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Public Verifiability & Privacy Problem

6

Credit Graph

Transaction Details

Current credit networks use a global ledger

The Ripple Ledger

Listening to Whispers of Ripple: Linking Wallets and Deanonymizing Transactions

in the Ripple Network

Pedro Moreno-Sanchez, Muhammad Bilal Zafar, Aniket Kate.

PETS ‘16

Page 29: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Our Contributions

7

Page 30: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Our Contributions

7

✦ We question the need for a global ledger and global consensus

Page 31: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Our Contributions

7

✦ We question the need for a global ledger and global consensus

✦ SilentWhispers: Decentralized credit network with security and privacy guarantees

Privacy Preserving Payments in Credit Networks

Pedro Moreno-Sanchez, Aniket Kate, Matteo Maffei and Kim Pecina

[NDSS ’15]

In this work, security and privacy properties defined in the UC framework

Page 32: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Our Contributions

7

✦ We question the need for a global ledger and global consensus

✦ SilentWhispers: Decentralized credit network with security and privacy guarantees

✦ SilentWhispers overcomes several challenges: existence of a path, credit on a path and integrity of transactions

Privacy Preserving Payments in Credit Networks

Pedro Moreno-Sanchez, Aniket Kate, Matteo Maffei and Kim Pecina

[NDSS ’15]

In this work, security and privacy properties defined in the UC framework

Page 33: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Our Contributions

7

✦ We question the need for a global ledger and global consensus

✦ SilentWhispers: Decentralized credit network with security and privacy guarantees

✦ SilentWhispers overcomes several challenges: existence of a path, credit on a path and integrity of transactions

✦ SilentWhispers is feasible in practice and it has attracted attention from industry

Privacy Preserving Payments in Credit Networks

Pedro Moreno-Sanchez, Aniket Kate, Matteo Maffei and Kim Pecina

[NDSS ’15]

In this work, security and privacy properties defined in the UC framework

Page 34: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

8

Page 35: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

✦ Local Information suffices: Credit links of a user determine his credit in the network

8

Page 36: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

✦ Local Information suffices: Credit links of a user determine his credit in the network

8

45015

25

In-flow = 450 Out-flow = 40

Net-flow = 410Alice

Bob

Charles

Page 37: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

✦ Local Information suffices: Credit links of a user determine his credit in the network

8

✦ Net-flow is what matters: Net-flow of a user must not change without the user’s consent

45015

25

In-flow = 450 Out-flow = 40

Net-flow = 410Alice

Bob

Charles

Page 38: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

✦ Local Information suffices: Credit links of a user determine his credit in the network

8

✦ Net-flow is what matters: Net-flow of a user must not change without the user’s consent

45015

25

In-flow = 450 Out-flow = 40

Net-flow = 410

15

25

In-flow = 450 Out-flow = 40

Net-flow = 410

5

450

Alice

Bob

Charles

Alice

Bob

Charles

Charles

Page 39: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

✦ Local Information suffices: Credit links of a user determine his credit in the network

8

✦ Net-flow is what matters: Net-flow of a user must not change without the user’s consent

45015

25

In-flow = 450 Out-flow = 40

Net-flow = 410

25

10 In-flow = 450 Out-flow = 40

Net-flow = 410

5

450

Alice

Bob

Charles

Alice

Bob

Charles

Charles

Page 40: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

✦ Local Information suffices: Credit links of a user determine his credit in the network

8

✦ Net-flow is what matters: Net-flow of a user must not change without the user’s consent

45015

25

In-flow = 450 Out-flow = 40

Net-flow = 410

25

10 In-flow = 450 Out-flow = 40

Net-flow = 410

5

445

Alice

Bob

Charles

Alice

Bob

Charles

Charles

Page 41: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

SilentWhispers: A Decentralized Credit Network

✦ Local Information suffices: Credit links of a user determine his credit in the network

8

✦ Net-flow is what matters: Net-flow of a user must not change without the user’s consent

45015

25

In-flow = 450 Out-flow = 40

Net-flow = 410

25

10 In-flow = 450 Out-flow = 40

Net-flow = 410

5

44544535

Alice

Bob

Charles

Alice

Bob

Charles

Charles

Page 42: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Challenges

✦ Find paths between users?

✦ Credit available in the path?

✦ Integrity of transactions?

✦ And more …

9

Page 43: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

The routing challenge

10

Page 44: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

11

Page 45: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

11

Page 46: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

11

Page 47: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

11

Page 48: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

✦ Landmark routing [Tschusiya ’89]✦ Calculate subset of all paths

11

Page 49: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

✦ Landmark routing [Tschusiya ’89]✦ Calculate subset of all paths

11

Page 50: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

✦ Landmark routing [Tschusiya ’89]✦ Calculate subset of all paths

11

U2 U3

Page 51: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

✦ Landmark routing [Tschusiya ’89]✦ Calculate subset of all paths

11

U2 U3

U1 U4

Page 52: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

✦ Landmark routing [Tschusiya ’89]✦ Calculate subset of all paths

11

U2 U3

U1 U4

Page 53: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

✦ Landmark routing [Tschusiya ’89]✦ Calculate subset of all paths

11

U2 U3

U1 U4

Page 54: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Routing Challenge: Landmark Routing

✦ Determine credit path from sender to receiver

✦ Common problem in standard networks and ad-hoc networks

✦ The max-flow approach:✦ Not scalable enough: O(V3) or O(V2log(E))

✦ Landmark routing [Tschusiya ’89]✦ Calculate subset of all paths✦ Enough in practice1,2

✦ More efficient than max-flow1,2

11

U2 U3

U1 U4 1[Moreno-Sanchez et al. NDSS ’15] 2[Viswanath et al. EUROSYS ’12]

Page 55: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Calculation of credit available in a path

12

Page 56: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

13

Page 57: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

13

Page 58: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

13

[x]: Secret share of x

Page 59: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

✦ Given [x] it is not possible to know x

13

[x]: Secret share of x

Page 60: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

✦ Given [x] it is not possible to know x

13

[x]: Secret share of x

[15]

[15]

Page 61: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

✦ Given [x] it is not possible to know x

13

[x]: Secret share of x

[15]

[15]

[25]

[25]

[25]

Page 62: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

✦ Given [x] it is not possible to know x

13

[x]: Secret share of x

[15]

[15]

[25]

[25]

[25]

[10]

[10]

[10]

Page 63: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

✦ Given [x] it is not possible to know x

13

[x]: Secret share of x

[15]

[15]

[25]

[25]

[25]

[10]

[10]

[10]

[credit on path]

[credit on path]

[credit on path]

Page 64: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

✦ Given [x] it is not possible to know x✦ Given “enough” copies of [x] one can reconstruct x

13

[x]: Secret share of x

[15]

[15]

[25]

[25]

[25]

[10]

[10]

[10]

[credit on path]

[credit on path]

[credit on path]

Page 65: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Credit in a Path: SMPC

30 15 25 10

[30]

[30]

[30]

✦ Given [x] it is not possible to know x✦ Given “enough” copies of [x] one can reconstruct x

✦ Landmarks cannot force credit losses to honest users13

[x]: Secret share of x

[15]

[15]

[25]

[25]

[25]

[10]

[10]

[10]

[credit on path]

[credit on path]

[credit on path]

Page 66: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Integrity of the transactions

14

Page 67: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

15

Page 68: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

15 20

5

Page 69: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

1510

20

(5)

5

Page 70: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

15251020

(5) (5)

5

Page 71: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

15251020

Ok, received!

(5) (5)

5

Page 72: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

152510 Ok, received!

(5)

5

Page 73: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

152510

Incentive

Ok, received!

(5)

5

Page 74: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

2510

Incentive

Ok, received!

5

Page 75: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

2510

Incentive

Ok, received!

5

No! our credit is 15!

Page 76: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

2510

Incentive

Ok, received!

5

No! our credit is 15!

time1: Init value 15 time1: Init value 15

Page 77: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

2510

Incentive

Ok, received!

5

No! our credit is 15!

time1: Init value 15

time2: Hold 5 for tx

time1: Init value 15

time2: Hold 5 for tx

Page 78: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

2510

Incentive

Ok, received!

5

No! our credit is 15!

time1: Init value 15

time2: Hold 5 for tx

time1: Init value 15

time2: Hold 5 for tx

time3: Confirmation tx

Page 79: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

2510

Incentive

Ok, received!

5

No! our credit is 15!

time1: Init value 15

time2: Hold 5 for tx

time1: Init value 15

time2: Hold 5 for tx

time3: Confirmation tx WrongRight

Page 80: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Transaction Integrity: 2-Step Transactions

✦ 2-step transaction: on hold and settle✦ Example:

15

2510

Incentive

Ok, received!

5

No! our credit is 15!

time1: Init value 15

time2: Hold 5 for tx

time1: Init value 15

time2: Hold 5 for tx

time3: Confirmation tx

✦ In case of dispute, users must prove the link values ✦ Reputation of users is at stake

WrongRight

Page 81: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Evaluation

16

Page 82: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Evaluation

17

Page 83: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Evaluation

✦ C++ prototype implementation ✦ MPC-Shared library: https://github.com/Zayat/MPC-Shared

17

Page 84: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Evaluation

✦ C++ prototype implementation ✦ MPC-Shared library: https://github.com/Zayat/MPC-Shared

✦ Setup using Ripple transactions: ✦ Maximum path length: 10 links ✦ Maximum number of paths: 7 landmarks (Ripple Gateways)

17

Page 85: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Evaluation

✦ C++ prototype implementation ✦ MPC-Shared library: https://github.com/Zayat/MPC-Shared

✦ Setup using Ripple transactions: ✦ Maximum path length: 10 links ✦ Maximum number of paths: 7 landmarks (Ripple Gateways)

✦ Computing available credit on a path in ~1.3 seconds ✦ Different paths in parallel

17

Page 86: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Evaluation

✦ C++ prototype implementation ✦ MPC-Shared library: https://github.com/Zayat/MPC-Shared

✦ Setup using Ripple transactions: ✦ Maximum path length: 10 links ✦ Maximum number of paths: 7 landmarks (Ripple Gateways)

✦ Computing available credit on a path in ~1.3 seconds ✦ Different paths in parallel

17

Feasible to run in practice current Ripple transactions

Page 87: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Evaluation

✦ C++ prototype implementation ✦ MPC-Shared library: https://github.com/Zayat/MPC-Shared

✦ Setup using Ripple transactions: ✦ Maximum path length: 10 links ✦ Maximum number of paths: 7 landmarks (Ripple Gateways)

✦ Computing available credit on a path in ~1.3 seconds ✦ Different paths in parallel

✦ SilentWhispers has attracted the attention from industry: ✦ KOINA: A credit network with market-specific currencies

https://koina.cc/

17

Feasible to run in practice current Ripple transactions

Page 88: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

(Crypto)currencies vs SilentWhispers

18

Page 89: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

(Crypto)currencies vs SilentWhispers

(Crypto)Currencies SilentWhispersSilentWhispers

Transfer of funds:

Direct transactions between any two wallets

Transactions only via a path with enough credit

Transactions only via a path with enough credit

18

Page 90: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

(Crypto)currencies vs SilentWhispers

(Crypto)Currencies SilentWhispersSilentWhispers

Transfer of funds:

Direct transactions between any two wallets

Transactions only via a path with enough credit

Transactions only via a path with enough credit

Transaction flexibility

Fixed currency agreed between sender and receiver

Support for cross-currency transactions

Support for cross-currency transactions

18

Page 91: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

(Crypto)currencies vs SilentWhispers

(Crypto)Currencies SilentWhispersSilentWhispers

Transfer of funds:

Direct transactions between any two wallets

Transactions only via a path with enough credit

Transactions only via a path with enough credit

Transaction flexibility

Fixed currency agreed between sender and receiver

Support for cross-currency transactions

Support for cross-currency transactions

Transaction verification Globally verified

Locally verified by users in the path

Locally verified by users in the path

18

Page 92: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

(Crypto)currencies vs SilentWhispers

(Crypto)Currencies SilentWhispersSilentWhispers

Transfer of funds:

Direct transactions between any two wallets

Transactions only via a path with enough credit

Transactions only via a path with enough credit

Transaction flexibility

Fixed currency agreed between sender and receiver

Support for cross-currency transactions

Support for cross-currency transactions

Transaction verification Globally verified

Locally verified by users in the path

Locally verified by users in the path

Scalability:Limited transaction rate

(< 100 tps)Highly scalableHighly scalable

18

Page 93: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Take Home Message

19

Page 94: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Take Home Message

19

✦ A credit network does not require a ledger or global consensus

Page 95: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Take Home Message

19

✦ A credit network does not require a ledger or global consensus

✦ SilentWhispers: A decentralized credit network that addresses several challenges

Page 96: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Take Home Message

19

✦ A credit network does not require a ledger or global consensus

✦ SilentWhispers: A decentralized credit network that addresses several challenges

✦ SilentWhispers is feasible in practice and it has attracted attention from industry

Page 97: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Take Home Message

19

✦ A credit network does not require a ledger or global consensus

✦ SilentWhispers: A decentralized credit network that addresses several challenges

✦ SilentWhispers is feasible in practice and it has attracted attention from industry

✦ SilentWhispers greatly differs from cryptocurrencies currently available

Page 98: SilentWhispers: Enforcing Security and Privacy in ...€¦ · SilentWhispers: A Decentralized Credit Network Local Information suffices: Credit links of a user determine his credit

Take Home Message

19

✦ A credit network does not require a ledger or global consensus

✦ SilentWhispers: A decentralized credit network that addresses several challenges

✦ SilentWhispers is feasible in practice and it has attracted attention from industry

✦ SilentWhispers greatly differs from cryptocurrencies currently available

Thanks! @pedrorechez