Skip to main content

SignifyPy: KERI Signing at the Edge

Project description

Signifypy

Signify implementation in Python

Tests codecov Documentation Status

Signify - KERI Signing at the Edge

Of the five functions in a KERI agent,

  1. Key generation
  2. Encrypted key storage
  3. Event generation
  4. Event signing
  5. Event Validation

Signifypy provides key generation and event signing in a library to provide "signing at the edge". It accomplishes this by using libsodium to generate ed25519 key pairs for signing and x25519 key pairs for encrypting the private keys, next public keys, and salts used to generate the private keys. The encrypted private key and salts are then stored on a remote cloud agent that never has access to the decryption keys. New key pair sets (current and next) will be generated for inception and rotation events with only the public keys and blake3 hash of the next keys made available to the agent.

The communication protocol between a Signify client and KERI agent will encode all cryptographic primitives as CESR base64 encoded strings for the initial implementation. Support for binary CESR can be added in the future.

Development

Install uv first, then sync the local environment:

make sync

Run the fast test suite with:

make test

Packaging

make build

Installation

From PyPi

pip install signifypy

Local

make sync

Local Editable Install In An Existing Python Environment

If you already have a Python environment selected and want an editable install inside that environment, uv still supports that flow directly:

uv pip install -e .

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

signifypy-0.4.2.tar.gz (151.0 kB view details)

Uploaded Source

Built Distribution

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

signifypy-0.4.2-py3-none-any.whl (49.8 kB view details)

Uploaded Python 3

File details

Details for the file signifypy-0.4.2.tar.gz.

File metadata

  • Download URL: signifypy-0.4.2.tar.gz
  • Upload date:
  • Size: 151.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for signifypy-0.4.2.tar.gz
Algorithm Hash digest
SHA256 498333f22328f20439259bdcd085467b07fc298c136b85a9e15364b2f1864e4c
MD5 fe7cd6aa9282bac076f823f952a77878
BLAKE2b-256 66c4104d792177aa104471a88a5cd879c3ed00b62a52d4024b140a5127c70dab

See more details on using hashes here.

File details

Details for the file signifypy-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: signifypy-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 49.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for signifypy-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c5c13b2f03c560bb9efb8fe8b7439355fc0226e482282a89be458d48bf53b829
MD5 9efefa7a28c380d53c8f21980e4909de
BLAKE2b-256 b3650c63a4511d76f9b3d95c8b83fccf371cb12e0c3e384f72ae690eb4d6b437

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