PQ Python

hvac

HashiCorp Vault client whose client-side validation rejects Vault Enterprise Transit’s ml-dsa, hybrid and slh-dsa key types; PR #1235 has been open since Dec 2025.

PyPI
hvac
Version cited
2.4.030 Oct 2025
Downloads
23.0M/mo

Key exchange and encryption

Not affected

No key exchange of its own

Signatures and identity

Stopgap only

PQ types need raw adapter calls

What to do

Create and use Vault Enterprise ml-dsa, hybrid or slh-dsa Transit keys through hvac’s raw adapter until PR #1235 ships.

Since 1 Dec 2026 Nothing new since 1 Dec 2026; fix PR #1235 has been open since Dec 2025.

Details

  • Vault Enterprise Transit offers ml-dsa, hybrid and slh-dsa key types, and Vault 2.2.0 can rotate an ecdsa-p256 key to ml-dsa (Vault Transit).
  • hvac 2.4.0’s client validation allows only the classical Transit key types, so create_key raises ParamValidationError for these (hvac transit constants).
  • The fix, PR #1235, has been open since December 2025. Python users must use raw adapter calls in the meantime.

23,013,751 downloads in the 30 days to 3 Dec 2026.

Sources cited on this page 3
  1. Vault Transit developer.hashicorp.com
  2. hvac transit constants github.com
  3. PR #1235 github.com

All sources across the guide