mirror of
https://github.com/f-droid/fdroidclient.git
synced 2026-04-23 16:29:28 -04:00
update proguard config to not strip needed classes
This stops the stripping of classes required for the swap stuff. proguard strips all sorts of stuff that is needed because of things like dynamic loading, reflection, etc. fixes #391 https://gitlab.com/fdroid/fdroidclient/issues/391
This commit is contained in:
22
F-Droid/proguard-rules.pro
vendored
22
F-Droid/proguard-rules.pro
vendored
@@ -15,22 +15,10 @@
|
||||
# excludes classes which may be required, depending on the security algorithms
|
||||
# required by certain certificates.
|
||||
# Reference: https://gitlab.com/fdroid/fdroidclient/issues/88
|
||||
-keep class org.spongycastle.crypto.* {*;}
|
||||
-keep class org.spongycastle.crypto.digests.* {*;}
|
||||
-keep class org.spongycastle.crypto.encodings.* {*;}
|
||||
-keep class org.spongycastle.crypto.engines.* {*;}
|
||||
-keep class org.spongycastle.crypto.macs.* {*;}
|
||||
-keep class org.spongycastle.crypto.modes.* {*;}
|
||||
-keep class org.spongycastle.crypto.paddings.* {*;}
|
||||
-keep class org.spongycastle.crypto.params.* {*;}
|
||||
-keep class org.spongycastle.crypto.prng.* {*;}
|
||||
-keep class org.spongycastle.crypto.signers.* {*;}
|
||||
|
||||
-keep class org.spongycastle.jcajce.provider.digest.** {*;}
|
||||
-keep class org.spongycastle.jcajce.provider.keystore.** {*;}
|
||||
-keep class org.spongycastle.jcajce.provider.symmetric.** {*;}
|
||||
-keep class org.spongycastle.jcajce.spec.* {*;}
|
||||
-keep class org.spongycastle.jce.** {*;}
|
||||
-keep class kellinwood.** {*;}
|
||||
-keep class javax.jmdns.** {*;}
|
||||
-keep class org.spongycastle.** {*;}
|
||||
-keep class eu.chainfire.** {*;}
|
||||
|
||||
# This keeps class members used for SystemInstaller IPC.
|
||||
# Reference: https://gitlab.com/fdroid/fdroidclient/issues/79
|
||||
@@ -48,5 +36,3 @@
|
||||
-keep public class * extends android.support.v4.view.ActionProvider {
|
||||
public <init>(android.content.Context);
|
||||
}
|
||||
|
||||
-keep class kellinwood.security.zipsigner.** {*;}
|
||||
|
||||
Reference in New Issue
Block a user