-
Notifications
You must be signed in to change notification settings - Fork 150
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
Getting the correct package version from an auditwheel generated binary #397
Comments
I'm not sure why you're saying the hashes in the sonames can't be used. |
It's a partial hash in the filename, not very helpful. |
you have the library name & the partial hash, not only the partial hash. Do you have any number showing it's unhelpful (i.e. a single library name with different versions having an overlapping partial hash) ? |
There is no straightforward path from name+partial-hash that goes back to the package installed at the time of the build. I filed the issue, hoping for any suggestions for alternate pathways. Even with a partial hash (assuming no conflicts), I need to first create a database of all relevant packages, and their hashes before I can do a lookup. The closest reliable alternative I have so far is to use |
Until #398 is addressed, I have no clue how to do this without creating a database (& this might be required anyway for older packages). |
I think the question has been answered & I'll close this. |
I'm trying to replicate the issue posted here: vinayak-mehta/pdftopng#12 (along with many similar ones for python security research, and I'm currently stuck at figuring out how to go back from a "patched library inside a wheel" to "source package and version used at the time of build.
Given #389, the hashes can't be used (and even if this is resolved, older wheels will still have this issue).
Any suggestions on what might work here?
The text was updated successfully, but these errors were encountered: