review-tools needs to add padding for small snaps
Bug #2049093 reported by
Sheng Yu
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
review-tools |
Fix Released
|
Undecided
|
Paulo Flabiano Smorigo |
Bug Description
Snapd `snap pack` added an enforced a minimum snap size (16kb):
https:/
But for very small snap packages (like https:/
review-tools needs to also add padding / truncate to increase the file size to 16kb or the hash will be different.
Related branches
~pfsmorigo/review-tools:pfsmorigo/snap_minimal_size
- Alex Murray: Approve
- Samuele Pedroni (community): Approve
- Emilia Torino: Pending requested
-
Diff: 365 lines (+315/-0)3 files modifiedreviewtools/common.py (+4/-0)
reviewtools/sr_security.py (+12/-0)
tests/test.sh.expected (+299/-0)
Changed in review-tools: | |
assignee: | nobody → Paulo Flabiano Smorigo (pfsmorigo) |
Changed in review-tools: | |
status: | New → Fix Released |
To post a comment you must log in.