mirror of
https://github.com/luxfi/pqrns.git
synced 2026-10-30 15:21:45 +00:00
PQ-RNS extends the Reticulum Network Stack (markqvist/Reticulum) with
a hybrid PQ identity and key-exchange layer without forking the
reference protocol. Capability-negotiated; mixed networks coexist
with native classical RNS peers.
Initial drop:
- cmd/pqrnsd daemon: serve / announce / dial / identity / version
- pkg/identity hybrid identity wire layout (PublicIdentitySize = 3200 bytes)
Ed25519 || X25519 || ML-DSA-65 || ML-KEM-768
16-byte SHA-256 fingerprint (matches native RNS shape)
- pkg/link (skeleton; hybrid link establishment + session KDF)
- pkg/announce (skeleton; capability-bearing announce frames)
- pkg/cap (skeleton; capability negotiation:
require / hybrid_full / hybrid_psk modes)
- .github/workflows CI (build / vet / test / gofmt)
- LICENSE Apache-2.0
- README crypto stack, layout, config, composition, status
Primitives:
identity sig Ed25519 + ML-DSA-65 (FIPS 204)
KEX X25519 + ML-KEM-768 (FIPS 203)
session enc AES-256-CBC + HMAC-SHA-256 (unchanged from native RNS)
KDF HKDF-SHA-256 with explicit per-layer context strings:
PQRNS-LINK-v1
PQRNS-IDENTITY-SIG-v1
PQRNS-ANNOUNCE-SIG-v1
PQRNS-LINK-REKEY-v1
The paper at luxfi/papers/pq-rns/pq-rns.tex is the authoritative spec.
Implementation tracks the paper.
Composition: pairs with luxfi/zwing (TCP/IP transport) and luxfi/pqsafe
(file envelope). Carrier-agnostic; the PQSAFE envelope rides either
Z-Wing on TCP/IP or PQ-RNS on mesh / LoRa / packet radio / optical.
18 lines
750 B
Plaintext
18 lines
750 B
Plaintext
Apache License
|
|
Version 2.0, January 2004
|
|
http://www.apache.org/licenses/
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
Copyright 2025-2026 Lux Industries Inc.
|