str4d / ed25519-java

Pure Java implementation of EdDSA
Creative Commons Zero v1.0 Universal
217 stars 73 forks source link

Proguard configuration #77

Open TarasMazepa opened 5 years ago

TarasMazepa commented 5 years ago

Is there any working proguard configuration for this library? Other than

-keepnames class net.i2p.crypto.eddsa.**

I see that in EdDSASecurityProvider there is some classes mentioned by fully qualified name. Do we need to just have -keepnames for this three? Or some other configuration also required?

Lots of classes implementing Serializable. Is this optional feature? I mean if my code does not use serialization it is safe to not care about preserving this classes?

Is there any other cases I should be aware which can cause problems with proguard?

Once we will have good understanding of what proguard config for this library should be, can you include it to the source code of this library? This is currently the best practice for java libraries which can be used on Android.