-
Notifications
You must be signed in to change notification settings - Fork 131
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
Add apt/brew package info for binwalk and {mk,un}squashfs #418
base: master
Are you sure you want to change the base?
Conversation
Binwalk
If I recall correctly, the But also, in general, having as many of the dependencies as possible installed via |
@rbs-jacob makes sense. Unfortunately Does apt/brew make sense to include for {mk,un}squashfs? If yes, I will mutate this PR to just that (or should I do a fresh one instead)?; if no, should just close this PR. |
Tough to say about Lines 50 to 60 in 6052e9b
I defer to @whyitfor and/or @EdwardLarson on this one. |
Actually, For apt:
so perhaps good enough at least in some cases? P.S. Broader longer-term question - should |
In the case of ofrak/ofrak_core/ofrak/core/squashfs.py Lines 25 to 48 in 5c1cd3b
|
apt_package="binwalk", | ||
brew_package="binwalk", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My understanding from before was that these packages (at least the brew one) were known to be {inaccurate, non-working, or unmaintained}. @rbs-jacob, does this sound familiar?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, see #482.
Have you validated that the apt
and brew
packages are the same as what is installed from source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whyitfor have not rechecked just now, but:
- Per Add apt/brew package info for binwalk and {mk,un}squashfs #418 (comment), the brew one is newer than the one from source
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- And per the same comment, apt one is recent enough for at least Ubuntu 22.04
apt_package="squashfs-tools", | ||
brew_package="squashfs", | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar situation here. In the ofrak Docker image, we build squashfs-tools
from a specific tag: https://github.com/redballoonsecurity/ofrak/blob/master/ofrak_core/Dockerstub#L50.
Are the apt
and brew
packages the same version, and built from the github repo?
I think the general thinking here is:
- If an
apt
,brew
package exist, and are generally known to work (and match what is in the Docker), we list them here. So it would be helpful if you validated this. - If those packages have known deficiencies, or if they don't match what is in the Docker image, we don't list them; here the goal is the link provided will give the user enough information to decide how to fulfill this dependency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whyitfor not rechecked just now, but per #418 (comment) :
- The brew one is new enough
- Apt one is recent enough for at least Ubuntu 22.04
One sentence summary of this PR (This should go in the CHANGELOG!)
Add apt/brew package info for binwalk and mksqashfs/unsquashfs
Link to Related Issue(s)
N/A
Please describe the changes in your request.
Added apt/brew package info for binwalk and mksqashfs/unsquashfs - not sure why it was not there already?
Anyone you think should look at this, specifically?
Not sure