Sha256: 9344f2234bcee9599a4e8735782ab278b853bafecf1389a347984d756b24e806

Contents?: true

Size: 1.84 KB

Versions: 3

Compression:

Stored size: 1.84 KB

Contents

[
   {
      "name": "Mismatched HMAC",
      "algo": "AES-256-CTR/SHA-256",
      "iv": "918ab83c8966995dfb528a0020d9bb10",
      "aad": "99f05406f40d1af74cc737a96c1932fdec90",
      "key": "c0b091fd93dfbb2422e53553f971d8127f3731058ba67f32b1549c53fce4120e50ecc9c6c1a6277ad951f729b3cc6446e21b4024345088a0edda82231a46ca9a0000000000000000000000000000000000000000000000000000000000000000",
      "plaintext": "74657374310a",
      "ciphertext": "918ab83c8966995dfb528a0020d9bb1070cead40b081ee0cbfe7265dd57a84f6c331421b7fe6a9c8375748b46acbed1ec7a1b9983800",
      "ignore_ciphertext_mismatch_on_encrypt": true,
      "decrypt_error": "HMAC validation failure"
   },
   {
      "name": "Ciphertext too small",
      "algo": "AES-256-CTR/SHA-256",
      "iv": "918ab83c8966995dfb528a0020d9bb10",
      "aad": "99f05406f40d1af74cc737a96c1932fdec90",
      "key": "c0b091fd93dfbb2422e53553f971d8127f3731058ba67f32b1549c53fce4120e50ecc9c6c1a6277ad951f729b3cc6446e21b4024345088a0edda82231a46ca9a0000000000000000000000000000000000000000000000000000000000000000",
      "plaintext": "00",
      "ciphertext": "00",
      "ignore_ciphertext_mismatch_on_encrypt": true,
      "decrypt_error": "input ciphertext too small"
   },
   {
      "name": "Ciphertext symmetric cipher output is 0 bytes",
      "algo": "AES-256-CTR/SHA-256",
      "iv": "74c1b6102bbcb96436795ccbf2703af6",
      "aad": "99f05406f40d1af74cc737a96c1932fdec90",
      "key": "c0b091fd93dfbb2422e53553f971d8127f3731058ba67f32b1549c53fce4120e50ecc9c6c1a6277ad951f729b3cc6446e21b4024345088a0edda82231a46ca9a0000000000000000000000000000000000000000000000000000000000000000",
      "plaintext": "00",
      "ciphertext": "74c1b6102bbcb96436795ccbf2703af61703e0e33de37f148490c7ed7989f31720c4ed6a24ecc01cc3622f90ed2b5500",
      "ignore_ciphertext_mismatch_on_encrypt": true,
      "decrypt_error": "input ciphertext too small"
   }
]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
libmongocrypt-helper-1.12.0.0.1001 ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-decrypt.json
libmongocrypt-helper-1.11.0.0.1001 ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-decrypt.json
libmongocrypt-helper-1.8.0.0.1001 ext/libmongocrypt/libmongocrypt/test/data/roundtrip/fle2aead-decrypt.json