Relative Content

Tag Archive for gojwt

how to decrypt and verify a nested JWT with binary payload

I have a nested JWT to decrypt and verify. The payload is binary (header, binary payload , signature, encrypted with the public key). So there is no claims to parse. I’ve been looking at available libraries. I’ve tried to use jose library. Here’s what I’ve done:

GO how to decrypt and verify a nested JWT with binary payload in GO

I have a nested JWT to decrypt and verify. The payload is binary (header, binary payload , signature, encrypted with the public key). So there is no claims to parse. I’ve been looking at available libraries. I’ve tried to use jose library. Here’s what I’ve done: