Payload gets mangled by JWS signing with multiple recipients + unencoded payload #89
Closed
1 task done
Labels
bug
Something isn't working
Describe the bug
Using unencoded option (RFC7797) with multiple signatures/recipients causes the payload to the signed JWS to get garbled.
To Reproduce
Following code will reproduce the issue:
The result is:
Note: the weird characters in the payload. Should just be
test
.Expected behaviour
The result should look like this:
Environment:
jose
version: [e.g. v1.27.2]Additional context
Add any other context about the problem here.
The above code works as expected if only one recipient is added before signing.
jose
too.The text was updated successfully, but these errors were encountered: