Repository navigation
Built from 6598c38308fb9d49676edd23c0c6c2a8d1ea6d81 by run 34810499021, never from a working tree.
Provenance is attested; verify with:
gh attestation verify <file> --repo ferinazumaDEV/webhook-replay
SHA-256
01ad972ce888168fec5118520d244d0428f23c7694c6094276e2738eb842a903 webhook_replay-0.1.3-py3-none-any.whl
97265f39cb21d016e054f46d0b52bb3703beb988370cd2608f49bbba3fad6950 webhook_replay-0.1.3.tar.gz
sbom.cyclonedx.json describes the package and its runtime dependencies as installed from this wheel.
How this release was assembled. The tag and this release were created by hand before the workflow ran, so the run's own "GitHub Release" step failed with "a release with the same tag name already exists" after PyPI had already accepted the upload. Per RELEASING.md the run was not repeated; the assets above are the run's
distartefact — the same bytes PyPI holds — and were attached on 2026-09-14 after checking SHA256SUMS, the attestations, the PyPI digests and the Integrity API provenance by hand.
Changelog
Deprecated
- Python below 3.11 is compatibility, not support. The floor becomes 3.11 in 0.2.0 (3.10 reaches
end of life in October 2026). Nothing changes within 0.1.x; CI keeps running on every version the
package still declares.
Fixed
- A
Content-Lengthwith more than 4300 digits no longer kills the handler.int()refuses
strings that long with aValueErrorthat escaped as a traceback on stderr and a connection
closed without any response (also throughExpect: 100-continue). Leading zeros are now dropped
before conversion, so000…01of any length is the one byte the grammar says it is, and a numeral
of more than 20 significant digits is a400 malformed Content-Length. That is what RFC 9110 §8.6
asks for: anticipate very large decimal numerals and prevent integer-conversion errors. - A body shorter than its
Content-Lengthis no longer stored as a capture. When the sender
closed early, the partial body was saved as if complete and answered200. RFC 9112 §6.3 says
such a message MUST be treated as incomplete;servenow answers400 body truncated: N of M bytes receivedand stores nothing. A sender that stalls instead still gets the408. --max-body,--sinceand--headerfail as usage errors instead of tracebacks. A size
past float range (--max-body 1followed by 400 zeros) raisedOverflowErrorfromint(inf); an
age pasttimedelta's range (--since 99999999999d) or an ISO timestamp with no UTC form
(0001-01-01T00:00:00+14:00) raisedOverflowErrorfrom the date arithmetic; and a header with
an empty name or a line break in its value (--header ':x',--header $'X-A: v\nInjected: y')
raisedValueErrorfromhttp.clientin the middle of the replay. All three are now
ArgumentTypeErrors with a message. Sizes are parsed exactly (no float rounding) and capped at
2⁶³−1; header names must be RFC 9110 tokens.
Security
- Redaction covers more credential-bearing header names.
X-Auth-Key(Cloudflare),
Ocp-Apim-Subscription-Key(Azure),X-Forwarded-Authorization,X-Password,X-Credential,
X-Access-Key,X-Private-Key,X-Shared-Key,X-Client-KeyandX-Session-Keywere printed in
clear byshow,list --jsonandcurl. The name rule now also matchespassword,passwd,
credential,authorization, anauthsegment, and the*-keycompounds that name a
credential;Idempotency-Key,X-Request-Id,X-Session-IdandX-Authorstay readable.
All of the above were found by tests/test_adversarial.py, a new suite that feeds serve, the
CLI parsers and the redaction rule the inputs a hostile or merely broken sender produces. Every
test in it failed against 0.1.2 before the fix was written.
Archived at Software Heritage
Resolved on 2026-09-14 against the archive, after a Save Code Now visit that followed this tag.
- Directory (the tree this release is):
swh:1:dir:7933c213eb0d573977fc45d1ca11af9553c1b53a - Revision (the commit
6598c38308fb):swh:1:rev:6598c38308fb9d49676edd23c0c6c2a8d1ea6d81 - Snapshot of the visit:
swh:1:snp:0eb59d823d9937f18224f09d3ccf62917fbfb195 - Resolve: https://archive.softwareheritage.org/swh:1:dir:7933c213eb0d573977fc45d1ca11af9553c1b53a;origin=https://github.com/ferinazumaDEV/webhook-replay;visit=swh:1:snp:0eb59d823d9937f18224f09d3ccf62917fbfb195;anchor=swh:1:rev:6598c38308fb9d49676edd23c0c6c2a8d1ea6d81