mpdavis / python-jose

A JOSE implementation in Python
MIT License
1.54k stars 235 forks source link

resolves #321, Added support for passing additional headers in JWE encryption. #322

Closed debanshuk closed 1 year ago

debanshuk commented 1 year ago

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 pull-request adds this support.

debanshuk commented 1 year ago

I'll create a new pull-request with proper linking to the issue #321.

debanshuk commented 1 year ago

Opened pull-request https://github.com/mpdavis/python-jose/pull/323