Find the crypto Shor's algorithm will break.

Every quantum-vulnerable key, certificate, cipher and line of code, found before the deadlines do. The name is a nod to Peter Shor, whose 1994 algorithm breaks RSA, Diffie-Hellman and elliptic-curve cryptography on a large enough quantum computer.

Shorline is an open-source PQC migration scanner. It inventories RSA, ECC, DH and broken legacy crypto across source code, certificates and keys, dependencies and TLS/SSH endpoints. Each finding is scored with Mosca's inequality and mapped to its NIST replacement (ML-KEM, ML-DSA, SLH-DSA). Results come out as a CycloneDX 1.6 CBOM, SARIF and an executive report.

$ go install github.com/Forrest-Jones/shorline/cmd/shorline@latest
$ shorline scan . --tls api.example.com
RISK  SEVERITY  ALGORITHM   LOCATION                         FINDING
76    high      X25519      paramiko/kex_curve25519.py:30    X25519 key agreement
76    high      ECDH        paramiko/kex_ecdh_nist.py:71     ECDH key agreement
76    high      RSA         paramiko/rsakey.py:188           RSA key generation
...
shorline: 59 findings, 54 need action (critical 0, high 7), readiness 8%. Reports in shorline-report/

Why now

The deadlines are set and the inventory is required. Data recorded today under RSA or ECDH key exchange can be decrypted later ("harvest now, decrypt later").

2022NSM-10 and OMB M-23-02: agencies submit an annual inventory of quantum-vulnerable cryptographic systems through 2035.
Aug 2024NIST publishes FIPS 203 (ML-KEM), 204 (ML-DSA) and 205 (SLH-DSA): "can and should be put into use now".
Jun 2026EO 14412 and OMB M-26-15: high-value and high-impact federal systems must use PQC key establishment by 2030-12-31 and PQC signatures by 2031-12-31, with an automated inventory feeding a CBOM.
Oct 2026NIST IR 8547 final: RSA, ECDSA, EdDSA and (EC)DH are deprecated after 2030 and disallowed after 2035.
2027 → 2031NSA CNSA 2.0 / CNSSP 15: required in new NSS acquisitions from 2027-01-01, mandated by 2031-12-31.

What it does

Source code, 7 languages

118 rules for OpenSSL/BoringSSL, Go crypto, JCA and BouncyCastle, Node crypto and WebCrypto, pyca/cryptography, PyCryptodome, .NET, ring and RustCrypto. Reports file:line, algorithm, key size and confidence, and also detects ML-KEM, ML-DSA and hybrids that are already in use.

Certificates and keys

PEM, DER, PKCS#12, JKS, OpenSSH, authorized_keys and known_hosts. Unknown algorithms are identified by OID (Ed448, PSS, ML-DSA, ML-KEM). Private-key material is never written out.

Live TLS and SSH

Probes each hybrid group (X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024), legacy versions, RSA key transport and certificate chains, plus SSH mlkem768x25519 and sntrup761 KEX and real host-key sizes. It only scans targets you list.

Dependency readiness

Lockfiles across Go, Python, npm, Maven/Gradle, Cargo and NuGet. Shows whether the pinned version supports ML-KEM/ML-DSA, with a source for every version claim.

CBOM, SARIF, report

A CycloneDX 1.6 CBOM and SARIF 2.1.0, both validated against the official schemas in CI, plus an HTML/Markdown executive report with a regulatory timeline.

Mosca risk scoring

Shelf life + migration time compared with time to a CRQC, set per path. Key exchange (harvest-now-decrypt-later) and signatures are scored differently. All assumptions are configurable and labeled as assumptions.

Sample reports from real open-source repositories

Scanned on 2026-11-30 with default settings. Each sample includes the HTML report, Markdown, CycloneDX CBOM and SARIF.

TargetCommitFindingsCrit / HighReadinessWhat stands outFiles
paramiko/paramiko Python0e9ccb91e0f9590 / 78%Already ships mlkem768x25519; its X25519 half is recognized as hybrid. Legacy curve25519/ECDH KEX flagged high.reportCBOMSARIFmd
rustls/rustls Rustaee794bac8502731 / 6423%The most ready: X25519MLKEM768 and ML-DSA are in use. Remaining risk is HPKE ECDH suites and RSA/ECDSA test PKI.reportCBOMSARIFmd
jwtk/jjwt Javafb71496164c71350 / 00%Everything is quantum-vulnerable, but it is signatures only, so there is no harvest-now-decrypt-later exposure. Move to ML-DSA by 2030-2035.reportCBOMSARIFmd
auth0/node-jsonwebtoken JSb924272f2919500 / 00%RS/ES JWT algorithms, RSA test keys, and two SHA-1-signed test certificates.reportCBOMSARIFmd
golang-jwt/jwt Go2f702c793f34850 / 00%RSA-PSS, ECDSA and Ed25519 signing paths, and a go.mod toolchain below 1.24 (no stdlib ML-KEM).reportCBOMSARIFmd
Network: forrest-jones.github.io:443 + github.com:22 TLS + SSH, from CIn/a90 / 222%X25519MLKEM768 and mlkem768x25519-sha256 negotiated, but TLS 1.2 still offers RSA key transport, and the certificates and SSH host keys are RSA/ECDSA/Ed25519.reportCBOMSARIF

Gate pull requests in CI

Record a baseline once. After that, only new quantum-vulnerable crypto fails the build. Findings appear in GitHub code scanning.

- uses: Forrest-Jones/shorline@main
  with:
    path: .
    baseline: .shorline-baseline.json
    fail: "true"        # needs: permissions: security-events: write
# .shorline.yml
risk: { crqc_year: 2035, shelf_life_years: 10, migration_years: 5,
        shelf_life_by_path: { "services/payments/**": 25 } }
fail_on: { severity: high, new_only: true, ignore_tests: true }
deny_algorithms: [MD5, DES, RC4]
exceptions:
  - { fingerprint: 7d0d5757bbcf462f2258886a, reason: "partner integration", expires: 2027-06-30 }

Where it fits

ShorlineCBOMkit (PQCA)IBM Quantum Safe ExplorerKeyfactor AgileSec / SandboxAQ AQtive Guard
CostFree, Apache-2.0Free, Apache-2.0CommercialCommercial
Code7 languages, pattern-basedJava/Python/Go, data-flow (more precise)YesYes
Certs, keystores, TLS/SSH probingYesNoCode-focusedYes, plus traffic, cloud and endpoints
CI gating (SARIF, Action, baseline)NativeVia SonarQubeNoIntegrations
Runtime, binaries, cloud KMSNoNoNoYes
Honest scope. Shorline is pattern-based static analysis without data flow. Use it as the automated first pass of a cryptographic inventory and a CI guardrail, not a replacement for an enterprise discovery platform. Runtime-selected algorithms show up as "unknown size", and some legacy-hash findings are non-security checksums (scored medium, with expiring exceptions available). See the limitations.
Related: qday-radar ran textbook Shor's and Grover circuits on IBM quantum hardware. It shows how far today's machines are from breaking RSA, which is why the real driver is migration lead time and harvest-now-decrypt-later, not current hardware.