Richard Hughes
691e02d652
Add a simple signing server that operates on .cab files
2015-07-20 15:31:10 +01:00
Richard Hughes
1a886b1b76
Allow cab files to be saved
...
This means reworking the way we load the file as we have to keep the full
filelist in case we have to re-extract and save each and every file.
2015-07-20 15:31:05 +01:00
Richard Hughes
eec19e760d
Add the ability to create detached signatures
2015-07-20 15:30:48 +01:00
Richard Hughes
60a7210318
Move the LVFS website to the fwupd project
2015-07-20 15:07:24 +01:00
Richard Hughes
8ffbd403cb
Fix ROM PPID searching to work for all ROMs
2015-07-08 14:28:53 +01:00
Richard Hughes
f720e9fe92
trivial: Do not add an extra ROM section for a NUL padded ROM
2015-07-05 21:13:43 +01:00
Richard Hughes
57a31bc98d
Fix the example .inf file to reflect reality
...
I misunderstood the role of the ClassGuid for UEFI firmware. It is not supposed
to be the ESRT GUID, but instead a generic 'firmware' GUID set by Microsoft.
We fall back to the old method in libappstream-glib, so either format is fine.
2015-07-03 17:14:47 +01:00
Richard Hughes
fe68ff584f
Make the version parsing more resilient to corrupt firmware
2015-07-03 12:37:56 +01:00
Richard Hughes
53fc7961dc
trivial: Remove a magic number introduced with the last patch
2015-07-01 14:12:15 +01:00
Richard Hughes
885128a7c8
Keep hitting the hardware until it gives us enough ROM
2015-07-01 14:06:28 +01:00
Richard Hughes
5e330b0f0c
Fix trivial bug when parsing firmware versions
2015-07-01 13:30:23 +01:00
Richard Hughes
46535115ee
trivial: Remove debug info that snuck in
2015-07-01 13:05:01 +01:00
Richard Hughes
5dc6f5ccfc
Add a 'verify-update' command to fwupdmgr
...
This allows us to do something like:
$ fwupdmgr verify
e9b8eebd-b5f8-18d4-9fbd-d7da7711985c f21e1d2c969dedbefcf5acfdab4fa0c5ff111a57 No metadata
$ find /sys/devices -name rom -exec sudo fwupdmgr verify-update /var/cache/app-info/xmls/fwupd-verify.xml {} \;
$ fwupdmgr verify
e9b8eebd-b5f8-18d4-9fbd-d7da7711985c f21e1d2c969dedbefcf5acfdab4fa0c5ff111a57 OK
$ # flash the firmware
$ fwupdmgr verify
e9b8eebd-b5f8-18d4-9fbd-d7da7711985c 5c946b3950deaf7b102e75be488052afd4dcf16 Failed: for v013.012.000.019.000000 expected f21e1d2c969dedbefcf5acfdab4fa0c5ff111a57
2015-07-01 12:16:09 +01:00
Richard Hughes
826a5698e3
trivial: Always return the verification hash for the first verify run
...
The property is being cached, so re-request the list of devices.
2015-07-01 12:07:07 +01:00
Richard Hughes
5e33bccd54
Accept multiple files at one time when using fwupdmgr dump-rom
2015-07-01 11:53:33 +01:00
Richard Hughes
c14aa63c25
Actually parse the PCI option ROM
...
This allows us to get more details about the firmware.
2015-07-01 11:52:02 +01:00
Richard Hughes
84e1efa65e
trivial: Split out the GUID functionality to a new file
2015-07-01 11:50:38 +01:00
Richard Hughes
7d7a2d3227
trivial: Fix a crash with corrupt firmware files
2015-07-01 11:46:23 +01:00
Richard Hughes
861d0984d5
Do not use the subsystem information when constructing the fake GUID
...
This allows us to match the device with the standalone firmware.
2015-07-01 11:45:25 +01:00
Richard Hughes
c15cd320b6
Fix Intel VBIOS detection on Dell hardware
...
Many thanks to Gerben Welter for reporting the problem.
2015-06-30 20:54:05 +01:00
Richard Hughes
2508a32368
Merge pull request #19 from phomes/master
...
Code cleanup
2015-06-30 20:47:54 +01:00
Thomas Hindoe Paaboel Andersen
7fca610d67
Do not return NULL as a gboolean
2015-06-30 21:00:56 +02:00
Thomas Hindoe Paaboel Andersen
80b85676bb
remove unused variables
2015-06-30 20:47:15 +02:00
Richard Hughes
bd0a50b24e
Merge pull request #18 from jku/build-fix
...
build: gusb is required even without colorhug
2015-06-30 18:17:06 +01:00
Jussi Kukkonen
ebfbad71e3
build: gusb is required even without colorhug
...
Fix build failure when building with --disable-colorhug.
2015-06-30 19:45:31 +03:00
Richard Hughes
174211b979
Provide a way to dump the option ROM using the command line
...
This allows someone to do:
$ find /sys/devices -name rom -exec sudo fwupdmgr dump-rom {} \;
...and get a nice summary of the option roms installed.
2015-06-30 15:40:46 +01:00
Richard Hughes
ac32a2a232
trivial: Fix a crash if the rom filename is invalid
2015-06-30 15:36:36 +01:00
Richard Hughes
ffd5fdf7f2
Get the version number out from Intel VBIOS too
2015-06-30 15:12:28 +01:00
Richard Hughes
4b41e737b1
Make the ROM parsing more robust and add self tests
...
This code can now parse 99.6% of all the user-submitted firmwares from the
http://www.techpowerup.com/vgabios/ database.
2015-06-30 14:00:31 +01:00
Richard Hughes
0453eb31e4
Merge pull request #17 from yaneti/patch-1
...
Revert "man/Makefile.am: Add --sgml to docbook2man invocation"
2015-06-29 12:54:01 +01:00
Richard Hughes
a043c2e376
Add a 'verify' command that verifies the cryptographic hash of device firmware
...
Goes some way towards fixing https://github.com/hughsie/fwupd/issues/15
2015-06-29 12:53:01 +01:00
Richard Hughes
a1e5d86d20
Extract the version string from the ROM in PCI devices
2015-06-29 12:53:01 +01:00
Richard Hughes
ebb58a3495
Add a Udev firmware provider
...
This allows us to support showing firmware updates for VIA USB hubs
2015-06-29 12:53:01 +01:00
Yanko Kaneti
bc5ef52550
Revert "man/Makefile.am: Add --sgml to docbook2man invocation"
...
This reverts commit b4143665fe
.
docbook-utils' docbook2man doesn't have a --sgml flag
and is arguably a more modern utility compared to docbook2man
from docbook2X
2015-06-29 14:48:20 +03:00
Richard Hughes
a5f06a895d
Merge pull request #16 from yaneti/patch-1
...
Fix fwupd-offline-update.service
2015-06-29 11:50:40 +01:00
Yanko Kaneti
afa912bf67
Fix fwupd-offline-update.service
...
data/fwupd-offiline-update.service is not in AC_CONFIG_FILES so make sure to substitute bindir
2015-06-29 13:47:49 +03:00
Richard Hughes
ffd2c8b328
trivial: Update the README
...
We now have LVFS as an option :)
2015-06-25 16:40:39 +01:00
Richard Hughes
ae0efdc5a7
Provide a way for clients to add new firmware metadata to the system cache
...
This is only possible if the metadata has been signed by a key that we trust.
2015-06-25 09:59:53 +01:00
Richard Hughes
595f59c8e5
Merge pull request #12 from vathpela/master
...
Make statements about storing private keys stronger.
2015-06-04 15:41:12 +01:00
Peter Jones
dfc21a3005
Make statements about storing private keys stronger.
...
In particular, say that keys should always be on HSMs.
Signed-off-by: Peter Jones <pjones@redhat.com>
2015-06-04 10:11:26 -04:00
Richard Hughes
6d7983bdfa
trivial: Do not used munged release tags
2015-06-03 17:23:57 +01:00
Richard Hughes
fda0d2afb8
Merge pull request #11 from jjardon/jjardon/man-fix
...
man/Makefile.am: Add --sgml to docbook2man invocation
2015-06-02 15:44:11 +01:00
Javier Jardón
b4143665fe
man/Makefile.am: Add --sgml to docbook2man invocation
...
This fixes this error:
fwupdmgr.sgml:1: parser error : StartTag: invalid element name
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
fwupdmgr.sgml:1: parser error : Extra content at the end of the document
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
^
unable to parse fwupdmgr.sgml
no element found at line 1, column 0, byte 0 at /usr/lib/perl5/vendor_perl/XML/Parser.pm line 187.
Makefile:612: recipe for target 'fwupdmgr.1' failed
2015-06-02 15:26:40 +01:00
Richard Hughes
c678dfc789
trivial: post release version bump
2015-05-28 09:47:59 +01:00
Richard Hughes
9519149a87
Release fwupd 0.1.3
2015-05-28 09:47:02 +01:00
Richard Hughes
f0d6c86df2
trivial: Print the command message even for internal error
2015-05-21 13:42:10 +01:00
Richard Hughes
d7dba98e68
Move boolean properties on the device to a set of flags
...
This is much less boilerplate and allows us to expand in the future.
2015-05-05 16:02:20 +01:00
Richard Hughes
c89c1b0e9b
Support OpenHardware devices using the fwupd vendor extensions
...
We won't be able to update these devices ourself, but we can detect if there
are updates available.
2015-05-05 15:22:00 +01:00
Richard Hughes
7504191ee9
Merge pull request #9 from vanillajonathan/patch-3
...
More markup
2015-05-05 09:38:20 +01:00
Jonathan
ce2868c64d
More markup
2015-05-05 00:38:46 +02:00