-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken tests due to change in aeson field order
See commercialhaskell/stackage#5878 The problem is that the JWE header is generated internally and since it is included in the signature, the tests which attempt to reproduce the JWE values from the spec exactly fail. Since the header is a simple structure, instead of using Aeson to encode the encode it we just create a ByteString directly with the original order (and encode the Alg and Enc values into it).
- Loading branch information
Showing
2 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters