PQ Python

python-fido2

The most complete Python COSE stack: ML-DSA when the cryptography backend supports it, ES384, and ML-DSA attestation chains.

PyPI
fido2
Version cited
2.2.129 Jun 2026
Downloads
n/a

Key exchange and encryption

Not affected

No key exchange

Signatures and identity

PQ with action

ML-DSA when PyCA backend supports it

What to do

Upgrade to 2.2.1 on a cryptography build with ML-DSA. Prefer it when you need a P-384 stopgap or ML-DSA attestation chains; keep ES256 for existing credentials.

Since 1 Dec 2026 Nothing found as of 3 Dec 2026.

Details

  • ML-DSA. Defines MLDSA44/65/87 COSE classes only when the cryptography backend supports ML-DSA (PyPI fido2 2.2.1, fido2 2.2.1 cose.py).
  • Other algorithms. ES256, ESP256 (-9), ES384 (-35), ESP384 (-51), ES512 (-36), RS256 (-257), PS256 (-37), EdDSA, Ed25519 (-19), Ed448 and ES256K, including the RFC 9864 fully-specified COSE algorithms (ESP384=-51, etc.).
  • Attestation. Merged PR #296 (20 Oct 2026) supports ML-DSA attestation certificate chains.
  • AGY report: python-fido2 2.2.1 is the most complete COSE stack; prefer it over py_webauthn for relying parties that need ES384 or ML-DSA attestation today. Its medium-term step is to roll out ML-DSA passkeys via python-fido2 >= 2.2.1 / py_webauthn >= 3.0.1 as Apple, Google and Microsoft OS passkey providers add native ML-DSA support.
  • ASTRA report: it still supports ES256, and backend verification support cannot upgrade an existing authenticator’s key, browser or hardware. Test enrollment, recovery and re-enrollment with capable devices; do not disable phishing-resistant MFA on the strength of this alert.
Sources cited on this page 3
  1. PyPI fido2 2.2.1 pypi.org
  2. fido2 2.2.1 cose.py github.com
  3. PR #296 github.com

All sources across the guide