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

Feature request: Add flatpak support to Digidoc #1299

Open
Gren-95 opened this issue Oct 20, 2024 · 5 comments
Open

Feature request: Add flatpak support to Digidoc #1299

Gren-95 opened this issue Oct 20, 2024 · 5 comments

Comments

@Gren-95
Copy link

Gren-95 commented Oct 20, 2024

Hello,

Is it possible to build flatpak version of digidoc to simplify the installation on most Linux distros?

It would be simpler for the end user to just install it from flathub instead of building it from source.

@Gren-95
Copy link
Author

Gren-95 commented Oct 20, 2024

I have recently found this project, but i would like to see it be incorporated in the main project if possible.

https://github.com/flathub/ee.ria.qdigidoc4

@ls-1N
Copy link

ls-1N commented Nov 12, 2024

I agree - an official Flathub release would be more convenient, secure, and accessible. The RIA homepage can simply provide a Flathub link/button - more people are used to Google Play or Apple App Store links/buttons on websites instead of Windows .exe files directly on-site like in the olden days.

The advantage of an official Flathub release is that even though the community release is open-source, most users won't have the tech literacy to find out where their Linux app store (that has a Flathub integration) got the Digidoc4 app from. The same goes for actually understanding all the commits in a reasonable amount of time even for tech-savvier users.

So people will do the most convenient thing (use the app store) and not care about security if it is ambiguous and takes several extra steps. The extra maintenance overhead of a Flathub app is very low, I believe.

@ls-1N
Copy link

ls-1N commented Nov 12, 2024

@Gren-95 In theory, #793 already has a discussion about packaging, including Snap, Appimage, and Flatpak.

@metsma
Copy link
Contributor

metsma commented Nov 13, 2024

There is one main fundamental problem with these universal packaging formats. PCSCLite does not guarantee a stable API for smart card communication. At least three different versions are needed, and users must understand which OS supports which version (see PCSCLite issue, qdigidoc commit).

Other related issues:

  • MIME type registration (e.g., Flatpak issue).
  • AppImage lacks usable signing support for end users.
  • Some OSes require additional installation steps.

Until these are resolved, I don't see them as viable mainline distribution methods. This is my personal opinion.

@ls-1N
Copy link

ls-1N commented Nov 13, 2024

There is one main fundamental problem with these universal packaging formats. PCSCLite does not guarantee a stable API for smart card communication. At least three different versions are needed, and users must understand which OS supports which version (see PCSCLite issue, qdigidoc commit).

Other related issues:

* MIME type registration (e.g., [Flatpak issue](https://github.com/minosimo/qdigidoc-flatpak/issues/21)).

* AppImage lacks usable signing support for end users.

* Some OSes require additional installation steps.

Until these are resolved, I don't see them as viable mainline distribution methods. This is my personal opinion.

Maybe you and I should add our opinions/takes on #793 as well and this particular issue should be closed since #793 has expanded in scope to also discuss Snap and Flatpak. Your counterpoint would calm some of the pings for updates there. As it is now, issue #793 gives the impression of being forgotten without any counterpoints or complexities. Ideally, the title on #793 should also be changed since some users read only the titles (not the whole issue discussion) to decide whether they should open a new issue (this one), thus this might happen again.

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