README: warn that not all packages are constant time - #668
Merged
cjpatton merged 1 commit intoJul 22, 2026
Conversation
Issue cloudflare#657 asked for an explicit README-level warning that some experimental CIRCL packages are not constant time. PRs cloudflare#638 and cloudflare#651 added per-package constant-time caveats to eight packages, but the README's Security Disclaimer still only mentioned that the library is experimental — it never mentioned constant time. Add a "Constant-Time Caveats" subsection under the existing Security Disclaimer, pointing readers at the per-package notes in group, oprf, blindsign/blindrsa/partiallyblindrsa, secretsharing, tss/rsa, zk/dl, zk/dleq, and ecc/p384. Documentation-only change: no source files touched, no API change, no tests added. Refs: cloudflare#657
cjpatton
approved these changes
Jul 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a "Constant-Time Caveats" subsection to the README's Security Disclaimer, pointing readers at the per-package constant-time caveats that were added in #638 (seven packages) and #651 (ecc/p384):
group/,oprf/,blindsign/blindrsa/partiallyblindrsa/,secretsharing/,tss/rsa/,zk/dl/,zk/dleq/, andecc/p384/.#657 asked for an explicit README-level warning that some experimental CIRCL packages are not constant time. PRs #638 and #651 added per-package caveats, but the README's Security Disclaimer still only mentioned that the library is experimental — it never mentioned constant time. A reader who only skims the README has no signal that they should drill into the per-package docs before relying on a package in a side-channel-sensitive context.
One file changed:
README.md(+9 lines, -0 lines). No source files touched, no API change, no tests added (documentation-only change).go generate -v ./...is a no-op;go build ./...andgo vet ./...are clean.Note:
dh/csidhalso has inline// Non-constant time!comments incurve.go(lines 91, 133, 163) andcsidh.go(line 73) that predate #638. These are on internal functions rather than at the package level, so I've left them out of the README list — happy to add a footnote if you'd prefer.First-time contributor to CIRCL — happy to adjust wording, location, or scope.