# RFC-0036: A Stable Release Without a Funded Audit - **Status:** Accepted - **Owner:** Release engineering and security (the maintainer, until a second one joins). - **Last updated:** 2026-12-01 - **Amends:** [RFC-0010](RFC-0010-release-support-and-assurance.md), under its supersession rule: the staged release sequence from `4.0.0rc2`, and the stable release gates. Everything else in RFC-0010 stands. ## Context RFC-0010 makes an independent external audit, a design-partner soak, an independent security approver, and two-person approval conditions of 4.0.0. An audit of this code costs between $30,000 and $200,000 (OSTIF's published range), and the project has no budget, no second maintainer, and no design partner. Applications for audit funding are prepared, but none of them can be planned on. As written, RFC-0010 therefore blocks 4.0.0 indefinitely, and with it the format and API freeze that users need before they can adopt the library at all. Without users, the project cannot attract the funding, the partners, or the second maintainer that the gates require. This RFC breaks that circle without pretending that anything other than an audit is an audit. ## Problem statement Which evidence, obtainable without money, is strong enough to promise users a frozen format and API, and how is the missing audit disclosed so that nobody mistakes the release for an assured one? ## Goals - A stable 4.0.0 whose envelope format, public API, CLI, and JSON are frozen and supported under RFC-0010's windows. - Gates that each produce evidence someone other than the maintainer can check. - An assurance level that is stated wherever a user decides to install the library, and that changes only when its evidence changes. ## Non-goals - Replacing the independent audit. It remains the project's highest assurance goal, and the funding applications continue. - Claiming any certification, compliance, or fitness for a regulated use. - Changing the format, the support windows, or the deprecation rules. ## Binding decision ### Two separate properties From 4.0.0 on, the project states two things separately: 1. **Stability.** The envelope format, the public API, the CLI, and the JSON schemas are frozen, follow semantic versioning, and receive RFC-0010's support windows. This is what the version number promises. 2. **Assurance level.** Who has examined the code, and how. It is one of: - `community-reviewed`: the gates below are met. The code is **not independently audited**. - `audited`: an independent audit of the frozen code is complete, its report is published, and its remediation is independently validated. The assurance level is stated in `README.md`, `SECURITY.md`, the installation guide, the PyPI description, and the release notes. Moving to `audited` happens in a regular release whose notes link the report; it needs no new major version. ### Staged release sequence from RC1 | Release | Required evidence | | --- | --- | | `4.0.0rc1` | Format, API, CLI, and JSON frozen (RFC-0010). A public review guide and a call for review are published, and the review period starts. | | `4.0.0rc2` | Every Critical and High finding reported so far is fixed with a regression test. Continuous coverage-guided fuzzing of every untrusted-input parser runs. | | `4.0.0rc3` | The review period has ended (below). At least one external review and one external trial are published. The incident runbooks are exercised. | | `4.0.0` | Every gate below is evidenced, with the assurance level `community-reviewed`. | An RC that changes the format or the frozen surface restarts the review period. ### Stable release gates (replacing RFC-0010's list) Stable is blocked unless all of the following are evidenced in `docs/v4/release-readiness.md`: 1. **Public review period.** At least 60 days between the `4.0.0rc1` announcement and the `4.0.0` tag, with the review guide, the audit scope, and the threat model public. The call for review is posted in at least three public venues where practitioners of applied cryptography or Python security read, and the posts are linked. 2. **External review.** At least one review by a person who is not a maintainer and has no stake in the project, published with its scope, the commit reviewed, and its findings (an issue, a discussion, or a document in the repository). A review that finds nothing still counts if its scope and method are stated. 3. **Findings.** No unresolved Critical or High finding from any source. Every finding is fixed with a regression test or accepted as a residual risk with an owner, a rationale, an expiry, and a compensating control. 4. **Continuous fuzzing.** Coverage-guided fuzzing (OSS-Fuzz or ClusterFuzzLite) of the envelope parser, the CBOR decoder, the policy, provider-record, and audit-chain parsers, and the legacy readers, on every pull request and on a schedule, with a corpus kept between runs. 5. **Independent rebuild.** A person other than the maintainer rebuilds the tagged release from source with `tools/reproducible_build.py` and publishes the digests, which must equal the published artifacts'. Until a second maintainer joins, this replaces RFC-0010's independent release builder and second approver of the digests. 6. **External trial.** At least one party other than the maintainer seals and opens data through a real key service with a release candidate, on synthetic data, and reports the outcome publicly. This replaces the design-partner soak. 7. **Automated third-party analysis.** CodeQL, OpenSSF Scorecard, `pip-audit`, and Bandit run on the release commit with no unresolved alert. This replaces the independent security scan, and is described as automated analysis, not as a scan by an independent party. 8. **Everything in RFC-0010 that money does not buy:** cross-language vectors, malformed corpora, provider conformance, the installed-wheel matrix, migration rollback, API and CLI snapshots, redaction tests, failure-atomic file tests, full-SHA action pins, locked and audited build inputs, Trusted Publishing with attestations, an SBOM and provenance, protected release environments and tags, artifact contents without labs or fakes, documentation that matches the evidence, and runbooks exercised before RC3. 9. **Disclosure.** The assurance level is stated everywhere listed above, and `tests/contract/test_trust_claims.py` keeps any claim of independent audit out of the documentation until the audit's report is linked. ### Providers The core and the provider distributions are released together, but a distribution's version says nothing about its tier. Without live-service tests, the AWS, Google Cloud, Azure, and Vault providers ship in 4.0.0 as **Tier 2 Preview** (RFC-0010), stated in each provider's README and in the support matrix. A provider becomes Tier 1 only with RFC-0010's live tests. ### What stays out of reach Two-person review of every change still needs a second maintainer, and the `audited` level still needs an audit. Both remain open gates of their own, recorded in `docs/v4/release-readiness.md`, and neither blocks 4.0.0. ## Security consequences The 4.0.0 release rests on public scrutiny, automated analysis, and at least one external reviewer instead of a professional audit. Public review finds fewer and shallower issues than a paid audit, and nothing guarantees that anyone reviews deeply. The compensating controls are the frozen and specified format, which makes any review cheaper and more reproducible; the continuous fuzzing; the independent rebuild, which makes a compromised maintainer machine visible; and the disclosure, which lets users weigh the remaining risk themselves. A user who needs audited cryptography must wait for the `audited` level. The documentation says so. ## Compatibility consequences None for the format. The freeze arrives earlier than RFC-0010 would allow, so users can adopt the format with RFC-0010's compatibility promises sooner. ## Operational consequences The maintainer publishes the review guide and the call for review, tracks findings publicly (label `review`), runs the fuzzing infrastructure, and finds an external reviewer, a rebuilder, and a trial user. These are tasks for people, not money. ## Alternatives considered 1. **Keep RFC-0010 unchanged** and wait for funding. Rejected: it has no end date, and the lack of a stable release is itself what keeps users and funding away. 2. **Release 4.0.0 with no replacement gates,** relying on the internal reviews. Rejected: it would be self-attestation, which RFC-0010 rightly refuses. 3. **Stay in release candidates indefinitely.** Rejected: an RC carries no support promise, so it does not give users what they need either. ## Acceptance criteria - `docs/v4/release-readiness.md` tracks the gates of this RFC. - `SECURITY.md` and `README.md` state the current assurance level. - The review guide exists before `4.0.0rc1` is tagged. ## Supersession rules As RFC-0010: weakening any gate above needs a governance RFC. Adding the `audited` level's evidence needs none.