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

APK Size varies depending on the generated keystore #14

Open
fractalwrench opened this issue Oct 11, 2017 · 1 comment
Open

APK Size varies depending on the generated keystore #14

fractalwrench opened this issue Oct 11, 2017 · 1 comment

Comments

@fractalwrench
Copy link
Owner

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

@klyubin
Copy link
Contributor

klyubin commented Oct 11, 2017

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.

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