Files
craft-anything/sonar-project.properties

19 lines
1.1 KiB
Properties

sonar.projectKey=storytold_craft-anything
sonar.organization=storytold
# vendor/ holds third-party crates carried with small, marked patches (vendor/wgpu-hal: see its
# CRAFT_ANYTHING.md). They stay close to upstream so each copy can be dropped once upstream
# releases the fix, so they are not analysed here.
sonar.exclusions=vendor/**
# S4790 (weak hash): SHA-1 here is fixed by what is being read, not chosen for new security.
# - crates/engines/src/cdp.rs: the WebSocket handshake's Sec-WebSocket-Accept value is SHA-1 by
# definition (RFC 6455 §4.2.2).
# - crates/formats/src/verify.rs: existing signatures (APK v1 JAR digests, CMS, sha1WithRSA) may
# name SHA-1; checking them needs it, and a result says which digest was used.
sonar.issue.ignore.multicriteria=cdp_ws_accept,verify_digest
sonar.issue.ignore.multicriteria.cdp_ws_accept.ruleKey=rust:S4790
sonar.issue.ignore.multicriteria.cdp_ws_accept.resourceKey=crates/engines/src/cdp.rs
sonar.issue.ignore.multicriteria.verify_digest.ruleKey=rust:S4790
sonar.issue.ignore.multicriteria.verify_digest.resourceKey=crates/formats/src/verify.rs