Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So far exceptions raised in `jws.verify()` weren't caught in the above function, which led to it raising (undocumented) exceptions from the underlying module. This commit transforms said exceptions. This includes cases of invalid payload padding, error handling for which had previously been attached to the `json.loads()` call.
- Loading branch information