Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move 'jwk' and 'alg' fields to protected header. (certbot#4677)
* Move 'jwk' and 'alg' fields to protected header. Previously, these were in the unprotected JWS header, which Boulder currently allows. However, the next version of the spec doesn't allow anything in the unprotected header. Moving these fields now allows server implementers who are implementing the Certbot/Boulder version of ACME (https://github.com/letsencrypt/boulder/blob/master/docs/acme-divergences.md) to use JOSE libraries that don't support unprotected headers. Fixes certbot#4417. * Only protect existing headers.
- Loading branch information