Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struggling with JWE decryption #390

Open
itsupply25 opened this issue Aug 5, 2022 · 0 comments
Open

Struggling with JWE decryption #390

itsupply25 opened this issue Aug 5, 2022 · 0 comments

Comments

@itsupply25
Copy link

Hello,

I'm trying to decrypt an JWE Token. But I'm struggling.
I've got the JWE Token and a secret to decode. How is the correct usage of jose, to decode this?

header: "alg": "A256KW", "enc": "A256CBC-HS512", "typ": "JWT"

Example Token:
eyJhbGciOiJBMjU2S1ciLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwidHlwIjoiSldUIn0.8lk3HXEJ5uvApko4umGH1_rLhdl-x7d-81HeFCz8I-1idij5crpQ1tQR7vVCxFVqhRN0B99NHlbHfhiSWKY2gmzMqWgDt56u.WuietiLj1lZvezkBE1ZvrA.VXc4EJ2sjQYh5D3Jf_bANTcwPe8lddJs9KsID0ERHUeU18nP0Hc0pEae_L4s7R-bGQbLmfUfkQwxO7AI9e8s2WwEHLrk0oYWU_LEV-xvTu_M-WH2gfMExDHcf08tEw0gfZsAf_BxRmwh74Ng-voscfT5tA7u7MJb0lKvZwvB5f_94CuWMvmVoKlerASBA2uH6J3554ST1suhgnKmGdIPPOuy2lQaXK6c0h8BHsTEG38tFoMxfGcP8ZQGxUCpzEvxt-amVQOgydNFgg9uxOg1MYRTdbNB8brsLG106dL_RNBkzwEKKXs-_Z36PjyR_DrP044w1H_SOqyJcReC-rkTw5Kh9IQIDalqrPpvQblce9hjm_qDJjhobMH2DxZqejJ4cizkbkD6kRvRR716yy17lsTeWkUoIJmQgp9Y2b2wogU.qbFmjV7paINPxs1l5hUHo9uTUGMfAIwVtWcCKRqyva0

Decrypt symmetric key:
Vaguely-Fresh-Orbit-0354-0314-81

I wasted a lot of hours, on this. And also with lots of browsing the internet I do not make progress with this topic.

Thanks in advance for your help!

Best regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant