CryptographyDeprecationWarning
rwblokzijl opened this issue · comments
Hello, I am getting the following warning:
requests_http_signature/__init__.py:25: CryptographyDeprecationWarning: signer and verifier have been deprecated. Please use sign and verify instead.
signer = key.signer(padding=self.PKCS1v15(), algorithm=hasher)
I happened in the following code:
with open('certs/example_client_signing.key', 'rb') as fh:
auth=MyHTTPSignatureAuth(algorithm="rsa-sha256", headers=[ '(request-target)', 'date', 'digest' ], key=fh.read(), key_id=client_id)
i am using Python 3.5.3