open-eid / linux-installer

Ubuntu meta package
55 stars 21 forks source link

ARM support #109

Open Mulgish opened 1 year ago

Mulgish commented 1 year ago

Hello,

It will be very useful to be able to run open-eid software on single board computers which are utilizing armhf or arm64 architectures.

Are there any plans on supporting the above or documenting the compilation process?

metsma commented 1 year ago

It should be running out of the box on arm. MacOS is running natively on arm64. Also libdigidocpp is compiling on arm and arm64 for android. While back I tried to compile Ubuntu packages successfully in launchpad.net. (Uploading with dput tool dsc files)

ghost commented 1 year ago

@metsma It does not work on Ubuntu running on hardware with an ARM processor (i use it on my MacBook M1), I tested yesterday on different versions of distributions from 22.04.2 onwards, including the latest beta 23.04 (Lunar Lobster). The installer first says it is not supported, then crashes with the error that the open-id (or something similar) is simply not found in the repository. This is expected, because there is nothing related to ARM in the repository, only 86_64.

metsma commented 1 year ago

RIA does not provide arm64 packages to Windows and Ubuntu. There is possible build packages from source

Mulgish commented 1 year ago

Not sure if this is possible as QT does not support arm at all on Linux. https://doc.qt.io/qt-6/supported-platforms.html#desktop-platforms

metsma commented 1 year ago

Distributions have arm packages https://packages.ubuntu.com/kinetic/libqt6core5compat6

edmundlaugasson commented 3 months ago

Different Linux distro support are listed here https://github.com/open-eid/linux-installer/wiki/Linux-Packages and currently ARM arhictecture is really missing. As ID-card software requires Internet connectivity anyway, a distro-agnostic solution could be fully in browser working software. Web eID is already as web browser extension, why not also DigiDoc. Web eID can communicate with smart card readers. Even better solution would be DigiDoc as web application like earlier times was DigiDoc portal, now Dokobit - sold to Lithuanian company... Actually Estonia as a e-country and for e-residents desperately needs a web DigiDoc portal owned by Estonian government (never sold) and web-based DigiDoc software is key pillar of that portal. Actually, a Flatpak version of DigiDoc is also available, would be interesting to hear, how it works.