Skip to content

Keychain values not readable when upgrading Android app from Qt5 to Qt6 (qtkeychain 0.14.1) #245

@kage-p

Description

@kage-p

The existing stored values cannot be read (returns error "EntryNotFound").
Our app is storing data offline which is encrypted with a password in the keystore so the user loses this data if we cannot get the key.

Android is reporting the exact same package id and uid. The namespace and keys used in the keychain are are the same.
The only other change is the gradle configuration which had to be updated to work with Qt6
I replicated in a minimal test app running from the IDE (APK is unsigned); additionally the issue is present when updating our release app which is signed with the same cert. I note the underlying Qt6 JNI code has vastly changed which could be the source of the issue.

Any clues for what is happening?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions