You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking inside the library I see that a way to save multiple data is by providing a different alias in com.oblador.keychain.KeychainModule#setGenericPassword for any new username-password combination (code).
However, every time a new alias is defined, a new key is generated through the KeyStore (code).
This means that for the same application I will end up generating thousands of secrets in the KeyStore and store them inside the secure storage.
This approach doesn't give any additional security. Moreover, it significantly slows down the app performances and it risks to exhaust the secure storage space. How do you handle the case of storing all the app data encrypted with your library? Why isn't there an API providing the possibility to store multiple username-password combinations using the same key?
The text was updated successfully, but these errors were encountered:
Looking inside the library I see that a way to save multiple data is by providing a different alias in
com.oblador.keychain.KeychainModule#setGenericPassword
for any new username-password combination (code).However, every time a new alias is defined, a new key is generated through the KeyStore (code).
This means that for the same application I will end up generating thousands of secrets in the KeyStore and store them inside the secure storage.
This approach doesn't give any additional security. Moreover, it significantly slows down the app performances and it risks to exhaust the secure storage space. How do you handle the case of storing all the app data encrypted with your library? Why isn't there an API providing the possibility to store multiple username-password combinations using the same key?
The text was updated successfully, but these errors were encountered: