← Lab /Security & privacy

EdDSA signatures enable cryptographically verifiable QR codes within static capacity

Robust cryptographic integrity can be achieved in QR codes using EdDSA signatures and CBOR certificates

Security & privacy arXiv 9 Jul 2026 Method Prototype evidence

Published as “Secure QR Codes: Authenticity Verification via EdDSA Signatures and CBOR Certificates”

Why it matters

The approach provides a practical way to authenticate public QR codes and mitigate quishing attacks, but requires deployment of a dedicated verification app and a supporting PKI infrastructure.

Summary

Ed25519 signatures with CBOR certificates fit within ~300 bytes, allowing a full trust chain to be encoded in low-density QR codes (version 7-10). The authors demonstrate two offline modes and a hybrid online mode, showing QR versions as low as 6-8 for the hybrid case. However, the offline model cannot revoke compromised keys without distributing a CRL, and embedding a full certificate chain pushes the QR to version 13, which may be hard to scan. The evidence is based on a small proof-of-concept implementation rather than large-scale deployment.

What they found 2

  1. Ed25519+CBOR payload fits within small QR versions

    “With a typical payload of 40-120 bytes, the total QR package remains around 300 bytes. This comfortably fits in small QR versions (e.g. version 7-10) even with High (H) error correction.”

  2. Hybrid architecture reduces QR size and enables revocation

    “This hybrid approach drastically reduces the physical QR footprint (easily fitting within version 6 or 8) and enables real8 time key revocation.”

Caveats 5

  • The fully offline model cannot perform immediate key revocation; it would require pushing a CRL to every verifier, negating offline benefits.
  • Embedding a full certificate chain inflates the QR to version 13, which may be difficult to scan in real-world conditions.
  • The primary limitation of the fully offline model is immediate key revocation. If a public infrastructure device is compromised and its private key is extracted, neutralizing the threat requires pushing a Certificate Revocation List (CRL) to every offline verifying device, which negates the offline advantage.
  • While embedding the certificate increases the density (version 13), it enables offline trust delegation.
  • Currently, there is no centralized, universally trusted entity (Root CA) that issues certificates specifically for IoT devices on a smart-city scale.

What’s new here 4

  • Uses Ed25519 signatures and CBOR certificates to fit a complete trust chain within low-density QR codes.
  • Introduces a dual-mode architecture supporting both fully offline verification and a hybrid online PKI.
  • Appends a cryptographic signature as a URL fragment for backward-compatible scanning with standard cameras.
  • Leverages JWKS endpoints for dynamic key fetching and real-time revocation without increasing QR size.