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/
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").
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.
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.
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.
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.
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.
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.
Scanned on 2026-11-30 with default settings. Each sample includes the HTML report, Markdown, CycloneDX CBOM and SARIF.
| Target | Commit | Findings | Crit / High | Readiness | What stands out | Files |
|---|---|---|---|---|---|---|
| paramiko/paramiko Python | 0e9ccb91e0f9 | 59 | 0 / 7 | 8% | Already ships mlkem768x25519; its X25519 half is recognized as hybrid. Legacy curve25519/ECDH KEX flagged high. | reportCBOMSARIFmd |
| rustls/rustls Rust | aee794bac850 | 273 | 1 / 64 | 23% | The most ready: X25519MLKEM768 and ML-DSA are in use. Remaining risk is HPKE ECDH suites and RSA/ECDSA test PKI. | reportCBOMSARIFmd |
| jwtk/jjwt Java | fb71496164c7 | 135 | 0 / 0 | 0% | 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 JS | b924272f2919 | 50 | 0 / 0 | 0% | RS/ES JWT algorithms, RSA test keys, and two SHA-1-signed test certificates. | reportCBOMSARIFmd |
| golang-jwt/jwt Go | 2f702c793f34 | 85 | 0 / 0 | 0% | 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 CI | n/a | 9 | 0 / 2 | 22% | 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 |
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 }
| Shorline | CBOMkit (PQCA) | IBM Quantum Safe Explorer | Keyfactor AgileSec / SandboxAQ AQtive Guard | |
|---|---|---|---|---|
| Cost | Free, Apache-2.0 | Free, Apache-2.0 | Commercial | Commercial |
| Code | 7 languages, pattern-based | Java/Python/Go, data-flow (more precise) | Yes | Yes |
| Certs, keystores, TLS/SSH probing | Yes | No | Code-focused | Yes, plus traffic, cloud and endpoints |
| CI gating (SARIF, Action, baseline) | Native | Via SonarQube | No | Integrations |
| Runtime, binaries, cloud KMS | No | No | No | Yes |