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

Question on permissions #890

Closed
IzzySoft opened this issue Jul 7, 2024 · 2 comments
Closed

Question on permissions #890

IzzySoft opened this issue Jul 7, 2024 · 2 comments

Comments

@IzzySoft
Copy link

IzzySoft commented Jul 7, 2024

I've received warnings from a scanner here at IoD:

! repo/com.shuyu.gsygithub.gsygithubappflutter_55.apk declares sensitive permission(s): android.permission.READ_EXTERNAL_STORAGE*
! repo/com.shuyu.gsygithub.gsygithubappflutter_55.apk contains signature block blobs: 0x504b4453 (DEPENDENCY_INFO_BLOCK; GOOGLE)

READ_EXTERNAL_STORAGE was granted implicitly (as the asterisk indicated) as the app requests the write permission. Could you please clarify what that is needed for?

As for DEPENDENCY_INFO_BLOCK, that can easily be avoided with a tiny adjustment in your build.gradle:

android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

For some background: that BLOB is supposed to be just a binary representation of your app's dependency tree. But as it's encrypted with a public key belonging to Google, only Google can read it – and nobody else can even verify what it really contains. More details can be found e.g. here: Ramping up security: additional APK checks are in place with the IzzyOnDroid repo.

Thanks in advance!

@CarGuo
Copy link
Owner

CarGuo commented Jul 8, 2024

Because before this, the program had saveImage related logic, but it is currently blocked in the relevant code.
For now, it can be removed

@CarGuo CarGuo closed this as completed in d1567dc Jul 8, 2024
@IzzySoft
Copy link
Author

IzzySoft commented Jul 8, 2024

Thanks!

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

No branches or pull requests

2 participants