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
Built Distribution
File details
Details for the file mitmproxy_escher-5.0.0.tar.gz
.
File metadata
- Download URL: mitmproxy_escher-5.0.0.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aecbbc233b0d6085e278104405438233154c791e5c554eecb6c072b119454f66 |
|
MD5 | 945f50f936728186d82e278ad240040e |
|
BLAKE2b-256 | 96be0ca23740938f3d827ab7f1084f97cf354f449814e529b95003de81acb154 |
File details
Details for the file mitmproxy_escher-5.0.0-py3-none-any.whl
.
File metadata
- Download URL: mitmproxy_escher-5.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c62604cfd0f6f533069207f4b7f7f1ca0629c8ec070a6f015eb81fe57f13e28 |
|
MD5 | d03d14a361782d101fcf8026b1e2057f |
|
BLAKE2b-256 | f66b5a8fd503af8f8bb572cc9aadd2ade0f552b39d9c55408566e6ca5554e001 |