33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
// SPDX-License-Identifier: GPL-3.0-only
|
|
// SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts®
|
|
|
|
/*
|
|
fingerprintd — fingerprint daemon for the Fairphone 6 on mainline Linux.
|
|
|
|
The sensor is a FocalTech FT9391 on a TrustZone-owned SPI bus: the normal world
|
|
cannot reach it, and raw frames never leave the TEE. All capture, enrolment and
|
|
matching happen inside the focal64 trustlet. This daemon owns the sensor rail,
|
|
holds the QTEE session open, serves the storage callbacks QTEE makes back into
|
|
the normal world, and reports the matched finger id.
|
|
*/
|
|
|
|
export module Fingerprintd;
|
|
import std;
|
|
export import :Sfs;
|
|
export import :Rpmb;
|
|
export import :Ta;
|
|
export import :Engine;
|
|
export import :Store;
|
|
export import :Tee;
|
|
export import :Sensor;
|
|
export import :Actions;
|
|
|
|
export namespace fingerprintd {
|
|
// The release version. The daemon and the agent print it for --version,
|
|
// and packaging/build-package.sh and packaging/make-bin-tarball.sh read
|
|
// this line for pkgver, so a bump changes it here and in the APKBUILD and
|
|
// nowhere else. Bumping it is what publishes a package: the registry
|
|
// answers 409 for a version it already has, which a build treats as a
|
|
// no-op.
|
|
inline constexpr std::string_view Version = "0.2.6";
|
|
}
|