Closed Giszmo closed 10 months ago
@Giszmo Please check latest commit e38570c7621e7e2a2b3d6a3172669ffdb960650a
That commit does not help reproduce 4.0.22 but I see better results in 4.0.23 now.
I see all the secrets were moved into one resource file - app_secrets.txt
The resulting /res/Re.txt containing a base64 encoded object with base64 encoded secrets should be documented though. I took the Re.txt and added
echo \"ewogICJicmVlel9hc...pUTT0iCn0=\" > green/src/main/res/raw/app_secrets.txt;
to my build script and that gives me one remaining whitespace diff in Re.txt: My Re.txt has a linefeed that yours doesn't. I really don't know what to do with this in terms of reproducibility attestation. Slippery slope ... Can't you provide this blob somehow nicer in the BUILD.md for reproducibility, only? Anybody maliciously stealing your API keys can already do so and with them in the documentation, nobody would accidentally use them for clones.
@Giszmo
Added a gradle task to help with this.
Please use ./gradlew useBlockstreamKeys
next time before building.
Description
I tried to reproduce the latest version on Google Play and got these diffs:
Did something about the way the app is built change? In the dex files I see for example certificates that are not in the built version and that probably scrambles line numbers and results in tens of thousands of lines differing in a diffoscope output.
More details on https://walletscrutiny.com/android/com.greenaddress.greenbits_android_wallet/
What had worked many times before: