Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric...
Transcript of Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric...
![Page 1: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/1.jpg)
Cross-Platform Mobile Application for the Cothority
Supervisor
Linus Gasser
EPFL/DeDiS
Responsible
Prof. Bryan Ford
EPFL/DeDiS
Cedric Maire & Vincent Petri
Decentralized and Distributed
Systems Lab
Semester Project
Fall 2017
![Page 2: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/2.jpg)
Summary
• Introduction
• Problem Statement
• Solutions and Implementation
• Future Work
• Demo
2
![Page 3: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/3.jpg)
3
• Introduction• Context
• Cisc
• PoP
• Problem Statement
• Solutions and Implementation
• Future Work
• Demo
![Page 4: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/4.jpg)
Context
4
• Cothority framework• Protocols between conodes
• Services (CoSi, Status…)
• Apps (Cisc, PoP)
![Page 5: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/5.jpg)
Collective Identity SkipChain (CISC)
• Data storage• Key/value pairs
• SSH public keys
• Webpages
• Provisioned skipchain• Only registered devices can
modify data
• New data need to be accepted by a threshold of devices
5
![Page 6: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/6.jpg)
Proof-of-Personhood (PoP)
• Anonymous authentication method
• People get tokens
• Use it to authenticate without giving away your identity:• We only know that the user is part of a
group of person, but not his identity
6
![Page 7: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/7.jpg)
7
• Introduction
• Problem Statement
• Solutions and Implementation
• Future Work
• Demo
![Page 8: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/8.jpg)
Problem Statement
• Current solution• User have to use a Command Line
Interface (CLI) to access these services
• Cumbersome
• Not adapted to the non technical user
• Our project • Replace the CLI by a Cross-Platform
Mobile Application (CPMAC)
8
![Page 9: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/9.jpg)
9
• Introduction
• Problem Statement
• Solutions and Implementation• Design choices
• User friendliness
• Future Work
• Demo
![Page 10: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/10.jpg)
NativeScript
• Real native application
• Using XML => same code for both platforms
• Highly extensible • NPM
• Gradle
• CocoaPods
10
![Page 11: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/11.jpg)
Application Design
• Extensible • New features
• New apps
• Could be adapted to browser
11
![Page 12: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/12.jpg)
User Friendliness
• QR codes:• Share configurations
• Add conodes
• Register to a PoP party
• Current functionalities
12
• User• Manage conodes
• Fetch statuses
• PoP• Create/Manage
PoP Party• Attend PoP Party• Create PoP Token
• Cisc• Connect to an Identity
Skipchain• Browse the data on
the chain• Vote for proposed data
![Page 13: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/13.jpg)
13
• Introduction
• Problem Statement
• Solutions and Implementation
• Future Work
• Demo
![Page 14: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/14.jpg)
Future Work - PoP
• PoP party merging
• Sign and Verify Services• Ex: BeerCoin
14
![Page 15: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/15.jpg)
Future Work – Cisc
• Managing multiple Identity SkipChains
• Creating an Identity Skipchain• Using Public key Authentication
• Using a PoP Token
15
![Page 16: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/16.jpg)
Future Work – General
• Remove the use of PasteBin
• Known bugs• Random number generation
16
![Page 17: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/17.jpg)
17
• Introduction
• Problem Statement
• Solutions and Implementation
• Future Work
• Demo
![Page 18: Cross-Platform Mobile Application for the Cothority€¦ · Prof. Bryan Ford EPFL/DeDiS Cedric Maire & Vincent Petri Decentralized and Distributed Systems Lab Semester Project Fall](https://reader033.fdocuments.in/reader033/viewer/2022060907/60a1adf71366fd138612f3fa/html5/thumbnails/18.jpg)
Conclusion
• Created a mobile app to replace the current necessity to use the CLI
• Strong focus on extensibility
• Currently supports the basic functionalities for PoP and Cisc
18