Bundle Protocol Security (RFC 9172) - authentication and encryption for DTN
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): flatten test_retry suite, shorten E320 identifiers

Flatten test_retry from 5 groups into a single ("retry", [...]) pair.
Rename identifiers exceeding 4 underscores: i_frame → iframe,
multiple_targets_partial → multitarget_partial, etc.

+2 -2
+2 -2
test/test_bpsec.ml
··· 113 113 let verified = Bpsec.verify_bib ~key:test_key_256 bib ~target_data in 114 114 Alcotest.(check bool) "multi-target verify succeeds" true verified 115 115 116 - let test_bib_multiple_targets_partial_tamper () = 116 + let test_bib_multitarget_partial_tamper () = 117 117 (* Tampering with one target's data should fail verification *) 118 118 let targets = [ 1; 2 ] in 119 119 let target_data = [ "Block 1"; "Block 2" ] in ··· 239 239 Alcotest.test_case "wrong key" `Quick test_bib_wrong_key; 240 240 Alcotest.test_case "multiple targets" `Quick test_bib_multiple_targets; 241 241 Alcotest.test_case "multiple targets partial tamper" `Quick 242 - test_bib_multiple_targets_partial_tamper; 242 + test_bib_multitarget_partial_tamper; 243 243 Alcotest.test_case "SHA-256 default" `Quick test_bib_sha256_default; 244 244 Alcotest.test_case "empty data" `Quick test_bib_empty_data; 245 245 ]