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