-
-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Let users log into Smoothie #700
Comments
I suppose we'll have to store the password locally. |
@monsieurtanuki , that's a further reason why I'd recommend Hive (doesn't matter if for all or only for preferences and this). It has some basic encryption at it's core but it also has secured Boxes where you can provide some further encryption. But we'll have to check how it really works |
@M123-dev We did share views about databases in general and |
Yes I know @monsieurtanuki we should probably reactivate the discussion... On Android, we can decide where to store the data
(They are named differently and this doesn't apply for rooted devices) The DB is very likely in private and the preferences in secured so I don't worry so much about that. For iOS, it's probably even stricter. |
You're right, that's probably OK like that so because even on a rooted device the worst that could a user do would be a self-hack! Unless of course the smartphone is given temporarily to a "friend". I had a slightly different issue on another app where I wanted to store the number of purchased credits in the preferences - on a rooted device the user would be able to add credits by directly changing the preferences. Actually, we don't even have a problem with preferences (deemed "secured"), do we? |
Now thinking about it that way, it should be allright |
@monsieurtanuki, now after the switch to hive where would be the correct way to write the logic, should I create a own DaoCredentials or a somewhat more generic DaoString or DaoSecuredString |
Hi @M123-dev! |
What
Let users log into Smoothie
https://github.com/openfoodfacts/openfoodfacts-dart/blob/master/DOCUMENTATION.md#check-login-data
Part of
The text was updated successfully, but these errors were encountered: