pre-commit-ci[bot]
e771363724
pre-commit: autoupdate hooks
...
updates:
- [github.com/scop/pre-commit-shfmt: v3.12.0-2 → v3.13.0-1](https://github.com/scop/pre-commit-shfmt/compare/v3.12.0-2...v3.13.0-1 )
2026-03-30 19:54:34 +00:00
Danik Klimuk
62d4863c05
Merge pull request #153 from Dasharo/me-state-fix
...
include: dts-functions: extend ME operation mode detection
2026-03-30 11:00:20 +02:00
Danil Klimuk
6dd5a1c94c
include: hal: common-mock-func: cbmem_check_hfsts1_mock must return 1 if
...
the platform do not have coreboot
Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com >
2026-03-27 13:38:05 +01:00
Danil Klimuk
47bb77e6ae
include: dts-functions: add print for when ME is enabled
...
Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com >
2026-03-26 14:23:08 +01:00
Danil Klimuk
bff61814c9
include: dts-functions: extend ME operation mode detection
...
Add parsing HFSTS1 bits 19:16 via coreboot logs. Add checking coreboot
logs for CSE operating mode.
Signed-off-by: Danil Klimuk <daniil.klimuk@3mdeb.com >
2026-03-26 14:23:06 +01:00
Michał Iwanicki
2a6e79ec7b
Merge pull request #148 from WuXieSec/fix/network-wait-dup-1219
...
fix: avoid duplicate network wait message in FUM flow
2026-03-23 18:29:02 +01:00
WuXie
9335697ef0
fix(network): correct established message grammar
2026-03-24 00:59:57 +08:00
WuXie
f8affa3951
fix(network): cache successful checks in wait_for_network_connection
2026-03-13 19:56:27 +08:00
Danik Klimuk
96e37bc592
Merge pull request #150 from Dasharo/pre-commit-ci-update-config
...
pre-commit: autoupdate hooks
2026-03-10 08:32:28 +01:00
pre-commit-ci[bot]
1518654ced
pre-commit: autoupdate hooks
...
updates:
- [github.com/codespell-project/codespell: v2.4.1 → v2.4.2](https://github.com/codespell-project/codespell/compare/v2.4.1...v2.4.2 )
- [github.com/igorshubovych/markdownlint-cli: v0.47.0 → v0.48.0](https://github.com/igorshubovych/markdownlint-cli/compare/v0.47.0...v0.48.0 )
2026-03-09 20:21:19 +00:00
WuXie
c1a6939ca9
fix(dts): avoid duplicate network wait message in FUM flow
2026-03-07 22:58:03 +08:00
Michał Iwanicki
4b0cc017ef
include: Add check for FirmwareUpdateModeRT
...
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
2026-02-11 17:50:50 +01:00
Michał Iwanicki
5ab9b6a049
Merge pull request #142 from Dasharo/pre-commit-ci-update-config
...
pre-commit: autoupdate hooks
2026-02-10 09:40:21 +01:00
Michał Iwanicki
05d5f157e5
Merge pull request #145 from Dasharo/fum-capsule-fuse-fixes
...
dasharo-deploy: expand fuse warning and make it more explicit
2026-02-10 09:34:51 +01:00
Michał Iwanicki
ef6ba4ccfa
dasharo-deploy: add capsule & fum checks
...
Workaround for https://github.com/Dasharo/dasharo-issues/issues/1759
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
2026-02-09 14:43:10 +01:00
Michał Iwanicki
ce7d67b1ad
dasharo-deploy: expand fuse warning and make it more explicit
...
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
2026-02-09 14:43:10 +01:00
Mateusz Kusiak
7c7884437b
login_to_dpp_server: Add password check
...
Add a check in login_to_dpp_server() to catch corner case scenarios when
password changes.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@3mdeb.com >
2026-02-09 10:18:40 +01:00
Mateusz Kusiak
3779240997
Credentials: Create a backup file
...
The issue is, when the user wants to change credentials, and the
credentials they use are not valid, the credentials will reset.
Keep a backup of credentials file so it can be restored if new
credentials are invalid.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@3mdeb.com >
2026-02-09 10:08:01 +01:00
Mateusz Kusiak
b643f402e7
get_dpp_creds: remove empty lines for creds
...
Credentials are wrapped in empty lines top and bottom. Remove them.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@3mdeb.com >
2026-02-09 10:08:01 +01:00
Mateusz Kusiak
1d5d6d174c
login_to_dpp_server: fix check if logged in
...
Check for validating if user email is set for alias was overly
optimistic. Short logins like "a" would false-positively trigger `grep`.
Fix the if statement to instead check if alias exists at all.
Fixes: https://github.com/Dasharo/dasharo-issues/issues/1578
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@3mdeb.com >
2026-02-09 10:07:57 +01:00
Mateusz Kusiak
9187e47a7f
get_dpp_creds: clean creds file on new creds
...
If new credentials were specified, and they're not empty, overwrite the
last credentials file.
Fixes: https://github.com/Dasharo/dasharo-issues/issues/1463
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@3mdeb.com >
2026-02-09 09:57:27 +01:00
Mateusz Kusiak
075743e3a3
get_dpp_creds: Do not allow empty creds
...
Do not allow empty credentials nor spaces in the middle.
Fixes:
* https://github.com/Dasharo/dasharo-issues/issues/1326
* https://github.com/Dasharo/dasharo-issues/issues/1589
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@3mdeb.com >
2026-02-09 09:57:13 +01:00
Mateusz Kusiak
b952a103d2
verify_artifacts: drop sig_result
...
The wrapper for catching sig_result simply does not work. It captures
nothing and just prints redundant empty line. Drop catching this at it
is not used at all.
Signed-off-by: Mateusz Kusiak <mateusz.kusiak@3mdeb.com >
2026-02-05 11:10:02 +01:00
Michał Iwanicki
5117404a1d
dasharo-deploy & mock: check return value of cap_upd_tool & add mock
...
Print error and exit if queueing capsule update fails. Mention that most
common case is enabled ME and print link to known issues describing it
in more details along with solution.
Modify cap_upd_tool mocking so we can test failures.
Signed-off-by: Michał Iwanicki <michal.iwanicki@3mdeb.com >
2026-01-29 11:44:57 +01:00
Danik Klimuk
66fb70522a
Merge pull request #143 from Dasharo/fix-msi-romhole-migration
...
Fix MSI ROMHOLE migration.
2026-01-22 09:37:38 +01:00