

def build_signature(self, user_api_key, user_secret, request):
    'Return the signature for the request.'
    path = request.get_full_path()
    sent_signature = request.META.get(self.header_canonical('Authorization'))
    signature_headers = self.get_headers_from_signature(sent_signature)
    unsigned = self.build_dict_to_sign(request, signature_headers)
    signer = HeaderSigner(key_id=user_api_key, secret=user_secret, headers=signature_headers, algorithm=self.ALGORITHM)
    signed = user_secret.sign(unsigned, method=request.method, path=path)
    return signed['authorization']

dataset/ETHPy150Open etoccalino/django-rest-framework-httpsignature/rest_framework_httpsignature/authentication.py SignatureAuthentication.build_signature/VarMisuse@87/146 `signer`->`user_secret`