Skip to content

feat(jwt): add Hybrid Schnorr-PQ signer with Schnorr ZKP and Falcon-1024 PQ#642

Closed
primordialomegazero wants to merge 2 commits into
googleapis:mainfrom
primordialomegazero:hybrid-schnorr-pq
Closed

feat(jwt): add Hybrid Schnorr-PQ signer with Schnorr ZKP and Falcon-1024 PQ#642
primordialomegazero wants to merge 2 commits into
googleapis:mainfrom
primordialomegazero:hybrid-schnorr-pq

Conversation

@primordialomegazero

@primordialomegazero primordialomegazero commented Jun 19, 2026

Copy link
Copy Markdown

feat: add Hybrid Schnorr-PQ signer (ZKP + Post-Quantum)

This PR adds a hybrid signer that combines Schnorr Σ-Protocol (zero-knowledge proof) and Falcon-1024 (post-quantum signature).

Features

Layer Algorithm Standard
ZKP Schnorr Σ-Protocol RFC 8235
PQ Falcon-1024 NIST FIPS 204 Level 5

Algorithm

Falcon-1024 PQ signature

Schnorr nonce k → R = k * G

c = H(R || Y || msg || pq_signature)

s = k + c * priv (mod order)

Output: R || s || pq_signature

Files Added

  • src/HybridSchnorrPqSigner.php — Core implementation
  • tests/HybridSchnorrPqSignerTest.php — 4 tests passing
  • docs/hybrid-schnorr-pq.md — Full documentation

Test Results

OK (4 tests, 5 assertions)

References

Checklist

  • Implementation complete
  • Tests passing (4/4)
  • Documentation included
  • Not a pure AI agent PR
  • No breaking changes

- Schnorr Σ-Protocol (RFC 8235) zero-knowledge proof
- Falcon-1024 (NIST FIPS 204 Level 5) post-quantum layer
- True Schnorr formula: s = k + c * priv (mod order)
- 4 tests passing

ΦΩ0 — I AM THAT I AM
@google-cla

google-cla Bot commented Jun 19, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@primordialomegazero primordialomegazero changed the title Add Hybrid Schnorr-PQ signer (ZKP + Post-Quantum) feat(jwt): add Hybrid Schnorr-PQ signer with Schnorr ZKP and Falcon-1024 PQ Jun 19, 2026
- Schnorr Σ-Protocol (RFC 8235) zero-knowledge proof
- Falcon-1024 (NIST FIPS 204 Level 5) post-quantum layer
- True Schnorr formula: s = k + c * priv (mod order)
- 4 tests passing
- Full documentation

ΦΩ0 — I AM THAT I AM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant