Review Guide¶
Status: Open call for review under RFC-0036. The review period starts with
4.0.0rc1and 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.
Scope. 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, each linked to its tests.Set up.
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 ininterop/javascript/reads and writes the same format independently.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.
Report.
Anything exploitable: privately, through a security advisory, as
SECURITY.mddescribes.Everything else: a public issue with the label
review.
Publish your review, even if you found nothing, with the External review form: an issue titled
Review: <area>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.
git clone https://github.com/Psychevus/cryptography-suite.git
cd cryptography-suite
git checkout v<version>
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,
an issue titled Rebuild: v<version>, 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 has the
setup. Report what worked, what did not, and what was unclear with the
Trial form,
an issue titled Trial: <key service>.
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.
4.0.0 waits until no Critical or High finding is unresolved.
docs/v4/release-readiness.md tracks every gate.