Machine readable cryptography dependency
parent
812475df32
commit
999b41fa9d
|
@ -11,7 +11,7 @@ dist: trusty
|
|||
sudo: false
|
||||
|
||||
before_install:
|
||||
- pip install --quiet codecov wheel
|
||||
- pip install --quiet codecov wheel cryptography
|
||||
|
||||
install:
|
||||
- make install
|
||||
|
|
|
@ -13,7 +13,7 @@ dependency on `cryptography <https://pypi.python.org/pypi/cryptography>`_.
|
|||
from requests_http_signature import HTTPSignatureAuth
|
||||
preshared_secret = 'monorail_cat'
|
||||
url = 'http://httpbin.org/get'
|
||||
requests.get(url, auth=HTTPSignatureAuth(secret=preshared_secret))
|
||||
requests.get(url, auth=HTTPSignatureAuth(key=preshared_secret))
|
||||
|
||||
|
||||
Installation
|
||||
|
|
Loading…
Reference in New Issue