Skip to main content

HMAC-based signer for Swarmauri

Project description

Swamauri Logo

Swarmauri Signing HMAC

An HMAC-based signer implementing the ISigning interface for detached signatures over raw bytes and canonicalized envelopes.

Features:

  • JSON canonicalization (always available)
  • Optional CBOR canonicalization via cbor2
  • Detached signatures using standard library hmac

Installation

pip install swarmauri_signing_hmac

Usage

from swarmauri_signing_hmac import HmacEnvelopeSigner

signer = HmacEnvelopeSigner()
# create a KeyRef for a secret; see swarmauri_core for details

Entry Point

The signer registers under the swarmauri.signings entry point as HmacEnvelopeSigner.

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

swarmauri_signing_hmac-0.3.0.dev5.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

swarmauri_signing_hmac-0.3.0.dev5-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_signing_hmac-0.3.0.dev5.tar.gz.

File metadata

File hashes

Hashes for swarmauri_signing_hmac-0.3.0.dev5.tar.gz
Algorithm Hash digest
SHA256 dd56baea481bd230667945c1e65048eb4fc5f909b7fe3af14942b6509ad4953f
MD5 886985be708e9e7edfd3ec22869a0c2b
BLAKE2b-256 7d7b49bafc9c83d0212b618fceeb1da7850eaba7d99cdd7dcf7a87f5c146a811

See more details on using hashes here.

File details

Details for the file swarmauri_signing_hmac-0.3.0.dev5-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_signing_hmac-0.3.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 0460e5b3eecc0a5d927b06cc74afb65aedd94d5d4a3659bc27694a4c422c907e
MD5 4623aff73a4f5229177c08bf30eac4d7
BLAKE2b-256 fe747e17d6c17266ff7ada7b8c8096ae9ae40e4417387e54de5e7b16b959e973

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