Weak todaySHA-1 1 place
SHA-1 from ring or aws-lc-rs (the *_SHA1_FOR_LEGACY_USE_ONLY algorithms)
Fix: Use digest::SHA384 or digest::SHA512.
github.com/dani-garcia/vaultwarden
Scanned 5 Dec 2026 at commit 827181aece: 88 files, JavaScript, Python, Rust, TypeScript, graded against CNSA 2.0, qshift 0.2.4.
1 weak today, 7 quantum-vulnerable, 1 below the profile, 1 ready.
The changes that move the grade most, in this order. Each step counts the places from the list below.
1 place, most of them in src/. Use digest::SHA384 or digest::SHA512.
3 places. With OpenSSL 3.5+ use the "ML-DSA-87" and "ML-KEM-1024" key types, or aws-lc-rs.
2 places, most of them in src/static/scripts/. WebCrypto ML-KEM / ML-DSA are still a draft (WICG Modern Algorithms, Node 24.7+ experimental); keep algorithms configurable and plan the switch.
Broken or too weak today, without any quantum computer. These hold the grade at D or F.
SHA-1 from ring or aws-lc-rs (the *_SHA1_FOR_LEGACY_USE_ONLY algorithms)
Fix: Use digest::SHA384 or digest::SHA512.
Key exchange and encryption a future quantum computer could break. Traffic recorded today could be decrypted later, so these come before signatures.
RSA from the openssl crate
Fix: With OpenSSL 3.5+ use the "ML-DSA-87" and "ML-KEM-1024" key types, or aws-lc-rs.
RSA, ECDSA, ECDH, Ed25519 or X25519 with WebCrypto (crypto.subtle)
Fix: WebCrypto ML-KEM / ML-DSA are still a draft (WICG Modern Algorithms, Node 24.7+ experimental); keep algorithms configurable and plan the switch.
rustls with the ring crypto provider (no post-quantum key exchange)
Fix: Use the default aws-lc-rs provider (rustls 0.23.27+ prefers X25519MLKEM768; kx_group::MLKEM1024 for CNSA 2.0).
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.
JWT signed with RSA, ECDSA or EdDSA (jsonwebtoken crate)
Fix: Keep the algorithm configurable and tokens short-lived; switch to ML-DSA when your JOSE library supports it.
Not broken, but below the strength the profile asks for. Worth doing when the code is changed anyway.
rustls with only the ring crypto provider has no post-quantum key exchange
Fix: Use the aws-lc-rs provider: add "aws_lc_rs" (and "prefer-post-quantum" before 0.23.27) to the rustls features, or keep the default features.
Prefers hybrid X25519MLKEM768 by default with the aws-lc-rs provider.
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.