Skip to main content

Sign mitmproxy requests with Escher

Project description

mitmproxy-escher

Sign mitmproxy requests with Escher.

Screenshot

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


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)

Uploaded source

Built Distribution

mitmproxy_escher-3.0.0-py3-none-any.whl (5.2 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page