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

cleartext traffic #14

Open
IzzySoft opened this issue Mar 1, 2024 · 2 comments
Open

cleartext traffic #14

IzzySoft opened this issue Mar 1, 2024 · 2 comments

Comments

@IzzySoft
Copy link

IzzySoft commented Mar 1, 2024

Just wondering over what my scanner reported:

! repo/top.donmor.tiddloidlite_10.apk declares flag(s): usesCleartextTraffic
! repo/top.donmor.tiddloidlite_10.apk contains signature block blobs: 0x504b4453 (DEPENDENCY_INFO_BLOCK; GOOGLE)

What cleartext connections are used by the app? The DEPENDENCY_INFO_BLOCK can easily be avoided btw:

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.

Thanks in advance!

@donmor
Copy link
Owner

donmor commented Mar 1, 2024

The usesCleartextTraffic is there before Lite is forked from Tiddloid. It was added to support non-SSL connections(HTTP) in LAN. It may be removed someday since it is not necessary for Lite to make non-SSL connections.

As for DEPENDENCY_INFO_BLOCK, yeah I'd get rid of it somehow. P.S.: It's not clear if F-Droid builds have this🤔

@IzzySoft
Copy link
Author

IzzySoft commented Mar 1, 2024

  • usesCleartextTraffic: if it's not needed it's of course better removed. If it's still needed/used for LAN only, I can add that as exception, please let me know then. Err, I've just added that now – should you remove it my scanner will let me know.
  • DEPENDENCY_INFO_BLOCK: thanks! And F-Droid.org will have that with reproducible builds, but only if you have it – as with RB they'd ship your build. But we're talking about my repo here, which always takes your APKs 😉

I'll leave this issue open in case you need it for tracking usesCleartextTraffic – feel free to close if/when you don't (anymore).

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