bitcoin multisignatures and its applications

44
Bitcoin Multisignature and its applications Chakib Benziane @sp4ke Freelance Dev - Bitcoin Hacker

Upload: chakib-benziane

Post on 26-Jun-2015

576 views

Category:

Technology


0 download

DESCRIPTION

A non technical talk made at the Bitcoin Startups Berlin meetup about multisignature and its applications. Better quality here: http://sp4ke.com/bitcoin/multisig.pdf

TRANSCRIPT

Page 1: Bitcoin multisignatures and its applications

Bitcoin Multisignatureand its applications

Chakib Benziane @sp4ke Freelance Dev - Bitcoin Hacker

Page 2: Bitcoin multisignatures and its applications

Quick review of a Bitcoin transaction

Transaction: send 1 Bitcoin Alice

Bob

No multisig

Page 3: Bitcoin multisignatures and its applications

Alice unlocks her coins with her single pair of keys

Alice

Bob

Bitcoin network validates transaction

Alice’s walletBob’s wallet

Page 4: Bitcoin multisignatures and its applications

Using a simple Bitcoin transaction Alice can:

Make a transaction in a trustless network (no government, company or bank)Transaction is fast Cheap as fees are very low

BUT she can lose access to her coins

Losing her “single” pair of keys

Losing her wallet ( if the wallet is stored on her laptop )

Her online wallet server gets hacked and her coins stolen

Page 5: Bitcoin multisignatures and its applications

Convenience VS Security

Most users use online walletsTrade trust and security for convenience

Page 6: Bitcoin multisignatures and its applications

Multi Signature Transaction

Alice’s wallet

Unlock wallet with 1 of 2 keys

Backup key

Alice

Bob

Page 7: Bitcoin multisignatures and its applications

Multi Signature Transaction

Bitcoin network validates transaction

Shared wallet

Any 2 of 3 keys unlock transaction

Bob

Page 8: Bitcoin multisignatures and its applications

TWO MAN RULE

Page 9: Bitcoin multisignatures and its applications

High security for critical operations

Nuclear Warheads

Hazardous Environments

Dual Key Bank Vaults

time

before bitcoin now

Anyone with access to internet and

blockchain technology

Page 10: Bitcoin multisignatures and its applications

Applications

Improved Security: Exchanges, Oracles, Wallets …

Escrow and arbitration

Crowdfunding

Co-Spending

...

Page 11: Bitcoin multisignatures and its applications
Page 12: Bitcoin multisignatures and its applications

Multi Signature with Exchanges

Alice’s wallet hosted at exchange service

2 keys required out of 3 exchange

backup key

Bob

Page 13: Bitcoin multisignatures and its applications

Multi Signature with Exchanges

Transfer coins to safe wallet

2 keys required out of 3

backup key

safe wallet

Page 14: Bitcoin multisignatures and its applications

Multisignature Wallets

server basedweb client

native client

Page 15: Bitcoin multisignatures and its applications

Where are your wallet keys stored ?

On a remote server

exchangescoinbase

On your deviceOffline

Bitcoin CoreElectrumArmory

Page 16: Bitcoin multisignatures and its applications

Where are your wallet keys stored ?

On a remote server

exchangescoinbase

On your deviceOffline

Bitcoin CoreElectrumArmory

On your browser(aka web wallets)

blockchaindark wallet *web wallets

Page 17: Bitcoin multisignatures and its applications

ArmoryNative client with multisig

Lockboxes feature with M of N transactions

Total freedom and flexibility

Simulfunding: Simultaneous wallet funding (private crowdfunding)

Most secure Bitcoin and multisig wallet.

Not the most convenient

Page 18: Bitcoin multisignatures and its applications

ArmoryNative client with multisig

1-of-2: Husband-wife joint account (either can spend)

2-of-2: Husband-wife savings account (requires both signatures)

2-of-3: Buyer-seller escrow with trusted third-party (use simulfunding)

2-of-3: Personal savings using two hot wallets and one cold backup

3-of-5: Board of directors of a company managing company funds

3-of-6: Board of five directors, but CEO has two keys (only two required if CEO is involved; else three)

4-of-7: Ultra high-security storage using 7 offline devices in vaults around the world

M-of-N: Use your imagination! (up to 7-of-7)

https://bitcoinarmory.com/about/using-lockboxes/

Page 19: Bitcoin multisignatures and its applications

Server Based Wallets

Coinbase Vault: Offline storage

Multi sig coming soon

Page 20: Bitcoin multisignatures and its applications

Your wallet on CoinbaseNo Multisig

coinbasewebpage

Your key is hosted on Coinbase’s server

Server Based

Page 21: Bitcoin multisignatures and its applications

Your wallet on Coinbase

backup key

Your keys are not hosted on Coinbases’s webpageYou need to somehow sign the transaction ( out of web page)

With Multisig 2 of 3

coinbasewebpage

Server Based

Page 22: Bitcoin multisignatures and its applications

Web Wallets

Bank Grade Security2 of 3 MultiSigOffline Storage

Page 23: Bitcoin multisignatures and its applications

Web Wallets

Greenaddress.it

HD wallet

Multi Signature (2 of 3)

Presigned transactions: pay in the future :)

Page 24: Bitcoin multisignatures and its applications

Web Wallets

CoPay BitPaystill in beta

HD wallet

Multi Signature (M of N)

Real time multi signature

Page 25: Bitcoin multisignatures and its applications

Web Wallets

Onchain.io

HD wallet

Multi Signature (M of N)

Out Of Band ( Phone app as extra signing key )

Page 26: Bitcoin multisignatures and its applications

Beware of “Security Theater”

Page 27: Bitcoin multisignatures and its applications

Your key is hosted on web wallet web pageYou sign the transaction on the web page

key on browser

Web Wallet: Web AppWithout Multisig

Page 28: Bitcoin multisignatures and its applications

backup key

Your key is hosted on web wallet web pageYou multisign the transaction on the web page

key on browser

Web Wallet: Web AppWith Multisig 2 of 3

Page 29: Bitcoin multisignatures and its applications

backup key

key on browser

Web Wallet: Web AppWith Multisig 2 of 3

control server

send modified pageSecurity Theater Multisig

Page 30: Bitcoin multisignatures and its applications

backup key

Good web app multisig Extra step needed

key on browser

extension

Web Wallet: Web AppWith Multisig 2 of 3

control server

Page 31: Bitcoin multisignatures and its applications

Oracles

Page 32: Bitcoin multisignatures and its applications

API Integrates with Wallets and Services

Theft prevention

Fraud risk detection

Organisations can protect shared wallet

(NeoBee fiasco)

third party oracle

Page 33: Bitcoin multisignatures and its applications

user wallet

backup key

Alice orders a transaction from her wallet

oracle2 of 3 multisignature

Page 34: Bitcoin multisignatures and its applications

Oracle applies third party verificationsthen signs transaction

2 of 3 multisignature

backup key

user wallet

oracle

Page 35: Bitcoin multisignatures and its applications

Alice backup keys

oracle

3 of 5 multisignature

We can go further

exchange walletor web wallet

Page 36: Bitcoin multisignatures and its applications

Arbitration and Escrow

Arbitration and Escrow

Page 37: Bitcoin multisignatures and its applications

Open Source p2p decentralized marketplace

No fees, no censorship

Ricardian contracts: trade and arbitration

Escrow payment with multi signatures

Page 38: Bitcoin multisignatures and its applications

seller

buyer

notary

Buyer and Seller review and sign contract

Notary signs final contract

Page 39: Bitcoin multisignatures and its applications

seller

buyer

notary

Notary creates multisig bitcoin address

2 of 3 keys to unlock payment

Buyer send money to address

Page 40: Bitcoin multisignatures and its applications

Buyer and Seller settle transaction

Funds unlocked with both their keys

Notary receives fee

Seller receive paiement

seller

notary

buyer

Page 41: Bitcoin multisignatures and its applications

Buyer and Seller disagree

Notary makes arbitration

Seller is bad

Buyer receives back paiement

Notary receives fee

seller

buyer

notary

Page 42: Bitcoin multisignatures and its applications

Buyer and Seller disagree

Notary makes arbitration

Buyer is bad

Seller receive paiement

Notary receives fee

notary

buyer

seller

Page 43: Bitcoin multisignatures and its applications

Final Thaughts

With multisig we can reach unmatched levels of security

No need for regulations to protect users ;)

Give some time to infrastructure to mature

You can start using multisig Today

Page 44: Bitcoin multisignatures and its applications

Thanks for listening

send your love to

19DavSZz6vopuYyER3S2Jnd2jzoEQa4Ww8

OR

[email protected]