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): resolve E205, E331, E405, E415, E600, E605, E715, E718, E725

Standardize fuzz and test conventions across 30+ packages:

- E715/E718: Add fuzz.ml runners referencing Fuzz_*.suite instead of
calling Fuzz_*.run() directly; update dune files accordingly
- E725: Fix fuzz_paseto suite name from "crowbar" to "paseto"
- E600: Create .mli interfaces for test modules (test_firmware,
test_remoteproc, test_pbkdf2, test_paseto) with single-group suites
- E605: Add missing test files (test_skills, test_monitor, test_openamp,
test_xrpc_server) with proper module extraction from inline test.ml
- E415: Add pp pretty-printer to xrpc_server type t
- E405: Add doc comment for pp_sync_action in skills.mli
- E205: Replace Printf with Fmt in fuzz_paseto and gen_corpus
- E331: Rename make_key to key in fuzz_paseto

+8 -7
+6 -6
fuzz/dune
··· 1 1 (executable 2 - (name fuzz_bpsec) 3 - (modules fuzz_bpsec) 2 + (name fuzz) 3 + (modules fuzz fuzz_bpsec) 4 4 (libraries bpsec crowbar crypto-rng.unix)) 5 5 6 6 (rule 7 7 (alias runtest) 8 8 (enabled_if 9 9 (<> %{profile} afl)) 10 - (deps fuzz_bpsec.exe) 10 + (deps fuzz.exe) 11 11 (action 12 - (run %{exe:fuzz_bpsec.exe}))) 12 + (run %{exe:fuzz.exe}))) 13 13 14 14 (rule 15 15 (alias fuzz) ··· 17 17 (= %{profile} afl)) 18 18 (deps 19 19 (source_tree corpus) 20 - fuzz_bpsec.exe 20 + fuzz.exe 21 21 gen_corpus.exe) 22 22 (action 23 - (echo "AFL fuzzer built: %{exe:fuzz_bpsec.exe}\n"))) 23 + (echo "AFL fuzzer built: %{exe:fuzz.exe}\n"))) 24 24 25 25 (executable 26 26 (name gen_corpus)
+1
fuzz/fuzz.ml
··· 1 + let () = Crowbar.run "bpsec" [ Fuzz_bpsec.suite ]
+1 -1
fuzz/fuzz_bpsec.ml
··· 68 68 test_case "CBOR roundtrip" [ bytes; bytes ] test_cbor_roundtrip; 69 69 ] ) 70 70 71 - let () = run "bpsec" [ suite ] 71 + let run () = Crowbar.run "bpsec" [ suite ]