Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Deprecated class MasterKeys #51

Open
open-driven opened this issue Jun 1, 2021 · 1 comment
Open

Deprecated class MasterKeys #51

open-driven opened this issue Jun 1, 2021 · 1 comment

Comments

@open-driven
Copy link

Hello,

It would be a good practice to replace the deprecated class MasterKeys by MasterKey as per https://developer.android.com/reference/kotlin/androidx/security/crypto/MasterKeys (Java: https://developer.android.com/reference/androidx/security/crypto/MasterKeys)

val masterKeyAlias: String = MasterKeys.getOrCreate(MasterKeys.AES256_GCM_SPEC)

@goebelUB
Copy link
Contributor

goebelUB commented Jun 1, 2021

Thanks a lot for the suggestion.
It seems that the MasterKey class was added in version 1.1.0-alpha1. We currently depend on version 1.0.0, which is the current stable release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants