Skip to content

clovrlabs/awemaria-plugin

Repository files navigation

Contributors Forks Stargazers Issues GPL License LinkedIn


Logo

Awemaria Plugin

MariaDB's data-at-rest encryption requires the use of a key management and encryption plugin. These plugins are responsible both for the management of encryption keys and for the actual encryption and decryption of data.

However this plugin come with some limitations.

You are bound to trust your operators when it comes to encryption, and often in regulated environment where separation of privileges is paramount that's not always possible.

With Awemaria the shamir's secret sharing is used, therefore securing a secret in a distributed way. The secret is split into multiple parts, called shares. These shares are used to reconstruct the original secret.

To unlock the secret via Shamir's secret sharing, you need a minimum number of shares. This is called the threshold, and is used to denote the minimum number of shares needed to unlock the secret. Let us walk through an example:


Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

awemaria logo

Some of the useful properties of Awemaria Shamir's scheme are:

  • Secure: Information theoretic security.
  • Minimal: The size of each piece does not exceed the size of the original data.
  • Extensible: When k {\displaystyle k,!} k,! is kept fixed, D i {\displaystyle D_{i},!} D_i,! pieces can be dynamically added or deleted without affecting the other pieces.
  • Dynamic: Security can be easily enhanced without changing the secret, but by changing the polynomial occasionally (keeping the same free term) and constructing new shares to the participants.
  • Flexible: In organizations where hierarchy is important, we can supply each participant different number of pieces according to their importance inside the organization. For instance, the president can unlock the safe alone, whereas 3 secretaries are required together to unlock it.

MariaDB: The open source relational database

MariaDB was designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

MariaDB is brought to you by the MariaDB Foundation and the MariaDB Corporation. Please read the CREDITS file for details about the MariaDB Foundation, and who is developing MariaDB.

MariaDB is developed by many of the original developers of MySQL who now work for the MariaDB Corporation, the MariaDB Foundation and by many people in the community.

MySQL, which is the base of MariaDB, is a product and trademark of Oracle Corporation, Inc. For a list of developers and other contributors, see the Credits appendix. You can also run 'SHOW authors' to get a list of active contributors.

A description of the MariaDB project and a manual can be found at:

https://mariadb.org

Getting Started

Prerequisites

Installation

Usage

Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.

For more examples, please refer to the Documentation

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/somefeature)
  3. Commit your Changes (git commit -m 'Add somefeature')
  4. Push to the Branch (git push origin feature/somefeature)
  5. Open a Pull Request

License

Distributed under the GPL License. See LICENSE for more information.

NOTE:

MariaDB is specifically available only under version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.) This is inherited from MySQL. Please see the README file in the MySQL distribution for more information.

License information can be found in the COPYING file. Third party license information can be found in the THIRDPARTY file.

Contact

Your Name - @clovrlabs - info@clovrlabs.com

Project Link: https://github.com/your_username/repo_name

Acknowledgements

About

Awemaria, a MariaDB Shamir integration plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published