QShift Labs
Sign in

Open source

Headscale

github.com/juanfont/headscale

D

Scanned 5 Dec 2026 at commit 9597398856: 310 files, Go, Java, graded against CNSA 2.0, qshift 0.2.4.

1 weak today, 4 quantum-vulnerable, 0 below the profile, 0 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. Fix what is weak today: MD5/SHA-1D to C

    1 place, most of them in integration/androidic/. Use crypto/sha512 (sha512.New384 or sha512.New).

  2. Replace RSA 4096

    2 places, most of them in integration/integrationutil/. Go 1.27 has crypto/mldsa, Go 1.24+ crypto/mlkem (use the 1024 variants); plan the move per use.

  3. Replace ECDSA

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

1. Fix now: weak today

Broken or too weak today, without any quantum computer. These hold the grade at D or F.

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 1 place

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.

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).

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.