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

lal verify should verify the checksum of a component #10

Open
clux opened this issue Nov 6, 2017 · 0 comments
Open

lal verify should verify the checksum of a component #10

clux opened this issue Nov 6, 2017 · 0 comments

Comments

@clux
Copy link
Member

clux commented Nov 6, 2017

This will tell people who are fiddling with INPUT that they are being dodgy.

Work needed:

  • extend Lockfile struct with hash string
  • checksums added to the lockfile in build (.attach_revision_id(opts.sha) on Lockfile)
  • fetch/update should verify lockfile before guaranteeing that a component can be reused
  • lal verify --integrity

This will break the "early lockfile" support. Currently the lockfile is created before the build starts because we used to have something that needed it. We can kill this dependency now.

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

1 participant