aragon / nest

A grants program to support the development of the ecosystem
https://aragon.org/project/grants
Creative Commons Zero v1.0 Universal
140 stars 78 forks source link

Aragon Nest Proposal: AirGap, Secure Mobile Wallet System #80

Closed pascuin closed 6 years ago

pascuin commented 6 years ago

Abstract

One reason for a slow crypto adoption are insecure and user-unfriendly wallet solutions. If a user wants to be his own bank and take over the responsibility to securely manage funds, an easy to use but secure solution is needed.

AirGap aims to become this solution. With the AirGap two device approach, secret-handling becomes more accessible and secure. AirGap covers security on three layers:

These three layers cover common attack vectors and misusages concerning secret management in the context of cryptocurrencies. Even though security and user experience often result in trade-off decision between one or the other, we’ve spent a lot of effort to achieve what we call “accessible security”. We believe that security alone is not enough if crypto adoption should reach the masses, but a solution also needs to be easy and understandable to use.

How does AirGap work?

To get the highest security, the AirGap Vault application is installed on a dedicated or old smartphone, which will never be connected to any network again. With the enhanced entropy concept that adds video, audio, accelerator and touch data to the entropy seed alongside the device’s pre-shipped secure random generator it is possible to generate a cryptographically secure seed used for the secret generation on that very same device. This secret never leaves the device it was generated on. The private key is saved in the secure enclave of the mobile device and needs multi-step biometric authentication every time it is accessed to perform cryptographic primitives. AirGap Wallet on the other hand will be installed on a user’s everyday phone. With this app, users can manage their portfolio of wallets and their valuations. AirGap Wallet deals only with publicly available information as opposed to AirGap Vault, which handles the private key.

AirGap Vault and AirGap Wallet can also be installed on the same device. In this case, the communication between the two apps works with app switching through an URL scheme. This allows the two apps to be entirely encapsulated, which is crucial: For example, AirGap Vault does not have any network permissions and thus is unable to send information out over the network, guaranteed by the operating systems sandboxing.

What is next for AirGap

Our next steps will focus on improving AirGap in terms of usability, features and security. Some of the features & tasks we have on our roadmap:

Deliverables

  1. Usability, features & security improvements for AirGap Vault & AirGap Wallet mobile Apps for Android & iOS.
  2. Integration of the Aragon ANT ERC20 token.
  3. AirGap Chrome Extension (similar to Metamask) to enable Aragon Core and dApps to use AirGap for transactions with secure secret handling.

Grant size

Funding: $200k in ETH, split into chunks paid out over achieved milestones.

We plan to engage a third-party company for the security review of the implementation. Given previous experiences, a white box pen-test would cost between $20k and $35k.

Success reward: Up to $50k in ANT, given out when all deliverables are ready.

Application requirements

Working Product

AirGap Vault & AirGap Wallet are available in the Google Play and the App store. All components are open source and available on GitHub. coin-lib a library that offers a unified API to prepare, sign and broadcast multiple cryptocurrencies is open source as well as the Cordova secure storage plugin for Android and iOS.

GitHub
AirGap Vault - Android
AirGap Wallet - Android
AirGap Vault - iOS
AirGap Wallet - iOS

Team

Legal structure Papers GmbH (Swiss GmbH)

Development timeline

The development timeline will be the following one in regards to each deliverable:

mariapao commented 6 years ago

Hi @pascuin thank you for submitting your proposal.

We are completely aligned with the mission of AirGap: make crypto usable, accessible and secure to everyone. User experience is something we prioritize in every tool we build. Unfortunately, we don't think this project is a fit for Nest. The program is focused on (i) basic dev tooling and infra for Aragon and/or Ethereum and (ii) key apps on Aragon. Thus, this proposal is not a candidate for funding this time. In the future, if you are working on something that is a fit for the program, please apply again. We appreciate your participation very much and we hope to see ANT and more ERC20 tokens integrated in AirGap :)