{ "title":"mac-fail-03: Direct key + HMAC-SHA256", "fail":true, "input":{ "plaintext":"This is the content.", "mac0":{ "alg":"HS256", "protected":{ "alg":"HS256" }, "recipients":[ { "unprotected":{ "alg":"direct", "kid":"our-secret" }, "key":{ "kty":"oct", "kid":"our-secret", "use":"enc", "k":"hJtXIZ2uSN5kbQfbtTNWbpdmhkV8FJG-Onbc6mxCcYg" } } ] }, "failures":{ "ChangeAttr":{ "alg":-999 } } }, "intermediates":{ "ToMac_hex":"84644D41433043A101054054546869732069732074686520636F6E74656E742E", "CEK_hex":"849B57219DAE48DE646D07DBB533566E976686457C1491BE3A76DCEA6C427188", "recipients":[ { } ] }, "output":{ "cbor_diag":"17([h'A1013903E6', {}, h'546869732069732074686520636F6E74656E742E', h'A1A848D3471F9D61EE49018D244C824772F223AD4F935293F1789FC3A08D8C58'])", "cbor":"D18445A1013903E6A054546869732069732074686520636F6E74656E742E5820A1A848D3471F9D61EE49018D244C824772F223AD4F935293F1789FC3A08D8C58" } }