python-jose icon indicating copy to clipboard operation
python-jose copied to clipboard

Allow additional headers in JWE encryption (Note: Addtional header are already supoprted in JWS signing)

Open debanshuk opened this issue 2 years ago • 0 comments

JWS and JWE, both spec have the provision of custom (i.e. user-defined) headers. python-jose supports passing custom headers in the headers parameter in jose.jws.sign() method. But the same is not supported in jose.jwe.encrypt() method. This issue aims add this support.

debanshuk avatar Jul 02 '23 09:07 debanshuk