Signature should cover size and sha256 of uncompressed images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-images |
Triaged
|
Low
|
Unassigned |
Bug Description
As an example, given the following JSON from simplestreams:
"
"path": "trusty/
"ftype": "root-image.gz",
"sha256": "8466c35a1895be
"size": 303454455
}
Note here that the sha256 covers only the *compressed* file. Once the file has been uncompressed, there is no way to validate its integrity in a trusted manner.
We should consider changing this to something like:
"
"path": "trusty/
"ftype": "root-image.gz",
"sha256": "8466c35a1895be
"size": 303454455
}
affects: | simplestreams → maas-images |
Changed in maas-images: | |
status: | New → Triaged |
importance: | Undecided → Low |