Files
giza-kmp/composeApp
Kgothatso NgakoandClaude Opus 5.5 707e1465e2 fix(wallet): escape the brace Android's regex engine refuses
DERIVATION_PAYLOAD closed its JSON object with a bare `}`. The JVM reads
that as a literal; ICU, which backs Regex on Android, rejects the
pattern. It was a private val of FrostSigningManager, so the throw came
from the class initialiser, which Android does not retry: every signing
session on the device failed with NoClassDefFoundError until restart.
The first symptom was a ceremony that "couldn't ask the group to agree
its signing key".

The JVM suite cannot ask ICU, so RegexPortabilityJvmTest reads every
Regex literal out of the main source sets and holds it to the stricter
rule: a `}` is escaped, inside a class, or the end of a quantifier. With
the old pattern restored it fails on FrostSigningManager.kt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 11:12:14 +02:00
..