feat(cpp): refresh the C++ sample against scanner 7d1d4964 #10

Merged
amiryahaya merged 1 commit from cpp-refresh-scanner-7d1d4964 into main 2026-11-01 02:43:37 +01:00
Owner

Follows triton #1412 (Crypto++ RSA key sizing, #1348).

  • The Crypto++ GenerateRandomWithKeySize direct-size gap is now a reported expectation (RSA-1024 DEPRECATED).
  • CNG/CAPI direct-size gaps remain, so gap controls are still exercised.
  • Snapshots, golden file, expected-findings, UNCOVERED.md and doc figures regenerated.

compare-scan vs scanner 7d1d4964 (standard + comprehensive): expected 4249, reported 4249, exact 4249, 0 missing/extra/status/key-size/SKIPPED. make check passes except compare-scan.test.mjs #144 (hardcodes /private/tmp; same failure on origin/main on macOS).

🤖 Generated with Claude Code

Follows triton #1412 (Crypto++ RSA key sizing, #1348). - The Crypto++ `GenerateRandomWithKeySize` direct-size gap is now a reported expectation (RSA-1024 DEPRECATED). - CNG/CAPI direct-size gaps remain, so gap controls are still exercised. - Snapshots, golden file, expected-findings, UNCOVERED.md and doc figures regenerated. compare-scan vs scanner 7d1d4964 (standard + comprehensive): expected 4249, reported 4249, exact 4249, 0 missing/extra/status/key-size/SKIPPED. make check passes except compare-scan.test.mjs #144 (hardcodes /private/tmp; same failure on origin/main on macOS). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Triton #1412 sizes Crypto++ InvertibleRSAFunction keys from
GenerateRandomWithKeySize(rng, bits) / Initialize(rng, bits), so the sample's
asym-direct-size Crypto++ gap becomes a reported expectation (RSA-1024
DEPRECATED, cryptopp.InvertibleRSAFunction). The CNG and CAPI direct-size gaps
stay, so the gap machinery is still exercised.

- Snapshots, Go golden file and expected-findings.json regenerated.
- UNCOVERED.md row and docs figures updated; self-test count 37 -> 38.

compare-scan against scanner 7d1d4964: expected 4249, reported 4249, exact 4249,
0 missing/extra, standard and comprehensive. make check passes except
compare-scan.test.mjs #144 (hardcodes /private/tmp; fails the same on origin/main
on macOS).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/triton-samples!10
No description provided.