Add HTTPSignatureHeaderAuth.verify()
sharpaper opened this issue · comments
sharpaper commented
The class HTTPSignatureHeaderAuth
inherits the method verify()
that uses the default scheme="Authorization"
. It would be nice to override this method such that scheme="Signature"
is set automatically:
class HTTPSignatureHeaderAuth(HTTPSignatureAuth):
def verify(self, request, key_resolver):
return super().verify(request, key_resolver, scheme="Signature")
Georg Krause commented
I just put this into a Merge Request, linked above. Please feel free to review and add any comments. Thanks for the suggestions.
Andrey Kislyuk commented
This is no longer an issue in the latest implementation, which uses only the "Signature-Input"/"Signature" scheme as described in the most recent draft.