Richard Hughes
838db7e0fd
trivial: Only show the 'Host Security Events' title when required
...
We actually ignore some of the events.
2021-11-01 10:14:43 +00:00
Richard Hughes
8b36789692
trivial: Fix spelling of fwupd
2021-11-01 08:50:51 +00:00
Richard Hughes
3e9d3cd50f
trivial: Correctly redirect a typo in the HSI docs
2021-11-01 08:22:29 +00:00
Richard Hughes
a17222f8a0
trivial: Add some more details to the HSI specification
2021-11-01 08:22:29 +00:00
Richard Hughes
a0cb743700
Show changes in HSI attributes when required
...
e.g. `fwupdmgr security --force` would display:
Host Security Events
2021-10-29 10:51:42: ✘ Kernel lockdown disabled
2021-10-29 10:51:42: ✘ SecureBoot disabled
2021-10-29 09:32:32: ✔ IOMMU device protection enabled
2021-10-29 09:28:52: ✘ IOMMU device protection disabled
2021-11-01 06:58:44 +00:00
Richard Hughes
3e456a8cbb
Only save the HSI attributes to the database if different
2021-11-01 06:58:44 +00:00
Richard Hughes
17b6d79728
Allow getting the old HSI security attrs from the database
...
Based on a patch by Kate Hsuan <hpa@redhat.com>, many thanks.
2021-11-01 06:58:44 +00:00
Richard Hughes
e4b097c3dd
Allow comparing two FuSecurityAttrs for equality
...
Based on a patch by Kate Hsuan <hpa@redhat.com>, many thanks.
2021-11-01 06:58:44 +00:00
Richard Hughes
8120616c62
trivial: Add a fallback result for an HSI attribute
...
The fallback may represent the old state, or a state
that may be considered equivalent.
2021-11-01 06:58:44 +00:00
Richard Hughes
01224b23e6
trivial: Fix the DCI links in the HSI specification
...
All the attributes have a 1:1 mapping except this one, and that broke
the Insights rules.
2021-10-30 19:33:11 +01:00
Richard Hughes
ad12a809e3
Add a configure option for fastboot support
...
Fixes https://github.com/fwupd/fwupd/issues/3920
2021-10-30 08:55:07 -05:00
James Beddek
d7bedc20af
synaptics-rmi: fix meson configure when building tests
...
if synaptics-rmi is disabled and gnutls is not used, the configure fails
move the synaptics-rmi test check behind the "plugin_synaptics_rmi" option
2021-10-30 07:16:57 -05:00
syabbashp
3db727d460
Add support for HP Thunderbolt Dock G4
2021-10-29 18:33:15 +01:00
Richard Hughes
196dbec5ae
trivial: Add fu_security_attrs_append_internal() for future code
2021-10-29 13:11:21 +01:00
Richard Hughes
e9319699b4
trivial: Add fwupd_security_attr_copy() for future functionality
2021-10-29 13:09:45 +01:00
Richard Hughes
06a1eff9b7
trivial: Do not save the created value to the database
...
This makes it much harder to dedupe later, and we already have a
timestamp key for the database record.
2021-10-29 11:38:21 +01:00
Richard Hughes
5bb250846d
trivial: Fix recently introduced gtkdoc warning
2021-10-29 11:38:04 +01:00
Crag Wang
1be055fb1e
trivial: check-license: exclude files from build directory earlier
2021-10-29 12:21:55 +08:00
Crag Wang
996ca6a0df
trivial: docs not really required for debugging builds
2021-10-29 12:21:55 +08:00
Richard Hughes
a085b4dd68
Add a 'created' property on the HSI security attribute
2021-10-28 17:25:40 +01:00
Richard Hughes
dbdd3740a3
Add support for loading the HSI result from a JSON blob
...
This is how we save it to the database, and we'll need to load old
records for future functionality.
2021-10-28 15:36:13 +01:00
Richard Hughes
95b82a1467
trivial: Add two missing _from_string() HSI helpers
2021-10-28 15:36:13 +01:00
Richard Hughes
164012b47b
trivial: Ensure the plugin is loaded from the HSI attr variant
2021-10-28 15:36:13 +01:00
bennyLucky
b33a162b4c
dell-dock:Add atomic support
2021-10-28 19:32:22 +08:00
Richard Hughes
9b0316ce25
linux-swap: Fix a trivial memory leak in the self tests
2021-10-27 19:08:20 +01:00
Richard Hughes
003f27311e
synaptics-rmi: Fix building the self tests on s390x
2021-10-27 17:10:37 +01:00
Mario Limonciello
a38bab9a98
trivial: move freebsd CI to a nightly build
...
It currently has a timeout of 20 minutes but the job times out constantly.
This is wasting valuable CI minutes.
Move it to 30 minutes and only run it once a day.
2021-10-27 16:42:48 +01:00
Richard Hughes
5dee779dc9
pixart-rf: Don't show the HID report unless debugging the plugin
2021-10-27 15:57:53 +01:00
Richard Hughes
39e006e563
wacom-usb: Fix a potentially unsafe memcpy()
...
Spotted by Coverity.
2021-10-27 15:57:53 +01:00
Richard Hughes
128a3afaa9
logitech-bulkcontroller: Fix a potential NULL dereference on error
...
Spotted by Coverity.
2021-10-27 15:57:53 +01:00
Richard Hughes
7453d59ccf
trivial: Fix a small memory leak in the self tests
2021-10-27 15:57:53 +01:00
Richard Hughes
6a2d222eea
trivial: Fix a small memory leak at startup
2021-10-27 15:57:53 +01:00
Richard Hughes
51a1bc5b66
thunderbolt: Fix a small memory leak at startup
2021-10-27 15:57:53 +01:00
Richard Hughes
758f34548c
superio: Add missing parent finalizer
2021-10-27 15:57:53 +01:00
Richard Hughes
e4513fa7d0
pixart-rf: Add missing parent finalizer
2021-10-27 15:57:53 +01:00
Richard Hughes
aff4ff7183
parade-lspcon: Add missing parent finalizer
2021-10-27 15:57:53 +01:00
Richard Hughes
d0162352a6
logitech-hidpp: Fix a small memory leak at startup
2021-10-27 15:57:53 +01:00
Richard Hughes
0d64780093
trivial: Fix a small memory leak when getting volumes
2021-10-27 15:57:53 +01:00
Richard Hughes
b3e7f07716
trivial: Use ->dispose() to remove a ref-loop at exit
2021-10-27 15:57:53 +01:00
Richard Hughes
b3b5542246
Redirect the old HSI links to the correct place
...
Fixes https://github.com/fwupd/fwupd/issues/3893 , harder
2021-10-27 12:49:27 +01:00
Jason Gerecke
9c6ddd9309
wacom_usb: Update quirks with new PIDs for 3rd-gen Intuos BT
...
Wacom has begun migrating its current Intuos product line to a new
Bluetooth chipset. This new revision uses new PIDs as well so we
need to update the quirks list.
2021-10-26 18:15:23 +01:00
Jason Gerecke
21959e2527
wacom_usb: Introduce bluetooth-id6 module
...
Wacom is beginning to integrate a new Bluetooth chipset in their
devices. This chipset uses a somewhat different flash protocol
and requires the creation of a new fwupd module. Chipsets using
this new protocol are identified in the firmware descriptor with
ID 0x06, leading to our choice of module name: "bluetooth-id6".
The new chipset is first appearing in a minor update to the Wacom
Intuos (CTL-4100WL/CTL-6100WL) line. These devices do not support
the firmware descriptor interface, requiring us to statically assign
it as a module in the legacy codepath if any Bluetooth support is
found. This clutters the output of the `get-devices` command but the
update CAB files ensure the correct module is used depending on PID.
2021-10-26 18:15:23 +01:00
Jason Gerecke
49a9a29158
wacom_usb: Make busy-timeout an argument of set_feature
...
Timeout characteristics of the start/data/end commands can vary between
modules. Rather than leaving `fu_wac_module_set_feature` responsible for
setting a globally-reasonable timeout, allow the callers to specify a
locally-optimal value instead.
2021-10-26 18:15:23 +01:00
Jason Gerecke
835975d66c
trivial: Add "full" CRC8 function
...
The CRC32 and CRC16 algorithms have "full" functions that allow callers to
provide their own polynomial and initial CRC value. Provide the same ability
to users of the CRC8 algorithm.
2021-10-26 18:15:23 +01:00
Sanjay Sheth
3814b0be12
logitech-bulkcontroller: Set device time and timezone
...
Also, use UTC for older glib version.
2021-10-26 09:50:28 +01:00
Richard Hughes
0a7ce0cf25
Allow specifying the version format in firmware_packager
...
Fixes https://github.com/fwupd/fwupd/issues/3903
2021-10-25 18:00:34 +01:00
Richard Hughes
2a1ad986b8
trivial: Update the architecture plan to reflect reality
2021-10-25 15:39:38 +01:00
Richard Hughes
9952395779
Support more localized AppStream fields
2021-10-25 15:38:51 +01:00
Kate Hsuan
ae2389104e
docs: hsi: Give a readable name for each HSI number
...
Currently, HSI only has a numerical level, such as HSI 0~1 and each
number represents a security state from insecure to secure. If we
only show the number to the user, the user may confuse and try to
find the document to realize the meaning of the number or just ignore
them immediately. So, a readable name for each HSI level can catch
users' eyes and let them explicitly know the security status.
Signed-off-by: Kate Hsuan <hpa@redhat.com>
2021-10-25 15:38:38 +01:00
Jarvis Jiang
8d6dbd9009
modem-manager: Add the logic of inhibiting modemmanager device in mbim-qdu
...
It may make sense to have the modem not doing anything during the upgrade,
so the inhibition would make total sense.
Signed-off-by: Jarvis Jiang <jarvis.w.jiang@gmail.com>
2021-10-25 09:23:44 +01:00