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.1.tar.gz (143.6 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.1-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: signifypy-0.4.1.tar.gz
  • Upload date:
  • Size: 143.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for signifypy-0.4.1.tar.gz
Algorithm Hash digest
SHA256 9aae0bb3e43a524a9cc5a1a319e53cc99aec035c9ddf320169b7b98a43476b77
MD5 c8b8a69747fdac4908f689c444d20de0
BLAKE2b-256 fd2e0d1b01964495a78e2a58fd69da7d491c8aabffd4b08c4af0c04bb72aa4ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: signifypy-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 48.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for signifypy-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 898c77f6032104423f9a754afcf39d7095550bc176fcabb7237c8b1139d9bbe5
MD5 951cc283f9de0260be9487ed14eff074
BLAKE2b-256 7f8b9a32bbc2756c95f8f691807385793023b12658c5b1b441fb77410c093b13

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