UnreadableKey

sealed interface UnreadableKey

What Durable.makeKeyUnreadable did: put the key out of reach, or say why this medium never can.

Two-armed for the reason the fixture is: a nullable hook would let a store whose refusal is broken opt out, and that is the store this property exists to catch — a Keychain store that read errSecInteractionNotAllowed as "no key" would mint a new identity on every launch before the first unlock, and pass every other property here.

Inheritors

Types

Link copied to clipboard

This medium has no state in which a key it holds cannot be read, and reason says why.

Link copied to clipboard
class Rigged(val restore: suspend () -> Unit) : DeviceKeyStoreFixture.UnreadableKey

The key is out of reach until restore runs, which must bring back the very same key.