Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

269.17. khealthcertificate-26.08.2

Library that decodes and verifies digital health and vaccination certificates

26.08.2-1 · LGPL-2.0-or-later AND BSD-3-Clause AND CC0-1.0 AND MIT AND Apache-2.0 AND CC-BY-3.0 AND EUPL-1.2 AND W3C-20150513 · 2.3 SBU · 1.7 MiB, 32 files · 43_toolkits, 249 of 344 · ports/core/pim/khealthcertificate

Homepage: https://invent.kde.org/pim/khealthcertificate

KHealthCertificate decodes and verifies digital health certificates: the EU Digital COVID Certificate, SMART Health Cards, the Dutch CoronaCheck format, India’s DIVOC and ICAO visible digital seals. It reads the certificate out of its barcode payload, checks the issuer’s signature against the public keys it carries, and offers the result to C++ and, through the QML module org.kde.khealthcertificate, to QML. KDE Itinerary keeps such certificates beside a trip’s tickets with it.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, karchive, kcodecs, ki18n, openssl, zlib.

Required by (1): itinerary.

Sources: khealthcertificate-26.08.2.tar.xz (502.6 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/43_toolkits/phase.env && kpkg install khealthcertificate'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Libraries: libKHealthCertificate.so.

Directories: /usr/include/KHealthCertificate, /usr/lib/cmake/KHealthCertificate, /usr/lib/qt6/qml/org/kde/khealthcertificate, /usr/share/licenses/khealthcertificate.

Signatures are checked with openssl, and the EU certificate’s payload is inflated with zlib; the configure requires both. Verification uses only the issuer keys built into the library, so it reaches no network.