AWS payment-cryptography: Clarify KP header is not validated or retained on import
Summary
Clarifies that the KP optional header (KCV of the wrapping key) is informational only: AWS Payment Cryptography does not validate it on import and does not retain it, with a link to the optional headers topic.
Security assessment
Documents that the wrapping-key KCV is not verified during key import, which is important integrity/trust information for key-block handling; it clarifies behavior rather than addressing a specific vulnerability.
Evidence
+When importing keys using X9.143, TR-31 or TR-34 key blocks, AWS Payment Cryptography typically retains (but does not utilize) any optional headers. The HM(HMAC hash type) header is used during cryptographic operations. The KP header (KCV of the wrapping key) is informational. AWS Payment Cryptography doesn't validate it on import and doesn't retain it. For more information about optional headers, see [Key block optional headers](./key-block-optional-headers.html).
Diff
diff --git a/payment-cryptography/latest/userguide/keys-import.md b/payment-cryptography/latest/userguide/keys-import.md index e3ee5e7..bd4193d 100644 --- a//payment-cryptography/latest/userguide/keys-import.md +++ b//payment-cryptography/latest/userguide/keys-import.md @@ -42 +42 @@ Examples require the latest version of the AWS CLI V2. Before getting started, m -When importing keys using X9.143, TR-31 or TR-34 key blocks, AWS Payment Cryptography typically retains (but does not utilize) any optional headers. The HM(HMAC hash type) header is used during cryptographic operations. The KP header (KCV of wrapping key) is specific to the import process and is not retained. +When importing keys using X9.143, TR-31 or TR-34 key blocks, AWS Payment Cryptography typically retains (but does not utilize) any optional headers. The HM(HMAC hash type) header is used during cryptographic operations. The KP header (KCV of the wrapping key) is informational. AWS Payment Cryptography doesn't validate it on import and doesn't retain it. For more information about optional headers, see [Key block optional headers](./key-block-optional-headers.html).