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

Integrity protection for downloaded RPMs #21

Open
takimata opened this issue Aug 6, 2021 · 3 comments
Open

Integrity protection for downloaded RPMs #21

takimata opened this issue Aug 6, 2021 · 3 comments

Comments

@takimata
Copy link

takimata commented Aug 6, 2021

When installing from chum, it downloads the packages via http and does not check any GPG signatures (because there are none).
This means that, right now, any one who can hijack an HTTP connection can make you install & execute arbitrary code (which we don't want, duh).

I see some possible (quick) fixes:

  • enable HTTPS on repo.merproject.org
    Apparently this is what Jolla does right now for their own repos. No GPG signatures as well but at least some transport protection.
    On repo.merproject.org, TLS support appears to be available but the configuration seems to be broken...
  • GPG sign all packages in sailfishos:chum
  • figure out a way to use OpenBSD's signify with RPMs

What are the plans on this?
The first option might be the most preferable right now, but the latter could be the best in the long term.

@rinigus
Copy link
Collaborator

rinigus commented Aug 25, 2021

https is now available, we will have to enable it by default in chum meta-package

@rinigus rinigus mentioned this issue Aug 25, 2021
@rinigus
Copy link
Collaborator

rinigus commented Aug 26, 2021

Just released repositories definitions (package sailfishos-chum) which switches to https. In few minutes, running update

zypper ref
zypper up

should result in update of that package and Chum repositories should switch to https.

As for signing, not yet there and I don't think anyone is working on it now.

@poetaster
Copy link

If I'm not mistaken, only Jolla can help here since they need to have a publicly visible [email protected] address and public key AND set up the rpm signing. There isn't really anything we can do, is there?

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

No branches or pull requests

3 participants