public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch 0/3] BaseTools: Add the support for FMP capsule generate auth info
@ 2016-08-15  8:17 Yonghong Zhu
  2016-08-15  8:17 ` [Patch 1/3] BaseTools: Add the PKCS7 tool Yonghong Zhu
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Yonghong Zhu @ 2016-08-15  8:17 UTC (permalink / raw)
  To: edk2-devel; +Cc: Liming Gao

Current BaseTools cannot support the EFI_FIRMWARE_IMAGE_AUTHENTICATION struct for 
FMP capsule.
# typedef struct {
#   UINT64                    MonotonicCount;
#   WIN_CERTIFICATE_UEFI_GUID AuthInfo;
# } EFI_FIRMWARE_IMAGE_AUTHENTICATION;
Patch 1: add the PKCS7 Tool to support CertType - EFI_CERT_TYPE_PKCS7_GUID
Patch 2: update the Rsa2048Sha256Sign tool to support Monotonic count
Patch 3: update the FMP capsule generation, call the tool by CERTIFICATE_GUID 
defined in the FDF file to generate the certdata and fill the header info.

Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>

Yonghong Zhu (3):
  BaseTools: Add the PKCS7 tool
  BaseTools: Rsa2048Sha256Sign add new option to support Monotonic count
  BaseTools: FMP capsule add the support to generate auth info

 BaseTools/Conf/tools_def.template                  |   6 +
 BaseTools/Source/Python/GenFds/Capsule.py          |  80 +++++-
 BaseTools/Source/Python/GenFds/CapsuleData.py      |   4 +-
 BaseTools/Source/Python/GenFds/FdfParser.py        |  64 ++++-
 BaseTools/Source/Python/GenFds/GenFds.py           |  59 ++++-
 BaseTools/Source/Python/GenFds/GuidSection.py      |  59 +----
 BaseTools/Source/Python/Makefile                   |  27 +-
 .../Python/Pkcs7Sign/GenFirmwareImageAuthPkcs7.py  | 285 +++++++++++++++++++++
 BaseTools/Source/Python/Pkcs7Sign/TestCert.pem     |  57 +++++
 BaseTools/Source/Python/Pkcs7Sign/TestCert.pub.pem |  19 ++
 BaseTools/Source/Python/Pkcs7Sign/TestRoot.pem     |  56 ++++
 BaseTools/Source/Python/Pkcs7Sign/TestRoot.pub.pem |  18 ++
 BaseTools/Source/Python/Pkcs7Sign/TestSub.pem      |  57 +++++
 BaseTools/Source/Python/Pkcs7Sign/TestSub.pub.pem  |  19 ++
 .../Python/Rsa2048Sha256Sign/Rsa2048Sha256Sign.py  |  31 ++-
 15 files changed, 760 insertions(+), 81 deletions(-)
 create mode 100644 BaseTools/Source/Python/Pkcs7Sign/GenFirmwareImageAuthPkcs7.py
 create mode 100644 BaseTools/Source/Python/Pkcs7Sign/TestCert.pem
 create mode 100644 BaseTools/Source/Python/Pkcs7Sign/TestCert.pub.pem
 create mode 100644 BaseTools/Source/Python/Pkcs7Sign/TestRoot.pem
 create mode 100644 BaseTools/Source/Python/Pkcs7Sign/TestRoot.pub.pem
 create mode 100644 BaseTools/Source/Python/Pkcs7Sign/TestSub.pem
 create mode 100644 BaseTools/Source/Python/Pkcs7Sign/TestSub.pub.pem

-- 
2.6.1.windows.1



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-08-19  5:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-15  8:17 [Patch 0/3] BaseTools: Add the support for FMP capsule generate auth info Yonghong Zhu
2016-08-15  8:17 ` [Patch 1/3] BaseTools: Add the PKCS7 tool Yonghong Zhu
2016-08-15  8:32   ` Yao, Jiewen
2016-08-15  8:34     ` Zhu, Yonghong
2016-08-15  8:17 ` [Patch 2/3] BaseTools: Rsa2048Sha256Sign add new option to support Monotonic count Yonghong Zhu
2016-08-19  5:41   ` Gao, Liming
2016-08-15  8:17 ` [Patch 3/3] BaseTools: FMP capsule add the support to generate auth info Yonghong Zhu
2016-08-19  5:41   ` Gao, Liming

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox