Comment 7 for bug 2060143

Revision history for this message
Mario Limonciello (superm1) wrote :

Here is the testing from the PPA. I installed fwupd-tests and then ran below.

$ fwupdmgr --version
compile com.hughsie.libxmlb 0.3.17
compile com.hughsie.libjcat 0.2.0
compile org.freedesktop.fwupd 1.9.16
runtime org.freedesktop.fwupd-efi 1.4
compile org.freedesktop.gusb 0.4.8
runtime com.hughsie.libjcat 0.2.0
runtime org.freedesktop.gusb 0.4.8
runtime org.freedesktop.fwupd 1.9.16

$ sudo fwupdtool enable-test-devices
Loading… [************************************** ]
Successfully enabled test devices
$ sudo systemctl restart fwupd

$ fwupdmgr get-updates
Firmware metadata has not been updated for 30 days and may not be up to date.
Update now? (Requires internet connection) [y|N]: y
Updating lvfs
Downloading… [************************************** ]
Successfully downloaded new metadata: 3 local devices supported
Devices with no available firmware updates:
 • WD PC SN740 SDDPNQD-256G
Devices with the latest available firmware version:
 • Fingerprint Sensor
 • System Firmware
Framework Laptop 13 (AMD Ryzen 7040Series)

└─Integrated Webcam™:
  │ Device ID: 08d460be0f1f9f128413f816022a6439e0078018
  │ Summary: Fake webcam
  │ Current version: 1.2.2
  │ Minimum Version: 1.2.0
  │ Bootloader Version: 0.1.2
  │ Vendor: ACME Corp. (USB:0x046D)
  │ GUID: b585990a-003e-5270-89d5-3705a17f9a43
  │ Device Flags: • Updatable
  │ • System requires external power source
  │ • Supported on remote server
  │ • Cryptographic hash verification is available
  │ • Unsigned Payload
  │ Device Requests: • Message
  │
  └─FakeDevice Device Update:
        New version: 1.2.4
        Remote ID: lvfs
        Release ID: 81488
        Summary: Firmware for the ACME Corp Integrated Webcam
        License: GPL-2.0+
        Size: 10 bytes
        Created: 2024-01-21
        Urgency: Medium
        Tested by Google:
          Tested: 2024-03-09
          Distribution: chromeos 124
          Old version: 1.2.2
          Version[fwupd]: 1.9.13
        Source: https://github.com/fwupd/fwupd/tree/main/data/installed-tests
        Vendor: LVFS
        Release Flags: • Trusted metadata
                          • Is upgrade
        Description:
        Fixes another bug with the flux capacitor to prevent time going backwards.
        Checksum: a92d4f433e925ea8e4a10d25dfa58e64ba1e68d07ee963605a2ccbaa2e3185aa

$ fwupdmgr update
Devices with no available firmware updates:
 • WD PC SN740 SDDPNQD-256G
Devices with the latest available firmware version:
 • Fingerprint Sensor
╔══════════════════════════════════════════════════════════════════════════════╗
║ Upgrade Integrated Webcam™ from 1.2.2 to 1.2.4? ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ Fixes another bug with the flux capacitor to prevent time going backwards. ║
║ ║
║ Integrated Webcam™ and all connected devices may not be usable while ║
║ updating. ║
╚══════════════════════════════════════════════════════════════════════════════╝
Perform operation? [Y|n]: y
Waiting… [***************************************]
Successfully installed firmware
 • System Firmware

$ fwupdmgr reinstall
0. Cancel
1. 23ec719b6aabc2d2dac5176c232f0da7a21881b0 (Fingerprint Sensor)
2. 08d460be0f1f9f128413f816022a6439e0078018 (Integrated Webcam™)
3. 1e4fa9cea0b89e613370cf9657ffa0b6d3f37fec (System Firmware)
Choose device [0-3]: 1
╔══════════════════════════════════════════════════════════════════════════════╗
║ Reinstall Fingerprint Sensor to 01000334? ║
╠══════════════════════════════════════════════════════════════════════════════╣
║ Fix physical MITM vulnerability that was found from blackwinghq - a touch ║
║ of pwn part 1. ║
║ ║
║ Fingerprint Sensor and all connected devices may not be usable while ║
║ updating. ║
╚══════════════════════════════════════════════════════════════════════════════╝
Perform operation? [Y|n]: y
Waiting… [***************************************] Less than one minute remaining…
Successfully installed firmware
Successfully uploaded 1 report