Skip to content

RFC firmware: add PKCS#7 firmware signature support

Luis R. Rodriguez linux-wireless lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 RFC Latest2 patches 8 repliesIn review
  2. v2 RFC6 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2firmware: generalize reading file contents as a helperdrivers/base/firmware_class.c+20 -30 replies
2/2firmware: add firmware signature checking supportDocumentation/firmware_class/signing.txt drivers/base/Kconfig drivers/base/firmware_class.c+314 -77 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchDavid Howells
SeriesNot-yet-signed-off-by
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [RFC v3 0/2] firmware: add PKCS#7 firmware signature support

From: "Luis R. Rodriguez" <[email protected]>

This is the third iteration of RFCs for firmware signature suppport. Upon review through discussions on the threads and IRC it seems folks are generally OK with this now. This is rebased on top of David's latest pkcs7 branch but also depends on a series of patches which Rusty has said he already applied but not yet visible on linux-next. It also has a series of fixes posted by not yet in any tree nor has anyone claimed. Since the delta is quite big in order to help folks review and test I've put up a branch with all pending patches and requirements merged, you should use the fw-signing-v3-20150518 branch on this tree:

https://git.kernel.org/cgit/linux/kernel/git/mcgrof/linux.git/

This is based on Linus' tree as base.

Changes on this v3 since the last v2 series:

* Updated to David's latest pkcs7 branch
* Dropped patches based on the above re-work
* Avoid recommending use of scripts/sign-file to sign firmware as openssl can be used directly
* Change expected file extension to be foo.bin.p7s, and update documentation to reflect this and how folks can let the kernel trust a key for fw signing.
* Drop crypto qat work arounds - no longer needed

Luis R. Rodriguez (2):
firmware: generalize reading file contents as a helper
firmware: add firmware signature checking support

 Documentation/firmware_class/signing.txt |  90 ++++++++++++
 drivers/base/Kconfig                     |  18 +++
 drivers/base/firmware_class.c            | 236 +++++++++++++++++++++++++++++--
 3 files changed, 334 insertions(+), 10 deletions(-)
 create mode 100644 Documentation/firmware_class/signing.txt
Signature · 1 line
2.3.2.209.gd67f9d5.dirty