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

Improve the download of packages process #55

Closed
diederikdehaas opened this issue May 21, 2014 · 1 comment
Closed

Improve the download of packages process #55

diederikdehaas opened this issue May 21, 2014 · 1 comment

Comments

@diederikdehaas
Copy link
Member

In update.sh the Packages file(s) are directly downloaded, which we shouldn't do for 2 reasons:

  1. 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
  2. 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

@diederikdehaas
Copy link
Member Author

This issue is now fixed by the release of v1.0.3 of the installer.

diederikdehaas added a commit to diederikdehaas/raspbian-ua-netinst that referenced this issue Jul 21, 2014
…ble.

This is the first step in fixing issue debian-pi#55 to improve the downloading
process of packages.
The variable names will be modelled after
https://wiki.debian.org/RepositoryFormat.
hoehnp pushed a commit to hoehnp/raspbian-ua-netinst that referenced this issue Jul 14, 2019
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

Successfully merging a pull request may close this issue.

1 participant