# Installation ```{warning} `4.0.0rc1` is a release candidate, a pre-release. The envelope format, the public API, the command line, and the JSON documents are frozen for 4.0. It is not independently audited, and it is under public review for at least 60 days before 4.0.0. Do not protect production data with it yet. Without `--pre`, pip selects `cryptography-suite` 3.0.0, the retired v3 toolkit, which has nothing in common with this API. ``` ## Requirements - Python 3.11 or later. CI tests 3.11 through 3.15 on Linux, and the oldest and newest of them on macOS and Windows. - [pyca/cryptography](https://cryptography.io) 50.0.0 or later, installed automatically. Post-quantum recipients need a build whose OpenSSL provides ML-KEM, and the post-quantum audit chain one that provides ML-DSA; the official 50.0.2 wheels provide both. ## From PyPI ```console python -m pip install --pre "cryptography-suite==4.0.0rc1" ``` Pin the exact version: a later release candidate may still fix what the review finds. ## From source ```console git clone https://github.com/Psychevus/cryptography-suite.git cd cryptography-suite python -m pip install . ``` The key-service integrations are separate distributions, released with the core at the same version (each pins it exactly). Install only the ones you use, together with the vendor SDK they are written against: | Distribution | Install | Vendor SDK | | --- | --- | --- | | `cryptography-suite-aws-kms` | `python -m pip install --pre "cryptography-suite-aws-kms[boto3]==4.0.0rc1"` | boto3 | | `cryptography-suite-gcp-kms` | `python -m pip install --pre "cryptography-suite-gcp-kms[google]==4.0.0rc1"` | google-cloud-kms | | `cryptography-suite-azure-keyvault` | `python -m pip install --pre "cryptography-suite-azure-keyvault[azure]==4.0.0rc1"` | azure-keyvault-keys, azure-identity | | `cryptography-suite-hashicorp-vault` | `python -m pip install --pre "cryptography-suite-hashicorp-vault[hvac]==4.0.0rc1"` | hvac | | `cryptography-suite-opentelemetry` | `python -m pip install --pre "cryptography-suite-opentelemetry[otel]==4.0.0rc1"` | opentelemetry-api | The core package has one dependency, pyca/cryptography. No integration is discovered or imported implicitly: you import a provider and construct it with a client you built. ## Check the installation ```console cryptosuite doctor ``` `doctor` reports the versions of the package, Python, pyca/cryptography, and OpenSSL, whether ML-KEM is available, whether the backend runs in FIPS mode, and the atomic-output guarantees of the platform's filesystem. From Python: ```python from cryptography_suite.providers.hpke import post_quantum_available print(post_quantum_available()) # True when ML-KEM is available ``` ## Next steps - [Quick start](quickstart.md): seal and open your first envelope. - [Concepts](concepts.md): what an envelope is and what it guarantees.