-
Notifications
You must be signed in to change notification settings - Fork 14
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
Absolute paths are recorded in attestations #12
Comments
Hi! Thank you for finding this: I will look into this issue. |
hi :) this happens with every package, the paths that are passed to Line 29 in 11c7a41
I'm wondering if it'd make sense to generate the |
Hmm, this is a bit tricky. Because that line of code is nested somewhat deeply and called inside the So far, I see 3 solutions to the absolute path solution:
Would love some input from @SantiagoTorres @adityasaky as well! |
Well, this sounds like something we do in the in-toto-run bits, with allowing callers to lstrip paths. I think we can definitely make this feature appear soon™ for -rs... |
Since rebuilderd is aware of the paths of both, can we just add |
See: something like https://github.com/in-toto/in-toto/blob/develop/in_toto/runlib.py#L94 |
Opened #13 to track this. :) |
I believe we can now close this. We have left-strip capabilities courtesy of #19. |
I've opened a separate thread here: kpcyrd/rebuilderd#129 |
One of the rebuilders is currently generating attestations looking like this:
This string:
should likely be this instead (both in
materials
andproducts
):The text was updated successfully, but these errors were encountered: