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

Implement RFC-7797 / JWS (Detached Payload) #166 #272

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

finvu
Copy link

@finvu finvu commented Jul 22, 2021

This is a contribution for issue number #166. I have also observed that as per rfc7515, section 4.1.9 the recommended value for typ header should be "JOSE" and hence include that change as well. Two tests have been added test_RSA256_detached() and test_RSA256_detached_encoded()

@prajurock
Copy link

is this validated? working as expected?
I am trying to generate detach jws key from the above function

But the java jose4j are this is not giving me same result.

@chayan-datta @finvu Can you please help?

@chayan-datta
Copy link

is this validated? working as expected? I am trying to generate detach jws key from the above function

But the java jose4j are this is not giving me same result.

@chayan-datta @finvu Can you please help?

One minor suggestion @prajurock, after converting it to JSON string, please remove the spaces. It will give you the result you want.

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

Successfully merging this pull request may close these issues.

3 participants