Skip to main content

HTTPie plugin to sign requests using Web Bot Auth for Ed25519 keys

Project description

HTTPie plugin for web bot auth

GitHub License Code style: black

A plugin to use web bot auth in HTTPie HTTP client.

Read the story behind Web Bot Auth, or find out more about how to Identify Bots with HTTP Message Signatures.

Installation

Install httpie via uv

uv venv

source ./venv/bin/activate

uv pip install httpie
httpie cli plugins install httpie-web-bot-auth

Usage

You should have a local key in a JSON-encoded JWK file.

Set HTTPIE_WBA_KEY to a path to this file.

Then make your request with http+wba://, or https+wba://.

Example

HTTPIE_WBA_KEY="/path/to/jwk.json" http 'http+wba://example.com'

Development

Requirements

Build

To build bot-auth package

uv sync

uv build

Lint

This codebase uses ruff and Black for linting.

To run a check, use

uv run ruff check .
uv run black --check .

To format the codebase

uv run ruff format .
uv run black .

Security Considerations

This software has not been audited. Please use at your sole discretion.

License

This project is under the Apache 2.0 license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be Apache 2.0 licensed as above, without any additional terms or conditions.

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

httpie_web_bot_auth-0.1.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

httpie_web_bot_auth-0.1.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file httpie_web_bot_auth-0.1.1.tar.gz.

File metadata

  • Download URL: httpie_web_bot_auth-0.1.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.17

File hashes

Hashes for httpie_web_bot_auth-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6d341d2bb4cb38a9c5296d77261e046b2b5dfcf83d852afd97be61a38ba4bc11
MD5 6576ef9638d613b121d04f2f989ea8c1
BLAKE2b-256 52876d323463ae53c94843270a710879adbbba04d79d73685f23cfdbc1e1cf22

See more details on using hashes here.

File details

Details for the file httpie_web_bot_auth-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for httpie_web_bot_auth-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bd15712a75b90dd2e5d24e2e712acf79a672c27016a8045f1c56881e8c38e9b
MD5 63255f0391b2cf37f2acf9c23043ad8c
BLAKE2b-256 0541e140f8cafdbe980cd7a1f3b46eed82af07f5e796db91398f776be891332d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page