Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Recursively open archives #513

Open
ivmeta opened this issue Mar 3, 2025 · 1 comment
Open

Feature Request: Recursively open archives #513

ivmeta opened this issue Mar 3, 2025 · 1 comment

Comments

@ivmeta
Copy link

ivmeta commented Mar 3, 2025

Hello there!

Would it possible to have Scalibr recursively open (with a depth limit, to avoid pathological cases) archives (we're thinking python's subpar .par files, .rpms, .deb, .zip, tarballs, etc).

Ideally we're looking to extract executable binaries from it too.

Thanks!

@erikvarga
Copy link
Collaborator

Are you thinking of generic support for archive traversal in SCALIBR or extractor-specific logic for finding zipped files? e.g. for .jar files we do traverse the archive to find sub-packages. It'd definitely make sense to do something similar for .deb, .par, etc.

For .zip and tarballs I assume you'd be looking for any kind of package descriptor in them? So that wouldn't be extractor-specific behavior. While not all integrations might want to enable this it'd definitely make sense for SCALIBR support this if we also add a flag to enable/disable the feature.

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

No branches or pull requests

2 participants