GithubHelp home page GithubHelp logo

quorumprocessor's Introduction

QuorumProcessor

Verify given quorum to retrieve a predefined key

The intention of this module is to protect a given key not just by one but a quorum (N out of M) of passwords. A typival use case is an organizations signing key: No single person should be able to sign documents (four-eyes-principle) but due to holidays, travel, maternty leave it is not feasable to depend on just two persons. So e.g. four persons are designated to be able to take part in the signing process but just two of them are required to be present (2 out of 4 quorum).

This module does the required calculations to derive personal keys from the user's password using PBKDF (https://en.wikipedia.org/wiki/PBKDF2), takes valid combinations of users, merges their derived password output and applies a key derivation again with the length of the initial key ('combined passwords key'). From this value and the inital key a 'key processing pattern' is calculated ( XOR of the key and password derivation steps) and stored per user combination.

The intial key isn't stored anywhere!

With any valid combination of use passwords the mentioned steps can be performed again to build the 'combined passwords key'. XORing this value with the 'key processing pattern' retrieves the initial key!

quorumprocessor's People

Contributors

kuehne-trustable-de avatar dependabot[bot] 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.