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