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

0x5b - ProGuard enabled by default? #106

Closed
romualdszkudlarek opened this issue Feb 22, 2017 · 2 comments
Closed

0x5b - ProGuard enabled by default? #106

romualdszkudlarek opened this issue Feb 22, 2017 · 2 comments

Comments

@romualdszkudlarek
Copy link
Collaborator

When reading "Debug build" / "Code obfuscation from ProGuard is not applied" in "Basic Security Testing" (Android), I get the impression that ProGuard is enabled by default in Android Studio, or performed by default in any other IDE. While reading https://developer.android.com/studio/build/shrink-code.html, this does not seem to be true.

More detailed explanation on code obfuscation VS reverse engineering could be added, or a link to chapter 0x5b (same as the current one???) could be added in case it provides enough information on this topic.

@muellerberndt
Copy link
Collaborator

muellerberndt commented Feb 23, 2017

Yes, AFAIK debug vs. release build does not affect the Proguard configuration by default, even though many will configure it that way. The exact recommendations will be in the test case.

@sushi2k
Copy link
Collaborator

sushi2k commented Feb 26, 2017

When I was reading about it last year, the documentation was saying that Proguard settings are only applied in release builds and not in debug builds. therefore you couldn't obfuscate code in a debug build even with an existing Proguard config. Seems that this changed already last year with a new version of gradle. Just deleted this sentence, as it is not correct. Thanks for pointing out.

@sushi2k sushi2k closed this as completed Feb 26, 2017
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

3 participants