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.dev4.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.dev4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_signing_hmac-0.3.0.dev4.tar.gz
Algorithm Hash digest
SHA256 b6916c3cc6b84d84a287ea200b3c6eb6c5bd7d6a0763b644a731f5405271ff90
MD5 4e2d8f5804b503bbd32587b9fcbf0f63
BLAKE2b-256 ddd09e26a654fc2cbdaab95556998ebd5f5057f6bd0f663a8e5345d9db0b95be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_signing_hmac-0.3.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 7da24f12263a0135dbab2ff8d4a4120fb383329cbd2ac3afc9b385ae0e21ebfa
MD5 a3bbd79eac016ccf13622141609203d1
BLAKE2b-256 a25a02d254887ebf8304ad66cefa389a76f2c2b67978755736deeedd5bcfd03e

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