{ "title":"mac-fail-07: Direct key + HMAC-SHA256", "fail":true, "input":{ "plaintext":"This is the content.", "mac0":{ "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":"84644D41433045A2010503004054546869732069732074686520636F6E74656E742E", "CEK_hex":"849B57219DAE48DE646D07DBB533566E976686457C1491BE3A76DCEA6C427188", "recipients":[ { } ] }, "output":{ "cbor_diag":"17([h'A10105', {}, h'546869732069732074686520636F6E74656E742E', h'BB9E11EF2BD673F766A398D4E3FAD78E0F0BE2806BF73FB647471E40B3D98734'])", "cbor":"D18443A10105A054546869732069732074686520636F6E74656E742E5820BB9E11EF2BD673F766A398D4E3FAD78E0F0BE2806BF73FB647471E40B3D98734" } }