QShift Labs
Sign in

Open source

Cosign

github.com/sigstore/cosign

C

Scanned 5 Dec 2026 at commit 8d7d8498db: 237 files, Go, graded against CNSA 2.0, qshift 0.2.4.

0 weak today, 7 quantum-vulnerable, 0 below the profile, 1 ready.

How to raise the grade

The changes that move the grade most, in this order. Each step counts the places from the list below.

  1. Replace ECDSA P-256

    2 places. Plan ML-DSA-87 (signatures) or ML-KEM-1024 (key exchange) once your software supports it; keep keys easy to rotate.

  2. Replace RSA/ECDSA

    2 places, most of them in pkg/cosign/. Store new keys as PKCS#8 (x509.MarshalPKCS8PrivateKey) so ML-DSA and ML-KEM keys fit the same code.

  3. Replace ECDSA

    1 place, most of them in pkg/cosign/. Go 1.27 has crypto/mldsa (ML-DSA-87).

2. Protect data in transit

Key exchange and encryption a future quantum computer could break. Traffic recorded today could be decrypted later, so these come before signatures.

Quantum-vulnerableRSA/ECDSA 2 places

RSA or EC private keys read or written in PKCS#1 or SEC 1 form

Fix: Store new keys as PKCS#8 (x509.MarshalPKCS8PrivateKey) so ML-DSA and ML-KEM keys fit the same code.

Quantum-vulnerableRSA 1 place

RSA from crypto/rsa

Fix: Go 1.27 has crypto/mldsa, Go 1.24+ crypto/mlkem (use the 1024 variants); plan the move per use.

3. Move signatures

Signatures and certificates a future quantum computer could forge. Nothing recorded today becomes readable through them, so they can follow the key exchange, ahead of the CNSA 2.0 and NIST dates.

Quantum-vulnerableECDSA 1 place

ECDSA from crypto/ecdsa

Fix: Go 1.27 has crypto/mldsa (ML-DSA-87).

Quantum-vulnerableEd25519 1 place

Ed25519 from crypto/ed25519

Fix: Go 1.27 has crypto/mldsa (ML-DSA-87).

Already post-quantum or strong enough

Readygithub.com/cloudflare/circl v1.6.3 1 place

Has ML-KEM and ML-DSA (SLH-DSA from 1.6.2).

Fix: None needed.

This is what the qshift scanner found in the public code at the commit named, with test folders left out. A scanner reports what it finds; it cannot prove that no other cryptography is used. It is not an audit and says nothing about how the project is run.