From 45d54f936979cb2e693300bcf523b6efe8c13c65 Mon Sep 17 00:00:00 2001 From: Enginex0 Date: Thu, 26 Mar 2026 02:32:14 +0100 Subject: [PATCH] feat(config): default bare target entries to GENERATE mode PATCH and AUTO modes inherit the real TEE's attestation quirks (epoch 0 cert dates, version mismatch, missing USAGE_COUNT_LIMIT) which can't be fixed in post-patch. GENERATE mode builds attestation from scratch with full control over every field. Users who want real TEE key generation can still use the ? suffix for explicit PATCH mode. --- .../org/matrix/TEESimulator/config/ConfigurationManager.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/org/matrix/TEESimulator/config/ConfigurationManager.kt b/app/src/main/java/org/matrix/TEESimulator/config/ConfigurationManager.kt index 77b698c..44234ee 100644 --- a/app/src/main/java/org/matrix/TEESimulator/config/ConfigurationManager.kt +++ b/app/src/main/java/org/matrix/TEESimulator/config/ConfigurationManager.kt @@ -164,9 +164,8 @@ object ConfigurationManager { newModes[pkg] = Mode.PATCH newKeyboxes[pkg] = currentKeybox } - // No suffix means AUTO mode. else -> { - newModes[trimmedLine] = Mode.AUTO + newModes[trimmedLine] = Mode.GENERATE newKeyboxes[trimmedLine] = currentKeybox } }