Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 5a4a7172bce4a6aed0090363c10d806c9c6ec41f https://github.com/tianocore/edk2/commit/5a4a7172bce4a6aed0090363c10d806c9c6ec41f Author: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Date: 2024-07-05 (Fri, 05 Jul 2024)
Changed paths: M BaseTools/Source/Python/Common/Uefi/Capsule/FmpCapsuleHeader.py Log Message: ----------- BaseTools/FmpCapsuleHeader.py: Explain error when throwing exceptions This gives a caller a chance to report a meaningful error to the user. Signed-off-by: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Commit: 8e7bd66dc11300cedc520c841e1cc8303f6b4169 https://github.com/tianocore/edk2/commit/8e7bd66dc11300cedc520c841e1cc8303f6b4169 Author: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Date: 2024-07-05 (Fri, 05 Jul 2024) Changed paths: M BaseTools/Source/Python/Capsule/GenerateCapsule.py Log Message: ----------- BaseTools/GenerateCapsule.py: Fix --decode operation Commit b68d566439683d0ebe60d52c85ff0e90331db740 added support for input subject name with signtool and broke --decode operation by using incorrect identifier in one place (could be an incomplete rename during review). It's `args.SignToolSubjectName`, not `args.SignSubjectName`. Signed-off-by: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Commit: 3be79ece37085f1037103e665e5df67b3a22b630 https://github.com/tianocore/edk2/commit/3be79ece37085f1037103e665e5df67b3a22b630 Author: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Date: 2024-07-05 (Fri, 05 Jul 2024) Changed paths: M BaseTools/Source/Python/Capsule/GenerateCapsule.py Log Message: ----------- BaseTools/GenerateCapsule.py: Disallow UpdateImageIndex == 0 on --encode This field seems to be one-based according UEFI specification, default value is 1 and --decode of GenerateCapsule.py errors upon seeing UpdateImageIndex less than 1. So align --encode behaviour to enforce a value within the 1..255 range. Signed-off-by: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Commit: 822ff966c6dcc8bf5dc9b87d0b4e4ac2f7102e8b https://github.com/tianocore/edk2/commit/822ff966c6dcc8bf5dc9b87d0b4e4ac2f7102e8b Author: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Date: 2024-07-05 (Fri, 05 Jul 2024) Changed paths: M BaseTools/Source/Python/Capsule/GenerateCapsule.py Log Message: ----------- BaseTools/GenerateCapsule.py: Better error message on --decode failure Print error text from the exception. Signed-off-by: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Commit: 47c107817532609ec5b9a142308408510c0a9e39 https://github.com/tianocore/edk2/commit/47c107817532609ec5b9a142308408510c0a9e39 Author: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Date: 2024-07-05 (Fri, 05 Jul 2024) Changed paths: M BaseTools/Source/Python/Capsule/GenerateCapsule.py Log Message: ----------- BaseTools/GenerateCapsule.py: Require --output for --decode --decode unconditionally uses args.OutputFile.name as a prefix for output files that it creates and fails in a non-pretty way without --output option. This doesn't address creation/truncation of the file specified via --output, but at least you're able to decode a capsule. Signed-off-by: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Commit: eeddb86aaaadcf5e716741db54af08531e25ff62 https://github.com/tianocore/edk2/commit/eeddb86aaaadcf5e716741db54af08531e25ff62 Author: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Date: 2024-07-05 (Fri, 05 Jul 2024) Changed paths: M BaseTools/Source/Python/Capsule/GenerateCapsule.py Log Message: ----------- BaseTools/GenerateCapsule.py: Fix inconsistent error formatting Just add a space between colon and a more detailed error message in two places. Signed-off-by: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Commit: 26bc42f1e34cdf43057a75b8edcc0bd86c091214 https://github.com/tianocore/edk2/commit/26bc42f1e34cdf43057a75b8edcc0bd86c091214 Author: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Date: 2024-07-05 (Fri, 05 Jul 2024) Changed paths: M BaseTools/Source/Python/Capsule/GenerateCapsule.py Log Message: ----------- BaseTools/GenerateCapsule.py: Fix checking for DepExp presence struct.unpack() returns a tuple even for a single-element pack, resulting in signature verification being evaluated to false even when the signature is there. This fixes --decode and --dump-info actions incorrectly reporting issues with parsing capsule dependencies when there are none. Signed-off-by: Sergii Dmytruk <sergii.dmyt...@3mdeb.com> Compare: https://github.com/tianocore/edk2/compare/f8bf46be599a...26bc42f1e34c To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits