source not checked with sha256

Bug #1618591 reported by Curtis Hovey
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
New
Undecided
Unassigned

Bug Description

The "source" option is not as repeatable or secure as implied in http://snapcraft.io/create/.

Specifying a versioned tar file is not truly repeatable if someone tampers with it. Git tags can and are redefined. In the case of git, I believe I can pass a commit hash to be clear about the requirement. I cannot do so for archive files like tar files.

This issue is similar to Homebrew's need to ensure repeatable and safe formulas. That distro added sha256 sums for all downloaded data.

It would be reassuring if we could specify something like "source-sha256"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.