Home

Awesome

QuantumGate

About

QuantumGate is a peer-to-peer (P2P) communications protocol, library and API. The long-term goal for QuantumGate is to become a platform for distributed computing based on a mesh networking model. In the short term, the goal is to provide developers with networking technology that they can easily integrate and use in their own applications. Click here for a more detailed overview.

Disclaimer

This software is currently in alpha development stage. It has not yet undergone peer review and no security audits have yet been done on the cryptographic protocol and its implementation. The API may also change, and while big changes are unlikely it will receive small updates as development progresses. Feel free to use and experiment with this software in your own projects, but keep the above information in mind.

Status

Based on the architecture described in the overview, the following main features are not yet implemented:

Platforms

QuantumGate is developed in C++20 and currently only supports the Microsoft Windows (x86/x64) platform. Support for Linux is planned for the future.

Pre-built Binaries and Releases

There are releases available on the releases page, some including pre-built binaries, that you can download to quickly try out. If you'd like to build from source then you can check the Manual Build section below.

Manual Build

The master branch is generally kept as stable as possible so you can download the source code from there instead of from the releases page if you prefer to work with the latest version.

You'll require the latest version of Microsoft Visual Studio 2022, as well as the dependencies listed below. When the paths to the dependency includes and libraries have been configured properly, building is as simple as opening the QuantumGate.sln file in the project root with Visual Studio and issuing the build command for the entire solution.

Dependencies

QuantumGate Core Library

NameVersion
OpenSSLAt least 3.0.0
PCG-RandomLatest.
zlibAt least 1.2.11
ZstandardAt least 1.5.1

QuantumGate Test Applications/Extenders

NameVersion
MonocypherAt least 3.1.2
JSON for Modern C++At least 3.10.4

Naming

The QuantumGate MSVC project is configured to look for specific naming of the OpenSSL, zlib and Zstandard .dll and .lib files, depending on the platform (32 or 64 bit) you're building for. You may have to build these libraries yourself to specify the names, or, alternatively you may change the names in the source code and configuration to the ones you use.

Libraryx86 Debugx86 Releasex64 Debugx64 Release
OpenSSLlibcrypto32d.lib, libcrypto32d.dlllibcrypto32.lib, libcrypto32.dlllibcrypto64d.lib, libcrypto64d.dlllibcrypto64.lib, libcrypto64.dll
zlibzlib32.lib, zlib32.dllzlib32.lib, zlib32.dllzlib64.lib, zlib64.dllzlib64.lib, zlib64.dll
Zstandardzstd32.lib, zstd32.dllzstd32.lib, zstd32.dllzstd64.lib, zstd64.dllzstd64.lib, zstd64.dll

Documentation

Documentation can be found in the wiki.

Examples

A listing of examples to get you started quickly can be found in the wiki.

Tutorials

A small but growing collection of tutorials can be found in the wiki.

License

The license for the QuantumGate source code can be found in the LICENSE file in the project root. In addition, QuantumGate uses third party source code covered under separate licenses. This includes an implementation of SipHash (in QuantumGateCryptoLib\SipHash), NewHope (QuantumGateCryptoLib\NewHope), Classic McEliece (QuantumGateCryptoLib\McEliece) and NTRUPrime (QuantumGateCryptoLib\NTRUPrime). Refer to the LICENSE files in the subfolders for details.

Contact

For maximum efficiency and transparency open an issue on QuantumGate's GitHub repository with any questions and/or comments that you may have. Contact information for the author can be found at https://www.kareldonk.com.

Donations

This project is self-funded. If you like it and would like to ensure its continued and speedy development, consider donating to the author. If this software has served you well (in commercial projects), consider supporting its further development through donations to the author. For details please contact the author using the above contact information. Please be advised, though, that the author does not accept contributions from governments, governmental organizations, government funded organizations, or other comparable terrorist organizations. The author values the truth and will make no compromises with regard to the software, its mission and purpose.

Contributing

The author is currently especially looking for engineers who would like to review the source code, report bugs or other issues, do security audits, and especially cryptographers who want to help review the cryptographic protocols used including their implementation.