mirror of
https://git.proxmox.com/git/fwupd
synced 2025-12-29 04:31:41 +00:00
Some parsers are ignoring the magic when using _FLAG_IGNORE_CHECKSUM (which is wrong; fuzzers have no problem with enforcing a static prefix) and other either disregard the offset or check the magic in an unsafe way. Also, use FWUPD_ERROR_INVALID_FILE consistently for magic failure. Add a vfunc, and move all the clever code into one place. |
||
|---|---|---|
| .. | ||
| tests | ||
| elanfp.quirk | ||
| fu-elanfp-device.c | ||
| fu-elanfp-device.h | ||
| fu-elanfp-firmware.c | ||
| fu-elanfp-firmware.h | ||
| fu-plugin-elanfp.c | ||
| meson.build | ||
| README.md | ||
Elan Fingerprint Sensor Support
Introduction
The plugin used for update firmware for fingerprint sensors from Elan.
Firmware Format
The daemon will decompress the cabinet archive and extract a firmware blob in a packed binary file format.
This plugin supports the following protocol ID:
- tw.com.emc.elanfp
GUID Generation
These devices use the standard USB DeviceInstanceId values, e.g.
USB\VID_04F3&PID_0C7E&REV_0304USB\VID_04F3&PID_0C7EUSB\VID_04F3
Vendor ID Security
The vendor ID is set from the USB vendor, in this instance set to USB:0x04F3