creamlike1024 84a8ab5e2f ci: build Linux arm64 packages on GitHub's arm64 runner (#51)
A build-linux-arm64 job on ubuntu-26.04-arm builds libeuicc and the
app natively, links the runner's arm64 libpcsclite, runs the tests on
arm64 and uploads the .tar.gz, .deb, .rpm and PKGBUILD; the release
waits for it.

Each architecture's PKGBUILD now ships under its own name,
PKGBUILD-x86_64 and PKGBUILD-aarch64 (makepkg -si -p ...), in the flat
release. Both use the amd64 job's icons, which are byte for byte the
ones the arm64 build makes, and the release checks every source of
each PKGBUILD against the files it ships.
2026-11-27 11:53:08 +08:00
2024-01-10 15:58:17 +08:00

EasyLPAC

Listed on Awesome MyGo

Language: 日本語 | 正體中文

A GUI LPA for managing eSIMs on removable eUICCs.

Important

Starting with 0.9.0, EasyLPAC has been rewritten around libeuicc, the protocol library of lpac, linked into the app. No external lpac executable is used or required.

The earlier versions (lpac CLI + Fyne) live on the legacy branch, which is no longer maintained.

Download

GitHub Release

Usage

Connect your card reader or modem, open Settings, choose the device, and the card is read.

Notifications

By default EasyLPAC sends the notification of every operation (install, enable, disable, delete) to the operator's server and removes it once it is sent.

You can turn this off with Send notifications in Settings. The pending notifications are then listed on the Notifications page.

Handling notifications by hand does not follow the GSMA specifications, so leaving this on is recommended.

Android (experimental)

On Android, EasyLPAC reads the card through a USB smart card reader (CCID) plugged in with an OTG adapter, without PC/SC: it speaks to the reader itself, through go-ccid. Allow USB access when Android asks. The phone's own eSIM, and SIM slots, are not supported.

Screenshots

Building from source

Requirements: Go 1.27.3+, zig (used as the C compiler), CMake, and on Linux the pcsc-lite development files (see Linux).

git clone --recursive https://github.com/creamlike1024/EasyLPAC.git
cd EasyLPAC
./scripts/build-app.sh          # output in build/<os>-<arch>/

lpac is a git submodule at third_party/lpac. If you cloned without --recursive, run git submodule update --init first.

Linux

Note: The build steps on Linux have not been tested.

EasyLPAC links the system's pcsc-lite dynamically (libpcsclite.so.1); it is never bundled. The app then always talks to pcscd through the client library of the same pcsc-lite release, whatever version the build machine had. GTK 3 is loaded at run time and needs no development package.

Build dependencies:

Distribution Packages
Debian / Ubuntu libpcsclite-dev pkg-config cmake
Fedora pcsc-lite-devel pkgconf-pkg-config cmake
Arch Linux pcsclite pkgconf cmake
openSUSE pcsc-lite-devel pkg-config cmake

zig does not search the system's library directories, so tell the linker where pcsc-lite is. The binary targets glibc 2.31, while the system's libpcsclite.so may have been built against a newer glibc; --allow-shlib-undefined accepts that, since the user's own library is the one loaded at run time:

export CGO_LDFLAGS="-L$(pkg-config --variable=libdir libpcsclite) -Wl,--allow-shlib-undefined"
./scripts/build-app.sh

Run-time dependencies: GTK 3, pcsc-lite, and the pcscd service with a reader driver (ccid for most USB readers):

Distribution Packages
Debian / Ubuntu libgtk-3-0 libpcsclite1 pcscd libccid
Fedora gtk3 pcsc-lite pcsc-lite-ccid
Arch Linux gtk3 pcsclite ccid
openSUSE gtk3 pcsc-lite pcsc-ccid

Start the service with sudo systemctl enable --now pcscd.socket.

The release has a .deb, which depends on libpcsclite1 and pcscd, an .rpm, which depends on libpcsclite.so.1 and pcsc-lite, and a PKGBUILD, which depends on pcsclite and ccid, for each architecture: PKGBUILD-x86_64 and PKGBUILD-aarch64. Put yours next to the release's .tar.gz for that architecture and the two icons (easylpac-256x256.png, easylpac-512x512.png), then run makepkg -si -p PKGBUILD-x86_64 (or -p PKGBUILD-aarch64). Packagers for other distributions should map these to their own packages, and keep pcsc-lite linked dynamically: a statically linked client may speak a protocol version the system's pcscd refuses.

Android

Requirements, besides Go and CMake: the Android SDK (Platform 36, Build-Tools 35.0.0, an NDK) and JDK 17 (Gradle 8.14 runs on Java 24 at most).

./scripts/build-android.sh          # build/android/: the APK and the AAB, arm64

License

  • EasyLPAC: MIT
  • libeuicc (from lpac), statically linked: LGPL-2.1-only. Each release ships EasyLPAC-source.tar.gz, the complete source including libeuicc and the scripts that build it, so the library can be modified and the app rebuilt.
  • go-ccid, the USB CCID driver: MIT
  • eUICC manufacturer and CI data from the eUICC Manual: CC BY-NC-SA 4.0
S
Description
用于管理可移动 eUICC 上的 eSIM 的 GUI LPA。A GUI LPA for managing eSIMs on removable eUICCs.
Readme MIT
20 MiB
0 Stars 1 Watchers 0 Forks
Languages
Go 88.9%
C 5.2%
Shell 4.3%
Kotlin 1.6%