Skip to content

[Feature request] Add PQC-safe (Shor/Grover) reporting #3116

Description

@vdbaan

Please check this repo whether this is a known feature request

I have checked the existing issues and feature requests and could not find an existing request for quantum security assessment reporting (Shor/Grover impact) in testssl.sh.

Describe your feature request (if it's a technical feature)

Add an informational "post-quantum readiness" assessment section that reports the theoretical impact of quantum algorithms on the cryptographic primitives used in a TLS connection.

The goal would not be to report a current vulnerability, but to provide visibility into how negotiated TLS parameters are expected to be affected by future cryptographically relevant quantum computers.

The report could distinguish between:

  • Shor's algorithm impact

    • RSA key exchange/signatures
    • ECDSA certificates
    • ECDH/ECDHE key exchange (for example X25519, P-256)
  • Grover's algorithm impact

    • Symmetric encryption algorithms (AES-128/AES-256)
    • Hash functions used in TLS (SHA-256/SHA-384)

Example output:

**Quantum readiness**
Key exchange: X25519
Shor impact: vulnerable to sufficiently powerful quantum computers

Certificate: ECDSA P-256
Shor impact: vulnerable to sufficiently powerful quantum computers

Cipher: AES-128-GCM
Grover estimate: ~64-bit security level

Hash: SHA-256
Grover preimage estimate: ~128-bit security level

If your feature request otherwise is related to a usage problem, please describe it

Organizations are beginning to inventory cryptographic dependencies for post-quantum migration. Current TLS scanning tools can identify algorithms and key sizes, but they generally do not provide an assessment of how those algorithms map to known quantum threats.

A user scanning a TLS endpoint today may not know whether the deployed configuration relies on primitives that will require migration in the future.

Describe the solution you'd like

Add a non-invasive informational report section that:

  • analyses the negotiated TLS algorithms and certificate/key exchange mechanisms;
  • maps cryptographic primitives to known quantum algorithm impacts;
  • clearly labels results as theoretical/future risk rather than present-day exploitability;
  • avoids presenting quantum estimates as traditional vulnerability findings;
  • optionally allows disabling the report if users do not want quantum-related information.

The output should make clear that:

  • Shor's algorithm threatens public-key cryptography (RSA/ECC);
  • Grover's algorithm reduces the effective security level of symmetric cryptography;
  • current publicly available quantum computers cannot practically break modern TLS deployments.

Which version of testssl.sh are you referring to?

3.3dev

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions