TestOnlyKeyScheme
Marks the fake key scheme, which is for tests only. A room built on it accepts signatures anyone can compute.
The fake signs with a hash anyone can recompute from the key and the message, so it proves nothing about who signed. What it gives a test is a signer and a checker that never wait on the platform's cryptographic provider: on wasmJs every real signature is a WebCrypto promise, and a room test that waits on one stops running on virtual time.
The opt-in level is ERROR, so code that has not opted in does not compile against it:
@file:OptIn(TestOnlyKeyScheme::class)Opt in from test source sets, and from test-support modules whose published code builds rooms for tests, never from production code. The opt-in is the whole fence: nothing in the build stops a production module depending on :kuilt-identity-test, and Java callers do not see opt-in requirements at all. What it does guarantee is that no default selects the fake: a room uses it only when it is built on a store made here, and nothing decoded off the wire picks a scheme.