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

Document Security #520

Open
maltfield opened this issue Jan 25, 2022 · 6 comments
Open

Document Security #520

maltfield opened this issue Jan 25, 2022 · 6 comments

Comments

@maltfield
Copy link

maltfield commented Jan 25, 2022

Please add a Security section to your flatpak.org website or documentation that lists:

  1. What security systems flatpak currently employs,
  2. What security systems flatpak does not employ (compared to other package managers), and
  3. What security systems are on the roadmap for flatpak
  4. Responsible Disclosure (who and how I can privately contact your security team if I find a dangerous, security-related bug), with PGP public key

I just learned of flatpak today. Package managers are great. IMHO, the most important reason why I choose a distro is because of the package manager. And I love package managers because of the security it provides.

For example, I feel very safe installing packages with apt because I know that every package in the repo is cryptographically authenicated after download because the apt repo's manifest is signed.

However, I was very disappointed that I couldn't find any information about flatpak's security features from the website.

Generally, I want to know if flatpak's developers consider security at all (and lacking a security page with, at the very least, a responsible disclosure page suggests they don't; this look really, really bad).

Specifically, I want to know how packages downloaded with flatpak are cryptographically authenticated. Is it just relying on TLS? Does it pin a specific fingerprint? Does it pin a set of fingerprints? Does it use an additional cryptographic signature check (eg with PGP)? Would this apply to all packages or just some (and therefore all my dependencies? And what command would I run to confirm for a given package or flatpak file?) How are the private keys for signing releases stored? Who has access to them?

Please add a security section to your website that covers the security features present or absent in flatpak.

@maltfield
Copy link
Author

See also flatpak/flatpak#4031

@maltfield
Copy link
Author

See also flatpak/flatpak-builder#435

@mYnDstrEAm
Copy link

And flathub/flathub#1498

@mwleeds
Copy link
Collaborator

mwleeds commented Feb 7, 2022

Responsible Disclosure (who and how I can privately contact your security team if I find a dangerous, security-related bug)

This information is on https://flatpak.org/about/

@maltfield
Copy link
Author

maltfield commented Feb 7, 2022

@mwleeds thanks

For completeness, flatpak has a private mailing list (not public) where users can send emails to flatpak devs regarding security issues

To send an email to the list, you'd contact

flatpak-security at lists dot freedesktop dot org

But even if it's a private list, that's going to send emails. Emails do not provide end-to-end encryption, and email contents generally should be considered publicly available. Usually it's expected to be provided with a PGP key when contacting a security team to divulge a security-related bug.

Can you please update the above page with the PGP key for contacting your team?

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