# Review Guide - **Status:** Open call for review under [RFC-0036](../rfcs/RFC-0036-community-review-release-path.md). The review period starts with `4.0.0rc1` and lasts at least 60 days. - **Owner:** Security owner. - **Last updated:** 2026-12-01 cryptography-suite 4 is an envelope-encryption SDK, and it is **not independently audited**. Before 4.0.0, the project asks people outside it to review, rebuild, and try it. This page says how, and how each kind of help is recorded. Every contribution below is credited by name in the release notes, unless you ask otherwise. ## 1. Review the code Pick any part, any depth. A focused hour on one parser is as welcome as a week on the whole core. 1. **Scope.** [audit-scope.md](audit-scope.md) splits the code into three tiers and lists eleven questions; Tier 1 (about 2,900 lines: the envelope codec, the suite, the CBOR codec, `Protector`, and the HPKE recipients) matters most. The claims to break are in [threat-model.md](threat-model.md), each linked to its tests. 2. **Set up.** ```console git clone https://github.com/Psychevus/cryptography-suite.git cd cryptography-suite python -m pip install --require-hashes --only-binary :all: -r requirements-dev.txt python -m pip install --no-deps --no-build-isolation -e . -e packages/cryptography-suite-aws-kms -e packages/cryptography-suite-gcp-kms -e packages/cryptography-suite-azure-keyvault -e packages/cryptography-suite-hashicorp-vault -e packages/cryptography-suite-opentelemetry python -m pytest ``` The specification and its vectors are in `docs/v4/spec/`; the JavaScript implementation in `interop/javascript/` reads and writes the same format independently. 3. **Read the internal reviews last.** RFC-0031 and RFC-0035 record what the maintainers already found. Reading them first would steer you toward the same places. 4. **Report.** - Anything exploitable: privately, through [a security advisory](https://github.com/Psychevus/cryptography-suite/security/advisories/new), as `SECURITY.md` describes. - Everything else: a public issue with the label `review`. 5. **Publish your review,** even if you found nothing, with the [External review form](https://github.com/Psychevus/cryptography-suite/issues/new?template=external-review.yml): an issue titled `Review: ` with: - the commit you reviewed; - the scope (files, or questions from the audit scope); - your method and the time you spent; - your findings, or "none"; - whether you have any stake in the project. A review counts toward RFC-0036's external-review gate if its author is not a maintainer and has no stake in the project. ## 2. Rebuild a release Releases are reproducible byte for byte. A rebuild by someone outside the project shows that the published files come from the tagged source and nothing else. ```console git clone https://github.com/Psychevus/cryptography-suite.git cd cryptography-suite git checkout v python -m venv build-env build-env/bin/python -m pip install --require-hashes --only-binary :all: -r requirements-build.txt build-env/bin/python tools/reproducible_build.py --no-isolation sha256sum dist/* ``` (On Windows, use `build-env\Scripts\python` and `Get-FileHash dist\*`.) Compare the digests with the files on PyPI or the GitHub release, and post them with the [Independent rebuild form](https://github.com/Psychevus/cryptography-suite/issues/new?template=rebuild.yml), an issue titled `Rebuild: v`, with your platform and Python version. ## 3. Try it Seal and open data through a real key service (AWS KMS, Google Cloud KMS, Azure Key Vault, or Vault Transit) with a release candidate, on synthetic data only. The [key-services guide](../../guide/key-services.md) has the setup. Report what worked, what did not, and what was unclear with the [Trial form](https://github.com/Psychevus/cryptography-suite/issues/new?template=trial.yml), an issue titled `Trial: `. ## What happens to findings Every finding is fixed with a regression test, or recorded as a residual risk with an owner, a rationale, an expiry, and a compensating control in the [risk register](risk-register.md). `4.0.0` waits until no Critical or High finding is unresolved. `docs/v4/release-readiness.md` tracks every gate.