Skip to main content

A library that provides cryptographic and general-purpose routines for Secure Systems Lab projects at NYU

Project description

securesystemslib

CI Documentation Status

Securesystemslib is a cryptography interface for signing and verifying digital signatures. It is developed for the TUF and in-toto projects: the key and signature containers are compatible with metadata formats from those projects.

Under the hood, Securesystemslib can use various digital signing systems (e.g. cryptography, PIV hardware keys and multiple cloud-based key management systems).

Installation

The default installation supports pure-Python ed25519 signature verification only. To enable other schemes and signature creation, securesystemslib can be installed with extras. See pyproject.toml for available optional dependencies.

# Install with ed25519, RSA, ECDSA sign and verify support
pip install securesystemslib[crypto]
# ...or with HSM (e.g. Yubikey) support
pip install securesystemslib[hsm]

Usage

python-securesystemslib.readthedocs.io

Contact

Testing

tox is used for testing. It can be installed via pip and executed from the command line in the root of the repository.

tox

Legacy key migration

Use migrate_keys script to convert key pairs generated with legacy keys or interface modules to a consistent standard format, which is compatible with CryptoSigner.

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

securesystemslib-0.31.0.tar.gz (1.0 MB view details)

Uploaded Source

Built Distribution

securesystemslib-0.31.0-py3-none-any.whl (927.7 kB view details)

Uploaded Python 3

File details

Details for the file securesystemslib-0.31.0.tar.gz.

File metadata

  • Download URL: securesystemslib-0.31.0.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for securesystemslib-0.31.0.tar.gz
Algorithm Hash digest
SHA256 c1594afbcd5db198ec90c487e1720154afb71743d9f4bccf3dfda84de650c478
MD5 75b3365b943c78f2761fb48a25f45100
BLAKE2b-256 c5c970c2e5dc78554bb10da4b34d933a49d44727aeea4eedd39daa1635f24cc2

See more details on using hashes here.

File details

Details for the file securesystemslib-0.31.0-py3-none-any.whl.

File metadata

File hashes

Hashes for securesystemslib-0.31.0-py3-none-any.whl
Algorithm Hash digest
SHA256 549d70f7be6460252d016f03edc5ec0128fee56af55d2b863a5db14541ddbf18
MD5 7330db34511a7f206b59bc3b461c43a3
BLAKE2b-256 dac22808037d43d1431c3ac61afb4dabb0081988c003b3b69878091ac76e8c06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page