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

JWE for multiple recipients #298

Open
dgpetrie opened this issue Jun 23, 2022 · 1 comment
Open

JWE for multiple recipients #298

dgpetrie opened this issue Jun 23, 2022 · 1 comment

Comments

@dgpetrie
Copy link

jose.jwe.encrypt outputs the compact form of JWE. I understand how to reformat this into the Complete JWE JSON Serialization form. What I don't see is a way to use jose.jwe.encrypt for multiple recipients with a shared ciphertext, iv and tag and a different encrypted_key for each recipient for the Complete JWE JSON Serialization form. jose.jwe.encrypt does not seem to accept an array of keys and the output compact form JWE does not support multiple encrypted_keys.

Can this be done with jose.jwe?

@securedimensions
Copy link

Can this be done with jose.jwe? I'd say no - unfortunately. I was looking for that option to create a JWE for multiple recipients too...

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

2 participants