Sign inSign up

rey128989/pqc-server

By rey128989

โ€ขUpdated 10 months ago

Industrial-grade dual-stack backend. quantum-safe transport

Image
Security
Operating systems
Databases & storage
0

889

rey128989/pqc-server repository overview

โ Universal PQC Backend

Secure. Scalable. Quantum-Safe.

The Universal PQC Backend is an industrial-grade secure storage and messaging platform designed for the post-quantum era. It leverages CRYSTALS-Dilithium5 for quantum-resistant transport security and AES-256-GCM for encryption-at-rest, ensuring data remains confidential against both classical and future quantum threats.


โ ๐Ÿ“„ Research & Documentation

This project is backed by a formal technical paper detailing the cryptographic implementation and performance benchmarks.


โ ๐Ÿ—๏ธ System Architecture

The platform is engineered as a hybrid C++/Python stack, tracking post-quantum transport security with classical symmetric encryption-at-rest.

โ Technical Stack
  • Security Foundation: OQS-OpenSSL 1.1.1 + liboqs 0.8.0.
  • Transport: CRYSTALS-Dilithium5 (Signatures) & Kyber768 (KEM).
  • Rest Security: AES-256-GCM with atomic key rotation.
  • Infrastructure: Multi-stage Docker (Ubuntu 22.04 LTS base).

โ ๐Ÿš€ Core Features

  • Quantum-Safe Transport: Communication is secured using a custom OpenSSL build with Dilithium5 signatures and Kyber key encapsulation.
  • Encrypted Persistence: Data is stored in a robust SQLite database, transparently encrypted with AES-256-GCM.
  • Dual-Stack API: Serves gRPC and HTTP/REST simultaneously.
  • Cloud Scalability: Built-in support for offloading large encrypted files to AWS S3.
  • Secure File Transfer: Streaming upload/download capabilities with automatic encryption.

โ ๐Ÿ“Š Performance Benchmarks

OperationLatency / Throughput
PQC mTLS Handshake (Dilithium5)41ms
Encrypted Store (AES-256-GCM + SQLite)93ms
AES-256-GCM Throughput~2.7 GB/s

Full benchmarking methodology and results are available in the published paperโ .


โ ๐Ÿ› ๏ธ Installation & Run Context

The entire system is containerized. Building the image compiles the full custom cryptographic toolchain.

โ Prerequisites
  • Docker & Docker Compose
  • Linux Environment (Ubuntu 20.04+ recommended)
โ Run Command

To run the server instance manually using this image:

docker run -d --name pqc-server \
  -p 50051:50051 -p 8080:8080 \
  -v "$(pwd)/certs:/app/certs" \
  -v "$(pwd)/data:/app/data" \
  rey128989/pqc-server:latest

โ โš™๏ธ Configuration

Configuration parameters are managed natively via config.json.

{
  "address": "0.0.0.0:50051",
  "storage_path": "data/storage.bin",
  "http_api_key": "your-secure-api-key",
  "use_s3": false,
  "s3_bucket": "my-secure-bucket"
}

โ โญ Drop a Star or Say Hi!

If this backend is helping you with your deployment or ongoing academic research, please head over and drop a star on the project repository. I would love to hear what workflows you are buildingโ€”feel free to open an issue or start a thread just to connect:

๐Ÿ‘‰ Official GitHub Repository: Sujithb128989/Quantum-Safe-Backendโ 


โ ๐Ÿ“œ License & Acknowledgments

Copyright (c) 2026 Sujith B. All rights reserved.
Licensed under the Apache License, Version 2.0.

Special thanks to:

Disclaimer: This software is intended for industrial research and forward-looking security implementation. While it utilizes NIST-selected algorithms, it has not undergone FIPS 140-3 certification.

Tag summary

Content type

Image

Digest

sha256:d340d1125โ€ฆ

Size

369.1 MB

Last updated

10 months ago

docker pull rey128989/pqc-server