Skip to content

Add purl mapping for cryptopp/crypto++ - #32

Open
Dashtid wants to merge 1 commit into
scanoss:mainfrom
Dashtid:add-cryptopp-purls
Open

Add purl mapping for cryptopp/crypto++#32
Dashtid wants to merge 1 commit into
scanoss:mainfrom
Dashtid:add-cryptopp-purls

Conversation

@Dashtid

@Dashtid Dashtid commented Jul 28, 2026

Copy link
Copy Markdown

The NVD CPE dictionary contains 29 entries for cpe:2.3:a:cryptopp:crypto\+\+ (referenced by CVEs such as CVE-2019-14318), but the dataset currently has no cryptopp vendor folder, so Crypto++ purls resolve to no CPE.

This adds data/cryptopp/crypto++/purls.yml with the upstream repository and the distro source packages:

  • pkg:deb/debian/libcrypto++ / pkg:deb/ubuntu/libcrypto++ (source package libcrypto++)
  • pkg:github/weidai11/cryptopp (upstream)
  • pkg:rpm/fedora/cryptopp
  • pkg:rpm/opensuse/libcryptopp

Per CONTRIBUTING, cpes.yml is not included — is that backfilled from the NVD load once the folder exists, or would you prefer it added to this PR?

Summary by CodeRabbit

  • New Features
    • Added package links for Crypto++ across Debian, Ubuntu, GitHub, Fedora, and openSUSE ecosystems.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: cfbd0c78-38b3-4d65-9a0f-2ef2d89b4e89

📥 Commits

Reviewing files that changed from the base of the PR and between 84305b6 and 55704b9.

📒 Files selected for processing (1)
  • data/cryptopp/crypto++/purls.yml

📝 Walkthrough

Walkthrough

Crypto++ metadata now includes five package URLs covering Debian, Ubuntu, GitHub, Fedora, and openSUSE sources.

Changes

Crypto++ package mappings

Layer / File(s) Summary
Add Crypto++ package URLs
data/cryptopp/crypto++/purls.yml
Adds five package URL entries for Debian, Ubuntu, GitHub, Fedora, and openSUSE Crypto++ packages.

Estimated code review effort: 1 (Trivial) | ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and accurately summarizes the addition of purl mappings for Crypto++.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@data/cryptopp/crypto`++/purls.yml:
- Around line 1-6: The crypto++ PURL mapping list currently contains five
entries but the PR scope requires six. Update the purls collection in
crypto++/purls.yml by adding the intended sixth ecosystem mapping, or revise the
stated scope to match the implemented count before merging.
- Around line 2-3: Update the Debian and Ubuntu PURLs in the package entries to
percent-encode each plus sign as %2B, preserving the existing package names and
repository prefixes.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c8cf65ee-6283-4c57-baf2-44db00219650

📥 Commits

Reviewing files that changed from the base of the PR and between f5ea3a1 and 84305b6.

📒 Files selected for processing (1)
  • data/cryptopp/crypto++/purls.yml

Comment thread data/cryptopp/crypto++/purls.yml
Comment thread data/cryptopp/crypto++/purls.yml
@Dashtid
Dashtid force-pushed the add-cryptopp-purls branch from 84305b6 to 55704b9 Compare July 30, 2026 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant