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-2.0.2.tar.gz
(4.3 kB
view hashes)
Built Distribution
Close
Hashes for mitmproxy_escher-2.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a1d116355190bf289bdc97937d39439073b1bea60e6a34f5e1a4fb68930518e |
|
MD5 | 8fe93bda5ff99d793d33d93cdb4000f6 |
|
BLAKE2b-256 | ad0647c5966da66c537bb7052bae32dbdbcd7dc30fcd072b2b542e04993de8ff |