Skip to main content

RSA-based signer for Swarmauri

Project description

Swamauri Logo

Swarmauri Signing RSA

An RSA-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 cryptography's RSA primitives
  • Supports RSA-PSS-SHA256 (recommended) and RS256

Installation

pip install swarmauri_signing_rsa

Usage

from swarmauri_signing_rsa import RSAEnvelopeSigner

signer = RSAEnvelopeSigner()
# create a KeyRef for an RSA private key; see swarmauri_core for details

Entry Point

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

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_rsa-0.3.0.dev4.tar.gz (8.9 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_rsa-0.3.0.dev4-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_signing_rsa-0.3.0.dev4.tar.gz
Algorithm Hash digest
SHA256 bc19eb14b8a7469f4bf4389607978985049a1c17d316ced6c45796cad939b649
MD5 b86ef551a123640b4bbc62ac352dd77a
BLAKE2b-256 2f5b9ccb603ce9df3e63f78db1cc18cc891d6626cda54757e7d3ba50c158368a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_signing_rsa-0.3.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 5218f3517066c3a725eca3ba228185c9f5fd19f181e2876662bfa842e45cacee
MD5 7220b387a0c26dc886989305afb8f220
BLAKE2b-256 e8f62b442678949039c468613b16affb7b7441d79d2a1af26804b18a84854bd7

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