IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your...

29
Sophisticated multi-signature solutions Bitcoin

Transcript of IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your...

Page 1: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

Sophisticated multi-signature

solutions

Bitcoin

Page 2: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

backgroundabout me

•Martin Albert, 33 years old

•Diploma in Chemistry, Diploma in Business Economics

•Business Consultant in the field of chemicals legislation

•EU bureaucrat

•2011 Discovered Bitcoin, early adopter

•2012 Full time Bitcoin enthusiast

•2013 Investor, CEO at Bitalo AG

Page 3: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

lets see…Now more about bitcoin

A system to transfer “value” from person to person

Inventor: 2009 – “Satoshi Nakamoto” As White Paper

Open Source project

Page 4: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

a story about an apple

Page 5: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

But now a virtual apple

Page 6: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Now you require a ledger

Page 7: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Basis is the P2P Network

Like Skype or Bit-torrent

Download client, install, start

When connected you can tell yourcomputer to confirm transactions

Computer will confirm Bitcoin transactions

Reward for confirmations in Bitcoins

Page 8: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Bitcoin?

- decentralized, peer to peer....

- no banks or 3rd parties needed

- secure system / everything with encryption

- somehow anonymous...

--> SO WHAT?

Page 9: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Transaction in DetailGeneral principle:

I take a certain amount of bitcoins

I take my public key as senderI take public key of recipient

Transaction is signed with my private key to prove that I am sender

Transactions are public and sent to the bitcoin network.

Network checks if transaction is valid and “confirms”

Page 10: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Normal Bank TransactionNormal Bank account:Person and Account are connected

Only Sender, Receiver (and Bank)Know about the transaction

Bitcoin:Transaction is PUBLIC,But it is NOT known who is behind the account (unless known)

One person can have unlimited bank accounts

Page 11: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Status Quo - Intermediary

Page 12: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Status Quo - Intermediary

Page 13: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Status Quo - Intermediary

Page 14: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Status Quo - Intermediary

Page 15: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Status Quo - Intermediary

Page 16: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Problem solved? – Bitcoins

- Centralized Service??

- Give up control over my coins??

- Security issues with hackers?

- Sites close over night???

--> SAME PROBLEM AS BEFORE!

Page 17: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

so…where should I store my Bitcoins

Page 18: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

What if a service exists where you….Get Bitcoins

- DO NOT give up control over your coins

- DO NOT allow even the administrators toaccess your coins

- IS NOT possible that Hackers can stealcoins, even when the server is compromised

-DO NOT need to trust the trading party, as still an escrow is in place? EVEN when the site is closed?

Page 19: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Trick: Multi-Signature wallets

Page 20: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

“Normal” TransactionHow does it work?

Page 21: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Part 1: Create multi-signature addressMulti-Signature

-Get two or more Bitcoin addressees.

-Combine them using addmultisigaddress JSON-RPC command

-As a result, you will get a special Bitcoin address starting with „3”.

-The resulting Bitcoin address is fully functional and can receive coins.

-You can create different combinations of M-of-N addresses. It means that you can specify how many private keys are needed to spend the coins.

Page 22: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Part 2: Spending coins from multi-signature walletsMulti-Signature

-Create a transaction draft using createrawtransaction JSON-RPC command

-Sign the resulting transaction data with one of private keys, utilizing signrawtransaction command

-provide it with correct details, which may include: public key and redeem script

-Pass partially signed transaction data to other party, which repeats this process -Finally, you broadcast the transaction to the network (using sendrawtransaction or another means)

Page 23: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Multi signature wallets

Page 24: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Multi signature wallets

Page 25: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Hackers and admins see encrypted wallets

Page 26: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

Two-Factor authentication

Page 27: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

And the last resort: Dead Man’s Switch

Page 28: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

www.bitalo.comPhone: +49 6322 9419292 | e-mail: [email protected]

Bottom line- It IS possible to create REAL NO TRUST Bitcoin services

- Multi-Signature wallets, no one can ever access the bitcoins without your consent

- Thanks to MePIN two factor authentication not even if your PC is compromised

-With timed backup-transaction coins are even safe when service is closed down or server data is deleted

Page 29: IDCEE 2014: Bitcoin: Sophisticated Multi-Signature Solutions That Keep Money Fully Under Your Control - Martin Albert (CEO @ Bitalo AG)

YOUFOR watching

THANK