diff options
author | adam <adam@pkgsrc.org> | 2019-01-17 13:22:00 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2019-01-17 13:22:00 +0000 |
commit | d873cde9ed4adfc409f8df647d783b155e5bedac (patch) | |
tree | af78322fcde6f33161b6189fd3e4fc11c0f61409 /security/antonym | |
parent | a1bdd8e1245b5028b91541bb8c5a50fe0ee71a89 (diff) | |
download | pkgsrc-d873cde9ed4adfc409f8df647d783b155e5bedac.tar.gz |
py-mohawk: updated to 1.0.0
1.0.0:
Security related: Bewit MACs were not compared in constant time and were thus possibly circumventable by an attacker.
Breaking change: Escape characters in header values (such as a back slash) are no longer allowed, potentially breaking clients that depended on this behavior. See https://github.com/kumar303/mohawk/issues/34
A sender is allowed to omit the content hash as long as their request has no content. The mohawk.Receiver will skip the content hash check in this situation, regardless of the value of accept_untrusted_content. See Empty requests for more details.
Introduced max limit of 4096 characters in the Authorization header
Changed default values of content and content_type arguments to mohawk.base.EmptyValue in order to differentiate between misconfiguration and cases where these arguments are explicitly given as None (as with some web frameworks). See Skipping content checks for more details.
Failing to pass content and content_type arguments to mohawk.Receiver or mohawk.Sender.accept_response() without specifying accept_untrusted_content=True will now raise mohawk.exc.MissingContent instead of ValueError.
Diffstat (limited to 'security/antonym')
0 files changed, 0 insertions, 0 deletions