-
Notifications
You must be signed in to change notification settings - Fork 1
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
Reproducible builds #69
Comments
The app should be built from the same commit as the release tag, yes. How did you compare the builds? IIRC the In general, this app is not currently optimized for reproducible builds. I'll treat this like a feature request, not like a bug report 🙂 |
That's exactly how it was meant, thanks!
I use rbtlog. Put into the shortest words: build the APK from source, then copy over the signature from the APK you provide using apksigcopier, then see if it verifies. So if yours does have the In your case, it's not the baseline only, it's also the |
I built from within Android Studio ("Generate Signed APK") with Target JDK 17. It's possible that there were cached leftovers. For reproducible builds, we'd need to build from a well-defined environment (e.g. using a Dockerfile). |
Details about RB at IzzyOnDroid: https://android.izzysoft.de/articles/named/iod-rbs-mirrors-clients?lang=en |
Then this advice might help:
(source)
rbtlog here indeed does exactly that, just instead of Docker it uses a Podman container. I was using
Yupp, that's the link from my opening post. Apologies, mine had a typo, which I just fixed now. |
Oops sorry, I totally missed that... I'll revisit the topic once we create the next release 🙂 |
Thanks! Just give me a ping when I shall try again 😃 |
The But the We have seen odd |
I've rebuilt your app from the commit behind the latest tag/release, but it failed to be reproducible:
Was the APK attached to that release really built from that commit – or do I maybe miss some "environment settings" or build parameters? I've been simply running
./gradlew assembleRelease
.If you wonder about the background of this, be welcome to take a look at Reproducible bulds, special client support and more in our repo 😉 And picking a core element which could help you here, that would be the link to our hints on reproducible builds.
Thanks in advance for your help!
The text was updated successfully, but these errors were encountered: