fractalwrench/ApkGolf

APK Size varies depending on the generated keystore

fractalwrench opened this issue · 1 comments

We should probably find the optimal one and use that. Currently it varies by a few bytes each time the build script runs.

It's not just the keystore. It's also that ECDSA signature length can fluctuate for the same key and message digest because the signature consists of two numbers encoded using ASN.1 DER which uses variable-length encoding for numbers. Because ECDSA signatures are usually non-deterministic, the values of these two numbers change each time you sign, even if the input being signed does not change.