feat: add basic dag-jose jws and jwe fixtures#11
Conversation
0167d40 to
137283e
Compare
|
Hey @rvagg, I'm super close to getting my final With Am I missing something here? Also, looks like the |
|
You know what, scratch that @rvagg. I figured it out! I was dumb and looking at the encoding of the |
|
Sweet, good to hear we're getting close - btw I'm not claiming that these are the absolutely correct reference, but they are according to the current js-dag-jose. Perhaps you'll discover some problems that need to be fixed over there while you have your head in here. So while it'll be great to get to green here, correctness of the current fixtures isn't a given (yet). Happy to take changes to this branch if you want to open a PR - additional fixtures or changes to what's in here. |
|
Afaik js-dag-jose should be correct according to the spec. |

Just basic JWS, and asymmetric and symmetric JWE blocks. Currently not working in Go, they don't round-trip properly:
First guess is a map sorting issue. Used version of go-dag-jose here is probably relying on the go-ipld-prime dag-cbor that doesn't sort map keys consistently.
/cc @oed @warpfork