Sign mitmproxy requests with Escher
Project description
mitmproxy-escher
Sign mitmproxy requests with Escher.
Installation
pip3 install mitmproxy-escher
Note: this module does not work with mitmproxy's pre-built self-contained binaries.
Configuration
Required parameters are apiKey, apiSecret and credentialScope. Section names can contain wildcard characters.
[*.example.org]
apiKey=KEY
apiSecret=SECRET
credentialScope=credential/scope
hashAlgo=SHA256
algoPrefix=EMS
vendorKey=EMS
authHeaderName=X-EMS-Auth
dateHeaderName=X-EMS-Date
Usage
Start mitmproxy
with the addon:
mitmproxy -s "$(python3 -m mitmproxy_escher)" --set escher_config=/path/to/config.ini
Make requests through the proxy:
curl -k -x localhost:8080 https://httpbin.org/headers
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mitmproxy-escher-3.0.0.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for mitmproxy_escher-3.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13eb9b8571740f0460ac17f34d3d75f78be67dde574a8909d6ecef58b154f861 |
|
MD5 | 400ae98bd3d1a48590f6ad48c8cb9346 |
|
BLAKE2b-256 | 722b5cf94005c7ce6a394a6106e890802c18f5aabbe888e8bf87e45c25cc28fe |