]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools/Capsule: Support signtool input subject name to sign capsule file
authorJason1 Lin <jason1.lin@intel.com>
Mon, 25 Jul 2022 15:31:08 +0000 (23:31 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 27 Jul 2022 05:00:06 +0000 (05:00 +0000)
commitb68d566439683d0ebe60d52c85ff0e90331db740
tree80e4c8e365389b8ce920783f67d346459e219bc5
parent7f1c89f16790fc2fa8bc88330dc896941b9b40bb
BaseTools/Capsule: Support signtool input subject name to sign capsule file

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3928

Windows-based system using signtool.exe to sign the capsule.
Add the support to using "--subject-name" argument to assign
the subject name used to sign the capsule file.
This argument would pass to signtool.exe as a part of input
argument with "/n" flag.

NOTE: If using signtool.exe to sign capsule at least need to
      choose one of "--pfx-file" and "--subject-name"
      argument to input the value.

Signed-off-by: Jason1 Lin <jason1.lin@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Dakota Chiang <dakota.chiang@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
BaseTools/Source/Python/Capsule/GenerateCapsule.py