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

Remove DependencyInfoBlock for F-Droid #35

Closed
linsui opened this issue Nov 2, 2024 · 3 comments
Closed

Remove DependencyInfoBlock for F-Droid #35

linsui opened this issue Nov 2, 2024 · 3 comments

Comments

@linsui
Copy link

linsui commented Nov 2, 2024

We find that there is a DependencyInfoBlock in your apk. It's a Frosting block in the signing block. It's added by AGP and signed by Google's public key so it can't be read by anyone else except Google.

Could you please disable it with the following code?

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

Thanks!

@hazae41
Copy link
Member

hazae41 commented Nov 2, 2024

Sure thank you for noticing

hazae41 added a commit that referenced this issue Nov 2, 2024
@hazae41
Copy link
Member

hazae41 commented Nov 2, 2024

Ok so this is for security? As this block can contain malicious code if our supply-chain is compromised, is this correct?

@hazae41 hazae41 closed this as completed Nov 2, 2024
@linsui
Copy link
Author

linsui commented Nov 2, 2024

Thanks! There are some more info in https://gitlab.com/fdroid/fdroidserver/-/issues/1056.

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