QSC-PLAT-0301 · CWE-327
AWS KMS asymmetric key with RSA or ECC
Severity: HighReadiness: Fix availableQuantum threat: Shor
Summary
AWS KMS offers ML-DSA for signing (key specs ML_DSA_44/65/87), but at review had no ML-KEM key spec for asymmetric encryption.
Why it matters
RSA ENCRYPT_DECRYPT keys protect data with a quantum-vulnerable algorithm; RSA/ECC SIGN_VERIFY keys can be forged later.
How to fix
SIGN_VERIFY: create ML_DSA_65 keys and move signers. ENCRYPT_DECRYPT: use SYMMETRIC_DEFAULT (AES-256) envelope encryption until KMS offers ML-KEM.
- List asymmetric keys: `aws kms list-keys` then `aws kms describe-key` (KeySpec, KeyUsage).
- Create ML-DSA signing keys and update signers and verifiers (signing algorithm ML_DSA_SHAKE_256).
- Replace RSA encryption keys with symmetric KMS keys plus GenerateDataKey envelope encryption.
Code samples
Illustrative: confirm against your runtime’s documentation before shipping.
aws kms create-key --key-spec ML_DSA_65 --key-usage SIGN_VERIFY --description "PQ signing key"
aws kms sign --key-id <key-id> --message fileb://msg.bin --message-type RAW --signing-algorithm ML_DSA_SHAKE_256Until the provider is ready
Interim mitigations while platform support catches up.
- Use symmetric KMS keys for data encryption; they are quantum-resistant at 256 bits.