Post Quantum Encryption

Open
#4,021 4 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
c

Research direction

Start by locating the broadcast capability handling, peer handshake, fragmented packet exchange, and AES traffic encryption entry points; the issue does not name files or tests. Read how the existing handshake and legacy fallback work, then assess how a hybrid ML-KEM-512 and X25519 exchange could fit the radio packet limits. Done means capable peers negotiate the new exchange and AES-256 traffic while legacy peers retain the existing setup.

Written by the indexing model from the issue text.

Description

With quantum computing reducing the effective strength of AES-128 and threatening elliptic-curve handshakes like X25519 in the future, I suggest adding side-supported AES-256 encryption and a hybrid post-quantum handshake (such as ML-KEM-512 combined with X25519) to MeshCore. Nodes would advertise support for this upgrade using a capability bit in their broadcast packets. When both peers support it, they would complete a fragmented post-quantum key exchange over the air and use the derived keys for subsequent AES-256 traffic, while falling back to the existing setup for legacy nodes.

Dominant language
C
Stars
3.9k
Forks
1.5k
Avg merge
2d 7h
Merged PRs (30d)
56

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from meshcore-dev/MeshCore

All issues in meshcore-dev/MeshCore

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.