android-components / mozilla.components.service.sync.logins / InvalidKeyException

InvalidKeyException

typealias InvalidKeyException = InvalidKeyException (source)

This error is emitted in two cases:

  1. An incorrect key is used to to open the login database
  2. The file at the path specified is not a sqlite database.

SQLCipher does not give any way to distinguish between these two cases.