-
Notifications
You must be signed in to change notification settings - Fork 194
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
Unused permissions #1238
Comments
Hello and thanks for the heads-up. Since USE_CREDENTIALS was removed in API 23 I can't really get a straight answer from Android docs nor Google about what this permission really was for (sorry I can't remember). Current Android docs states that it's needed only (AFAICS) for getting the auth token (which we don't use: keys are stored in the account userdata and the key's password is in the account password). More unofficial docs here. About READ_SYNC_SETTINGS I can see I only require its WRITE counterpart. I don't know, it must be a leftover. Thank you! |
I stand corrected: READ_SYNC_SETTINGS is needed:
|
Thank you for the information. I am using your app for evaluating a research tool that we developed and part of my work is to identify the components and the corresponding permissions enforced on those components. We will use this information afterward to assign the least privileges to each component that are necessary for its functionality. This is called the least privilege execution. I thought you might be interested in having this information. Please, notice that this list might not be complete or 100% accurate. So, I would appreicate if you can suggest fixes.
|
I believe your tool considers permission requests also as permission users. I guess you already know that that isn't necessarily true. But thanks for the information! |
Expected behavior
An app defines a permission -> the app uses the permission
Actual behavior
The app does not use any API protected by READ_SYNC_SETTINGS and USE_CREDENTIALS permissions, and for me, they seem unnecessary to declare.
Steps to reproduce
Manual and static analysis
Environment
Kontalk version: master
Android version: Marshmallow
Device model: Emulator
The text was updated successfully, but these errors were encountered: