You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In update.sh the Packages file(s) are directly downloaded, which we shouldn't do for 2 reasons:
if the master repo changes the available compression formats and a mirror doesn't use --delete you may get an out of date packages file
you have no way of verifying the signature on the release file this way
What you SHOULD be doing is
1: Retrieving Release and Release.gpg (or alternatively you can use inrelease which is inline signed but verifying inline signatures has some security gotchas if you don't know EXACTLY what you are doing)
2: using Release.gpg and the keys from the Raspbian archive keyring to verify Release
3: using Release to check what compression formats are available for the Packages file you want
4: downloading the Packages file
5: verifying the packages file against the checksums in the Release file
The text was updated successfully, but these errors were encountered:
In update.sh the Packages file(s) are directly downloaded, which we shouldn't do for 2 reasons:
What you SHOULD be doing is
1: Retrieving Release and Release.gpg (or alternatively you can use inrelease which is inline signed but verifying inline signatures has some security gotchas if you don't know EXACTLY what you are doing)
2: using Release.gpg and the keys from the Raspbian archive keyring to verify Release
3: using Release to check what compression formats are available for the Packages file you want
4: downloading the Packages file
5: verifying the packages file against the checksums in the Release file
The text was updated successfully, but these errors were encountered: