PQ Python

argon2-cffi, pwdlib, bcrypt, passlib

Password hashing uses no public-key cryptography; no rehash is needed.

PyPI
argon2-cffi, pwdlib, bcrypt, passlib
Version cited
variousargon2-cffi 25.1.0, pwdlib 0.4.2, bcrypt 5.1.0, passlib 1.9.6 (3 Dec 2026, revived under notypecheck/passlib)
Downloads
n/a

Key exchange and encryption

Not affected

No key exchange

Signatures and identity

Not affected

No public-key crypto

What to do

Do not rehash or migrate password hashes because of the advisory. Protect the TLS channels that carry passwords.

Since 1 Dec 2026 passlib 1.9.6 released 3 Dec 2026 under notypecheck/passlib (AGY report); not advisory-related. Nothing else found as of 3 Dec 2026.

Details

  • Versions cited (AGY report): argon2-cffi 25.1.0, pwdlib 0.4.2, bcrypt 5.1.0, and passlib 1.9.6, revived on 3 Dec 2026 under notypecheck/passlib AGY.
  • Unaffected. Argon2id, bcrypt, scrypt and PBKDF2 use no public-key cryptography, so no rehash is needed. The AGY report lists password hashing (argon2-cffi, pwdlib, bcrypt, passlib, Django and FastAPI password hashers), along with hashlib, hmac and secrets, among the things not to touch during emergency triage. The ASTRA report: Argon2 password hashes are not 256-bit elliptic curves; inspect how their keys, transports and updates are protected instead.
  • FastAPI. The tutorial hashes with pwdlib[argon2] and PasswordHash.recommended(); FastAPI PR #13917 replaced passlib with pwdlib + Argon2 (FastAPI release notes).
  • Django. The default hasher is PBKDF2, with Argon2, bcrypt and scrypt also available (Django).
  • Other Argon2 sources. pyca/cryptography’s Argon2id is on its unaffected list (cryptography), and pycryptodome 4.7.0 added native C/SIMD Argon2 (pycryptodome).
  • Long term. CNSA 2.0 prefers 256-bit symmetric strength against Grover’s algorithm; that is a separate, slower concern.
Sources cited on this page 1
  1. FastAPI release notes fastapi.tiangolo.com

All sources across the guide