/
Efficient Asynchronous Accumulators for Distributed PKI Efficient Asynchronous Accumulators for Distributed PKI

Efficient Asynchronous Accumulators for Distributed PKI - PowerPoint Presentation

lois-ondreau
lois-ondreau . @lois-ondreau
Follow
381 views
Uploaded On 2017-03-15

Efficient Asynchronous Accumulators for Distributed PKI - PPT Presentation

Sophia Yakoubov Joint work with Leo Reyzin 1 Outline Motivation Distributed PKI Background Accumulators Our Contributions Asynchronous Accumulators Definition verification works even if the accumulator and witness are out of synch ID: 524368

merkle accumulator asynchronous hash accumulator merkle hash asynchronous bob forest elements similar counter binary witness bob

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Efficient Asynchronous Accumulators for ..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

Efficient Asynchronous Accumulators for Distributed PKI

Sophia YakoubovJoint work with Leo Reyzin

1Slide2

Outline

Motivation: Distributed PKIBackground: AccumulatorsOur Contributions: Asynchronous Accumulators

Definition: verification works even if the accumulator and witness are out of synch

Construction

2Slide3

Application: PKI

3

“I’m Bob”

PK

B

SK

B

PK

B

“I’m Bob”

PK

CA

SK

CA

PK

CA

PK

CA

PK

B

PK

B

Bob,

CA

PK

B

Bob,

CA

PKI goals:

Enable Alice to associate Bob’s identity with Bob’s public key

PKI goals:

Accurate Registration

Identity Retention

(We do not consider

revocation here.)Slide4

Application: PKI

4

“I’m Bob”

PK

E

SK

E

PK

E

“I’m Bob”

PK

CA

SK

CA

PK

CA

PK

CA

PK

E

PK

E

Bob,

CA

PK

E

Bob,

CA

Eve

Problem:

Certificate Authorities are a single point of failure!Slide5

Problem: Certificate Authorities are a Single Point of Failure!

Trusting central authorities is a risk.Verisign

(2010) Was repeatedly infiltrated, potential compromised information includes secret signing keys

Comodo

(2011) Issued erroneous certificates

DigiNotar

(2011) Issued certificate for Google to someone who wasn’t Google

TrustWave

(2012) Issued root certificate to customers, enabling them to issue other certificates

Symantec

(2015) Issued certificates for Google without it’s knowledge

5Slide6

Ensuring Identity Retention: Decentralization via a Public Bulletin Board

6

Append-only

Consensus protocol ensures that posts are “valid”

Implemented via

blockchains

formalized by [PSs16, GKL16]

Validity check performed by minersSlide7

Problem

: expensive lookup!

Alice needs to search through the entire bulletin board.

Problem

: expensive storage / access!

Alice needs to maintain online access to the entire bulletin board.

Decentralized PKI

7

“I’m Bob”

PK

B

SK

B

PK

B

Bob,

Bob

Validation

: the identity “Bob” has not already been registered

(ensures identity retention)

Look up “Bob”

location

B

a

t

location

BSlide8

Outline

Motivation: Distributed PKIBackground: Accumulators

[

BdM94,CL02,

LLX07,Ngu05,DT08,

ATSM09,CHKO08…]

Our Contributions: Asynchronous Accumulators

Definitions

Construction

8Slide9

Solution: accumulators

Accumulator: compact commitment to set S

9

S

(Bob,

PK

B

)

T

T

=

S

+ {(Bob,

PK

B

)}

membership witness

w

B

can be used together with

w

B

to verify that (Bob,

PK

B

) is in set

TSlide10

Accumulator Example:

Merkle Hash Tree10

h

(

)

h

(

,

)

h

(

)

h

(

)

h

(

)

h

(

,

)

h

(

,

)

(Frank,

PK

F

)

(Charlie,

PK

C

)

(Daniela,

PK

D

)

(Bob,

PK

B

)Slide11

Accumulator Example:

Merkle Hash Tree11

h

(

)

h

(

,

)

h

(

)

h

(

)

h

(

)

h

(

,

)

h

(

,

)

(Frank,

PK

F

)

(Charlie,

PK

C

)

(Daniela,

PK

D

)

(Bob,

PK

B

)Slide12

Accumulator Example:

Merkle Hash Tree12

h

(

)

h

(

,

)

h

(

)

h

(

)

h

(

)

h

(

,

)

h

(

,

)

(Frank,

PK

F

)

(Charlie,

PK

C

)

(Daniela,

PK

D

)

(Bob,

PK

B

)Slide13

Using Accumulators

in the Bulletin Board

Charlie, ,

Daniela, ,

Frank, ,

Bob, ,

13

PK

B

PK

C

PK

D

PK

F

Maintain an accumulator containing all (Name, PK) pairsSlide14

Accumulators in Decentralized PKI

14

“I’m Bob”, ,

w

B

Look up latest

(Bob,

PK

B

)

w

B

PK

B

SK

B

PK

B

Validation (e.g. by miners)

:

Check that the identity “Bob” has not already been registered

Compute the new accumulator value

w

B

PK

B

Bob,

Bob

Look up

l

atestSlide15

Accumulator Example:

Merkle Hash Tree15

h

(

)

h

(

,

)

h

(

)

h

(

,

)

h

(

)

(Charlie,

PK

C

)

(Daniela,

PK

D

)

(Frank,

PK

F

)Slide16

Accumulator Example:

Merkle Hash Tree16

h

(

)

h

(

,

)

h

(

)

h

(

)

h

(

)

h

(

,

)

h

(

,

)

(Frank,

PK

F

)

(Charlie,

PK

C

)

(Daniela,

PK

D

)

(Bob,

PK

B

)

Charlie’s witness changed!Slide17

Problem: Synchrony

17

time

w

B

Using existing notion of accumulators…

Bob needs to update his membership witness with every key registration!

Alice needs to download a new accumulator value

with every key registration

!

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

BSlide18

Outline

Motivation: Distributed PKIBackground: AccumulatorsOur Contributions: Asynchronous Accumulators

Definitions

Low

witness update frequency

Old

-accumulator compatibility

Construction:

Merkle

Hash Forrest

18Slide19

Solution: Asynchronous

Accumulators

- Low Witness Update Frequency

19

time

Low witness update frequency

time

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

BSlide20

20

time

time

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

w

B

Solution: Asynchronous Accumulators

- Old Accumulator

Compatibility

Old-accumulator compatibility

w

B

w

B

w

B

w

B

w

B

w

BSlide21

Outline

Motivation: Distributed PKIBackground: Accumulators

Our Contributions: Asynchronous Accumulators

Definitions

Low

witness update frequency (helping Bob

)

Old

-accumulator compatibility (helping

Alice)

Construction: Merkle Hash Forrest

21Slide22

Asynchronous Accumulator:

Merkle Hash Forest22

Depth 3

Depth 2

Depth 1

At most

log(n)

complete

Merkle

trees

Each

element is a leaf in one of the

trees

As

new elements get added, older elements move to bigger

treesSlide23

Asynchronous Accumulator:

Merkle Hash Forest23

D = 1

This is similar to a binary counter

1 element

1Slide24

Asynchronous Accumulator:

Merkle Hash Forest

24

0

D = 2

1

This is similar to a binary counter

2

elementsSlide25

Asynchronous Accumulator:

Merkle Hash Forest25

1

D = 2

1

D = 1

This is similar to a binary counter

3 elementsSlide26

Asynchronous Accumulator:

Merkle Hash Forest26

0

0

D = 3

1

This is similar to a binary counter

4 elementsSlide27

Asynchronous Accumulator:

Merkle Hash Forest27

1

0

1

D = 1

D = 3

This is similar to a binary counter

5 elementsSlide28

Asynchronous Accumulator:

Merkle Hash Forest28

0

1

1

D = 3

D = 2

This is similar to a binary counter

6 elementsSlide29

Asynchronous Accumulator:

Merkle Hash Forest29

1

1

1

D = 3

D = 2

D = 1

This is similar to a binary counter

7 elementsSlide30

Asynchronous Accumulator:

Merkle Hash Forest30

0

0

0

1

This is similar to a binary counter

8 elementsSlide31

Asynchronous Accumulator:

Merkle Hash Forest31

D = 1

1

0

0

1

This is similar to a binary counter

9 elementsSlide32

Asynchronous Accumulator:

Merkle Hash Forest32

0

D = 2

1

1

0

This is similar to a binary counter

10 elementsSlide33

Asynchronous Accumulator:

Merkle Hash Forest33

1

D = 2

1

D = 1

1

0

This is similar to a binary counter

11 elementsSlide34

Asynchronous Accumulator:

Merkle Hash Forest34

0

0

D = 3

1

1

This is similar to a binary counter

12 elementsSlide35

Asynchronous Accumulator:

Merkle Hash Forest35

1

0

1

D = 1

D = 3

1

This is similar to a binary counter

13 elementsSlide36

Asynchronous Accumulator:

Merkle Hash Forest36

0

1

1

D = 3

D = 2

1

This is similar to a binary counter

14 elementsSlide37

Asynchronous Accumulator:

Merkle Hash Forest37

1

1

1

D = 3

D = 2

D = 1

1

This is similar to a binary counter

15 elementsSlide38

Asynchronous Accumulator:

Merkle Hash Forest38

0

1

0

0

0

This is similar to a binary counter

16 elementsSlide39

Low update frequency

A witness only needs to be updated when the tree in question is “carried”!

Old-accumulator

compatibility

A witness is append-only; it contains all prior states

Merkle

Hash

Forest

Asynchrony

39

D = 3

D = 2

D = 1Slide40

Conclusion

Bulletin boards are good for distributed dictionariesNamecoin

PKI

Accumulators improve efficiency

no need to have access to the whole board

Asynchronous accumulators reduce the witness maintenance cost

A forest is better than a tree!

More flexibility

40