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-4.0.0.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for mitmproxy_escher-4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 571169e2de99dd4f44aa215bff6be8734c7a103379ebb6e13931fa0b899cacd3 |
|
MD5 | 3813f77d94a2c3e259db2be3eb9d27e2 |
|
BLAKE2b-256 | 798629322fbf8b625350c14fb9144d504d77f040c776ad5652c51195b28f8b27 |