loadEncryptPublicKey

suspend fun loadEncryptPublicKey(keyRepository: KeyRepository, settingsRepository: SettingsRepository): ByteArray

Resolves the recipient public key to encrypt to (default encrypt key or the first available key).

Throws

when no recipient key is configured.