2450 Commits

Author SHA1 Message Date
Nathaniel Mitchell 2bc16e92b2 Move default branch
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-09 10:53:03 -08:00
Nathaniel Mitchell 386b4e42aa Fix minor bug and add unit tests
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-02-06 14:01:22 -08:00
Stefano Moioli 8ab85c7d08 smbus: add preliminary support for block read/write 2026-02-06 14:01:22 -08:00
dependabot[bot] a18ae25b83 Bump step-security/harden-runner from 2.14.0 to 2.14.1
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.14.0 to 2.14.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/20cf305ff2072d973412fa9b1e3a4f227bda3c76...e3f713f2d8f53843e71c69a996d56f51aa9adfb9)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.14.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 08:52:13 -08:00
dependabot[bot] 251e4f5ff3 Bump github/codeql-action from 4.31.10 to 4.32.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.10 to 4.32.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/cdefb33c0f6224e58673d9004f47f7cb3e328b89...b20883b0cd1f46c72ae0ba6d1090936928f9fa30)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-06 08:49:40 -08:00
ChipSec be0a22bfd0 Update to 1.13.20 (#2660)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
1.13.20
2026-01-30 15:46:17 -08:00
Nathaniel Mitchell ebb0c6b090 Add Windows-exceptions.rst
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-30 14:12:40 -08:00
dependabot[bot] f119f3ff33 Bump ubuntu from 7a39814 to cd1dba6 in /chipsec_tools/log_parser
Bumps ubuntu from `7a39814` to `cd1dba6`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: latest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 10:41:24 -08:00
Plato Mavropoulos 6b265feffa Fixed Brotli (de)compression 2026-01-28 10:38:43 -08:00
dependabot[bot] e4124aad75 Bump actions/setup-python from 6.1.0 to 6.2.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.1.0 to 6.2.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/83679a892e2d95755f2dac6acb0bfd1e9ac5d548...a309ff8b426b58ec0e2a45f0f869d46889d02405)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 10:18:02 -08:00
dependabot[bot] b58ce75744 Bump ubuntu from c35e29c to 7a39814 in /chipsec_tools/log_parser
Bumps ubuntu from `c35e29c` to `7a39814`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: latest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 10:17:27 -08:00
Nathaniel Mitchell ec605f72cf Fix potential CI issues. source: zizmor
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2026-01-28 10:16:47 -08:00
dependabot[bot] 22bb89feac Bump github/codeql-action from 4.31.7 to 4.31.10
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.7 to 4.31.10.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/cf1bb45a277cb3c205638b2cd5c984db1c46a412...cdefb33c0f6224e58673d9004f47f7cb3e328b89)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.10
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 10:16:10 -08:00
dependabot[bot] f13aa04979 Bump actions/upload-artifact from 5.0.0 to 6.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/330a01c490aca151604b8cf639adc76d48f6c5d4...b7c566a772e6b6bfb58ed0dc250532a479d7789f)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 09:37:18 -08:00
dependabot[bot] f8b0b9ecce Bump step-security/harden-runner from 2.13.3 to 2.14.0
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.3 to 2.14.0.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/df199fb7be9f65074067a9eb93f12bb4c5547cf2...20cf305ff2072d973412fa9b1e3a4f227bda3c76)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-28 09:36:44 -08:00
ChipSec 22cc2ab443 Update to 1.13.19 (#2630)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
1.13.19
2025-12-09 15:21:39 -08:00
Dan Scott edb7cf0fbe Bump alpine linux support to current versions
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-12-09 14:47:08 -08:00
Dan Scott d053c8c5a6 Add check to ensure proper variable type
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-12-09 14:04:53 -08:00
dependabot[bot] 29c1a8c7f7 Bump actions/checkout from 4.2.2 to 6.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/11bd71901bbe5b1630ceea73d27597364c9af683...8e8c483db84b4bee98b60c0593521ed34d9990e8)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 14:04:36 -08:00
dependabot[bot] 83f5cf6d50 Bump actions/setup-python from 6.0.0 to 6.1.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/e797f83bcb11b83ae66e0230d6156d7c80228e7c...83679a892e2d95755f2dac6acb0bfd1e9ac5d548)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 13:28:54 -08:00
dependabot[bot] d79cdffca7 Bump ubuntu from 66460d5 to c35e29c in /chipsec_tools/log_parser
Bumps ubuntu from `66460d5` to `c35e29c`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: latest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 13:28:40 -08:00
dependabot[bot] 80e7af5140 Bump step-security/harden-runner from 2.13.2 to 2.13.3
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.2 to 2.13.3.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/95d9a5deda9de15063e7595e9719c11c38c90ae2...df199fb7be9f65074067a9eb93f12bb4c5547cf2)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.13.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 13:27:11 -08:00
dependabot[bot] f837ab672c Bump github/codeql-action from 4.31.4 to 4.31.7
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.4 to 4.31.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e12f0178983d466f2f6028f5cc7a6d786fd97f4b...cf1bb45a277cb3c205638b2cd5c984db1c46a412)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-09 13:24:36 -08:00
ChipSec df40ca12a4 Update to 1.13.18 (#2620)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
1.13.18
2025-11-21 12:38:17 -08:00
dependabot[bot] 7a9c9b9462 Bump ubuntu from 353675e to 66460d5 in /chipsec_tools/log_parser
Bumps ubuntu from `353675e` to `66460d5`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: latest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 12:13:07 -08:00
Nathaniel Mitchell ac3ca3f7cb Add xml_validator script to check attribute types
Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-11-21 12:12:07 -08:00
dependabot[bot] 41c886dd9c Bump step-security/harden-runner from 2.13.1 to 2.13.2
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.1 to 2.13.2.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a...95d9a5deda9de15063e7595e9719c11c38c90ae2)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 11:49:50 -08:00
dependabot[bot] 53244ec18c Bump actions/dependency-review-action from 4.8.1 to 4.8.2
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.1 to 4.8.2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/40c09b7dc99638e5ddb0bfd91c1673effc064d8a...3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 11:48:21 -08:00
Dan Scott 3bf719ca20 Add additional warning codition for sgx_check module
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-11-21 11:41:50 -08:00
dependabot[bot] 81760188ff Bump github/codeql-action from 4.31.0 to 4.31.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.0 to 4.31.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/4e94bd11f71e507f7f87df81788dff88d1dacbfb...e12f0178983d466f2f6028f5cc7a6d786fd97f4b)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-21 11:28:11 -08:00
ChipSec 892ad61424 Update to 1.13.17 (#2602)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
1.13.17
2025-10-30 16:06:07 -07:00
dependabot[bot] c0ba707a58 Bump github/codeql-action from 3.30.5 to 4.31.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.30.5 to 4.31.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/3599b3baa15b485a2e49ef411a7a4bb2452e7f93...4e94bd11f71e507f7f87df81788dff88d1dacbfb)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.31.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 14:23:28 -07:00
Stephan 8d9814d2b4 Fix objtool errors (#2594)
* Fix objtool 'unannotated intra-function call'

Fixes objtool errors in stricter kernel configs

objtool likely wants the function to be annotated with
SYM_CODE_START/SYM_CODE_END (linux/linkage.h). It might be
better to rewrite the linux kernel module assembly files to use gas,
and properly annotate everything, but this should be a quick fix for
now.

* Use module_init/module_exit in linux driver

Fixes objtool errors in stricter kernel configs

* Make init functions static

* Re-add __init & __exit macros in linux driver

* Add semicolons after module_init/module_exit calls

---------

Signed-off-by: J. Stephan Bentze <j.s.bentze@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 14:17:50 -07:00
dependabot[bot] 80b9a8e61d Bump ubuntu from f3b7f1b to 353675e in /chipsec_tools/log_parser
Bumps ubuntu from `f3b7f1b` to `353675e`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: latest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 14:12:58 -07:00
dependabot[bot] 86d28f00d6 Bump ossf/scorecard-action from 2.4.2 to 2.4.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/05b42c624433fc40578a4040d5cf5e36ddca8cde...4eaacf0543bb3f2c246792bd56e8cdeffafb205a)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-version: 2.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 14:11:38 -07:00
dependabot[bot] 4479c53c77 Bump actions/dependency-review-action from 4.8.0 to 4.8.1
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.8.0 to 4.8.1.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/56339e523c0409420f6c2c9a2f4292bbb3c07dd3...40c09b7dc99638e5ddb0bfd91c1673effc064d8a)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 14:10:08 -07:00
dependabot[bot] 76dc4010ea Bump actions/upload-artifact from 4.6.2 to 5.0.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 5.0.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/ea165f8d65b6e75b540449e92b4886f43607fa02...330a01c490aca151604b8cf639adc76d48f6c5d4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-30 14:09:03 -07:00
Dan Scott 1028d01203 Add confirmation input to dependency installation
Signed-off-by: Dan Scott <dan.scott@intel.com>
2025-10-30 14:03:20 -07:00
dependabot[bot] 9b49d85536 Bump ubuntu from 7c06e91 to f3b7f1b in /chipsec_tools/log_parser
Bumps ubuntu from `7c06e91` to `f3b7f1b`.

---
updated-dependencies:
- dependency-name: ubuntu
  dependency-version: latest
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 10:30:51 -07:00
dependabot[bot] 49b4fceb8d Bump actions/setup-python from 5.6.0 to 6.0.0
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.6.0 to 6.0.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/a26af69be951a213d495a4c3e4e4022e16d87065...e797f83bcb11b83ae66e0230d6156d7c80228e7c)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 10:30:31 -07:00
dependabot[bot] b0a52cb610 Bump step-security/harden-runner from 2.13.0 to 2.13.1
Bumps [step-security/harden-runner](https://github.com/step-security/harden-runner) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/step-security/harden-runner/releases)
- [Commits](https://github.com/step-security/harden-runner/compare/ec9f2d5744a09debf3a187a3f4f675c53b671911...f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a)

---
updated-dependencies:
- dependency-name: step-security/harden-runner
  dependency-version: 2.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 10:09:02 -07:00
dependabot[bot] 9296d2a35e Bump github/codeql-action from 3.29.10 to 3.30.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.29.10 to 3.30.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/96f518a34f7a870018057716cc4d7a5c014bd61c...3599b3baa15b485a2e49ef411a7a4bb2452e7f93)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.30.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 10:08:05 -07:00
dependabot[bot] 8cc5425885 Bump actions/dependency-review-action from 4.7.3 to 4.8.0
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/595b5aeba73380359d98a5e087f648dbb0edce1b...56339e523c0409420f6c2c9a2f4292bbb3c07dd3)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-10-01 10:07:31 -07:00
ChipSec c5e396716c Update to 1.13.16 (#2576)
Signed-off-by: Chipsec <chipsec@intel.com>
Co-authored-by: Chipsec <chipsec@intel.com>
1.13.16
2025-09-05 00:09:32 -07:00
dependabot[bot] 180743fa2c Bump actions/dependency-review-action from 4.7.2 to 4.7.3
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/bc41886e18ea39df68b1b1245f4184881938e050...595b5aeba73380359d98a5e087f648dbb0edce1b)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-version: 4.7.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2.0.0-rc3
2025-09-02 15:23:44 -07:00
William Leara 07c0afdc0b fix for flake8 E265 on new TPM files
This commit fixes some E265 errors on newly added TPM files.  They were found by running "flake8 ." from the root directory.  This is an error defined by "pycodestyle", and has no functional impact to the source.  This is simply fixing whitespace as defined by CHIPSEC's .flake8 configuration.

background:
https://www.flake8rules.com/rules/E265
https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes:~:text=should%20start%20with%20%E2%80%98%23%20%E2%80%98-,E265,-block%20comment%20should

tool versions: flake8 v7.3.0, python v3.12.6

Signed-off-by: William Leara <william.leara@dell.com>
2025-08-29 10:21:50 -07:00
Tamas K Lengyel 4a940df678 access_uefispec: accept both hex and base-10 formatted attr input
Beside the functional improvement, converting the input to int is required
depending on what Python version is being used to avoid the variable
propagating down the call-chain as a str.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@oracle.com>
2025-08-29 10:21:29 -07:00
Nathaniel Mitchell 7aa0977a24 Remove 'Final' typing from uefi_compression
UEFI Shell python is version 3.6.8, typing.Final was introduced in
python 3.8.

Signed-off-by: Nathaniel Mitchell <nathaniel.p.mitchell@intel.com>
2025-08-28 11:59:56 -07:00
William Leara f26e5ef4ef fix for flake8 rule E123
This commit fixes all the E123 errors.  They were found by running "flake8 ." from the root directory.  This is an error defined by "pycodestyle", and has no functional impact to the source.  This is simply fixing whitespace as defined by CHIPSEC's .flake8 configuration.

background:
https://www.flake8rules.com/rules/E123
https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes:~:text=indentation%20or%20outdented-,E123,-(*)

tool versions: flake8 v7.3.0, python v3.12.6

Signed-off-by: William Leara <william.leara@dell.com>
2025-08-20 10:13:52 -07:00
Tamas K Lengyel ae31a0bd4d linuxhelper: assign default value if None is being passed in
linuxhelper's kern_set_EFI_variable only sets default value for attr if no
value has been passed in. In some call-chains (uefi var-write) however None
is being passed in, resulting in the following error from:

struct.error: required argument is not an integer

Make attr optional input and override if value is None with default value.

Signed-off-by: Tamas K Lengyel <tamas.lengyel@oracle.com>
2025-08-20 10:09:39 -07:00