Coder Social home page Coder Social logo

shard-safe's Introduction

Requirements:

npm v1.12.0

yarn v1.22.19

INSTALLATION

1. npm install
2. cd ios
3. install pod
4. cd ..
5. npm run android

Description:

An end-to-end application that shards your private key/secrets into multiple parts and sends it across to trusted human social accounts. Salient features include:

  • Collusion resistance: This ensures that the shard-recievers (Guardians) don't generate user's private key without the permission/knowledge of the users.
  • Implementation of modified Shamir secret algorithm(n,t): Shamir Secret algorithm forms the core of our system's logic.
  • Providing a secure backup option as there is no single point of failure: Storing a private key in a single place, makes it very vulnerable to attacks. Sharding a private key and storing it in multiple places is a much more secure way to backup.
  • Collusion resistance: This ensures that the shard-recievers (Guardians) don't generate user's private key without the permission/knowledge of the users.
  • Implementation of modified Shamir secret algorithm(n,t): Shamir Secret algorithm forms the core of our system's logic.
  • Providing a secure backup option as there is no single point of failure: Storing a private key in a single place, makes it very vulnerable to attacks. Sharding a private key and storing it in multiple places is a much more secure way to backup.

Use-case:-

The authenticator apps currently in the market do not allow the user to reclaim the accounts if their account/phone/application is lost. Our authenticator app makes it possible to securely reclaim a 2fa-enabled account / Keys if the user loses their phone. Share the account secrets among the user’s friends/family

The UX flow is:

  • The user will enter the email addrs of the peers with which it wants to share the shard, and contact each one of them to approve the request.

  • Once the user approves the requests, it's done.

  • For Recovery (Upon data loss), the user can send recollect requests (hints of the peers are written in the SLDealer file) to the peers to get their share back.

  • Once all the peers give the appropriate share back, the user can click on "Recover Key" to get all the accounts back!

Challenges:

  • Implementing Shamir's secret(collusion resistant) in JS.
  • Extending (2,3) Sharding algorithm to (n,t).

shard-safe's People

Watchers

Yogendra Sankhla avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.