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.
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 injose.jws.sign()
method. But the same is not supported injose.jwe.encrypt()
method. This pull-request adds this support.