Skip to main content

Python library for the 'draft-cavage-http-signatures-10' specification

Project description

hmac-http

build status PyPI

Python 3 library for the draft-cavage-http-signatures-10 specification.

Usage

Currently, only verifying requests is supported.

To verify requests, run hmac_http.verify(request, secret) function, where request is a request from an ASGI-based application, and secret is the secret shared between the client and reciever:

from hmac_http import verify
secret = "asdf"

verify(request, secret)

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

hmac-http-1.0.2.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

hmac_http-1.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file hmac-http-1.0.2.tar.gz.

File metadata

  • Download URL: hmac-http-1.0.2.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for hmac-http-1.0.2.tar.gz
Algorithm Hash digest
SHA256 903a6ae7a928cd2a64d44d2688add13cdfe6d0ab98f9119c1e281f996fdf45af
MD5 dda361436d00664614d273068293f2f1
BLAKE2b-256 2a929ac7029d205629312ce6b43af60c93d659b9af4ee8aef9525497954f5e4c

See more details on using hashes here.

File details

Details for the file hmac_http-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: hmac_http-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for hmac_http-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80fd9a5715386d19815b4fa7ff41a76831740fc9df58422d24a5b9669da5f1be
MD5 8f065d1024f09528a359a19b3e9499be
BLAKE2b-256 6ca8b2a7b0a57e06b83e75c0cd40f7d5cd8979a7025eab35ed43d6276f636adc

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