What changed, and why it matters
This commit is a straightforward build fix that changes which internal header files three source files include when the Optiga security chip support is enabled. It replaces references to configuration and transport headers with a single initialization header. There is no indication in the commit that this fixes a security vulnerability or changes runtime behavior in a security-relevant way.
No security action required. Treat as a normal build/maintenance fix.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch updates #include directives in kernel/main.c, prodtest/main.c, and secmon/main.c under USE_OPTIGA conditional compilation. optiga_config.h and optiga_transport.h are replaced by optiga_init.h. This appears to be a dependency cleanup following a refactor of the Optiga module’s internal header organization. The diff shows only include-line changes; no functional code, API usage, or security logic is modified.
Changed components
core/embed/projects/kernel/main.ccore/embed/projects/prodtest/main.ccore/embed/projects/secmon/main.cInspect captured patch +3 / −3
diff --git a/core/embed/projects/kernel/main.c b/core/embed/projects/kernel/main.c
index 8e9dfecb3..6fa2b4083 100644
--- a/core/embed/projects/kernel/main.c
+++ b/core/embed/projects/kernel/main.c
@@ -55,7 +55,7 @@
#endif
#ifdef USE_OPTIGA
-#include <sec/optiga_config.h>
+#include <sec/optiga_init.h>
#endif
#ifdef USE_BACKUP_RAM
diff --git a/core/embed/projects/prodtest/main.c b/core/embed/projects/prodtest/main.c
index 6c36812b7..b3745fd56 100644
--- a/core/embed/projects/prodtest/main.c
+++ b/core/embed/projects/prodtest/main.c
@@ -60,7 +60,7 @@
#ifdef USE_OPTIGA
#include <sec/optiga_commands.h>
-#include <sec/optiga_transport.h>
+#include <sec/optiga_init.h>
#include "cmd/prodtest_optiga.h"
#endif
diff --git a/core/embed/projects/secmon/main.c b/core/embed/projects/secmon/main.c
index 6db0f54a7..3ed28e690 100644
--- a/core/embed/projects/secmon/main.c
+++ b/core/embed/projects/secmon/main.c
@@ -37,7 +37,7 @@
#endif
#ifdef USE_OPTIGA
-#include <sec/optiga_config.h>
+#include <sec/optiga_init.h>
#endif
#ifdef USE_TAMPER
Why this scored 11/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.