{ "title":"mac-fail-07: Direct key + HMAC-SHA256", "fail":true, "input":{ "plaintext":"This is the content.", "mac":{ "alg":"HS256", "protected":{ "alg":"HS256", "ctyp":0 }, "recipients":[ { "unprotected":{ "alg":"direct", "kid":"our-secret" }, "key":{ "kty":"oct", "kid":"our-secret", "use":"enc", "k":"hJtXIZ2uSN5kbQfbtTNWbpdmhkV8FJG-Onbc6mxCcYg" } } ] }, "failures":{ "RemoveProtected":{ "ctyp":0 } } }, "intermediates":{ "ToMac_hex":"84634D414345A2010503004054546869732069732074686520636F6E74656E742E", "CEK_hex":"849B57219DAE48DE646D07DBB533566E976686457C1491BE3A76DCEA6C427188", "recipients":[ { } ] }, "output":{ "cbor_diag":"97([h'A10105', {}, h'546869732069732074686520636F6E74656E742E', h'1CB67BE501C70D20CA5C7FE26F95E3F46799ED2FB5A2E457426D818985DC1EB7', [[h'', {1: -6, 4: h'6F75722D736563726574'}, h'']]])", "cbor":"D8618543A10105A054546869732069732074686520636F6E74656E742E58201CB67BE501C70D20CA5C7FE26F95E3F46799ED2FB5A2E457426D818985DC1EB7818340A20125044A6F75722D73656372657440" } }