Skip to content
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

Mobile : Utiliser l'Android Keystore pour générer la clé conceal #54

Open
paul1893 opened this issue Oct 8, 2018 · 0 comments
Open
Labels
early_pilot_bug flag used to identiy issues that has been revealed during the early pilot tests mobile app all features about Android mobile application development

Comments

@paul1893
Copy link
Contributor

paul1893 commented Oct 8, 2018

Par défaut la librairie conceal de Facebook génère une clé et la stock dans les shared_preferences (/data/data/com.wearablesensor.aura/shared_prefs). Cette clé sert au chiffrement des fichiers contenus dans /data/data/com.wearablesensor.aura/files. Bien que ce dossier n'est accessible en lecture et en écriture que par l'application. Un hacker qui aura surement les droits root pourra facilement y accéder afin de trouver le fichier crypto.KEY_256.xml qui contient la clé.

capture d ecran 2018-10-08 a 11 37 46

Il convient ici soit de récupérer la clé depuis un serveur, soit d'utiliser l'Android Keystore qui est prévu à cet effet. Le Keystore fournit une clé pour le chiffrement (que l'on peut alors donner à conceal).

@clecoued clecoued added mobile app all features about Android mobile application development early_pilot_bug flag used to identiy issues that has been revealed during the early pilot tests labels Oct 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
early_pilot_bug flag used to identiy issues that has been revealed during the early pilot tests mobile app all features about Android mobile application development
Projects
None yet
Development

No branches or pull requests

2 participants