pyauth / requests-http-signature

A Requests auth module for the IETF HTTP Message Signatures draft standard

Home Page:https://pyauth.github.io/requests-http-signature/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTPSignatureAuth.verify does not validate the request body

Diggsey opened this issue · comments

The digest header is validated if the client chooses to include it, but the verify method does not require it, and even when it is present, there's nothing to check that the digest actually matches the body of the request.

This now happens automatically (for the Content-Digest header) and is released in v0.4.0, along with passing required components to HTTPSignatureAuth.verify.