key-commitment · shipping · also Key robustness, Key collision resistance

Key commitment

Key commitment makes it computationally difficult to construct a ciphertext that authenticates under two different keys.

The guarantee concerns adversarially chosen keys and inputs, not just accidental wrong-key rejection. RFC 9771 allows the nonce, associated data and plaintext to differ between the two encryption inputs. Full commitment binds all inputs and implies key commitment; the converse does not hold. [1]

Storage relevance: Albertini et al. analyze malicious key import during rotation and inconsistent DEKs supplied to different envelope recipients. The attacker controls the candidate keys; this does not recover an arbitrary secret key. Ordinary authenticated encryption can satisfy its usual security goals while lacking this extra property. [2]

Migration example: from version 2.0.x, the cited encryption SDK distinguishes ForbidEncryptAllowDecrypt (noncommitting writes, either read format), RequireEncryptAllowDecrypt (committing writes, either read format) and RequireEncryptRequireDecrypt (committing writes and reads only). The strict default rejects legacy messages without commitment; possession of their keys is insufficient for acceptance. [3]

Before changing writers, upgrade every required reader. Before strict decryption, resolve retained legacy ciphertext, including recovery copies. A wrapping-key rotation is a different operation from migrating the payload format. [4]

Relations

related
Authenticated encryption, AES-GCM-SIV, Envelope encryption, Key rotation

Limitations

  • A successful round trip or wrong-key test is not a proof of a cryptographic commitment bound. [1]

Citations

  1. RFC 9771: Properties of AEAD Algorithms, sections 4.3.2-4.3.3 (Informational, 2025) (accessed 2026-11-22)
  2. Albertini et al.: How to Abuse and Fix Authenticated Encryption Without Key Commitment. USENIX Security 2022, pp. 3291-3308, sections 2-3. (accessed 2026-11-22)
  3. AWS Encryption SDK: Setting your commitment policy (accessed 2026-11-22)
  4. AWS Encryption SDK: How to migrate and deploy, staged reader and writer rollout (accessed 2026-11-22)
Sources & caveats
  • Source synthesis, not an attack reproduction or a cloud-service assessment. Historical scenarios in the 2022 paper must not be read as current product vulnerabilities. [2]
  • The migration policy names describe the AWS Encryption SDK, not a universal KMS API. Source documentation reviewed on 2026-11-22. [3]

JSON: /data/terms/key-commitment.json

Published by Hesela team · Updated

Report a correction · Editorial standards · Reuse guidance

Cite this page
Hesela team. Key commitment. Hesela. 2026-11-22. https://hesela.dev/terms/key-commitment/