bpv7: Bundle Protocol v7 contrib with RFC validation - #5126
Open
polybassa wants to merge 3 commits into
Open
Conversation
Contributor
Author
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5126 +/- ##
===========================================
- Coverage 80.63% 47.16% -33.48%
===========================================
Files 390 373 -17
Lines 96936 98985 +2049
===========================================
- Hits 78168 46685 -31483
- Misses 18768 52300 +33532
🚀 New features to boost your workflow:
|
polybassa
force-pushed
the
split/bpv7-contrib
branch
from
September 1, 2026 11:56
b7c4939 to
5445b48
Compare
Rewrite the CBOR packet/field layer toward ASN.1-style Scapy APIs, harden maps/floats/optionals, and add pinned cbor2 differential coverage behind an isolated tox/CI job. AI-Assisted: yes (Cursor) Co-authored-by: Cursor <cursoragent@cursor.com>
Rename CBORF_PACKET/SEQUENCE_OF/ARRAY_OF constructor kwargs to pkt_cls so typing.Generic.__new__ does not collide on 3.7, and drop the BPv7-only BundleEidField unit from the CBOR campaign. AI-Assisted: yes (Cursor) Co-authored-by: Cursor <cursoragent@cursor.com>
polybassa
force-pushed
the
split/bpv7-contrib
branch
from
September 1, 2026 11:57
5445b48 to
4449b52
Compare
Introduce BPv7 primary/canonical blocks, EID handling, CRC verification, and RFC 9171/9758 validation coverage on top of the CBOR field layer. AI-Assisted: yes (Cursor) Co-authored-by: Brian Sipos <brian.sipos@gmail.com> Co-authored-by: Cursor <cursoragent@cursor.com>
polybassa
force-pushed
the
split/bpv7-contrib
branch
from
September 1, 2026 12:07
4449b52 to
04724ca
Compare
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.
Summary
Stack
PR 3 of 3. Depends on #5124 (CRC) and the CBOR PR. Includes the stacked foundations plus
scapy/contrib/bpv7.pyand UTS.Test plan
./test/run_tests -t test/contrib/bpv7.uts -Nscapy/contrib/bpv7.py