F-Droid Devs

98 Members
#fdroid-dev F-Droid development discussion only | Use #fdroid:f-droid.org for general, app- and repo-related matters | Meeting every Thursday at 11:30 UTC | This channel is publicly logged at https://matrix.f-droid.org/alias/%23fdroid-dev:f-droid.org16 Servers

Load older messages


SenderMessageTime
28 Sep 2020
@eighthave:matrix.org_hclook at any other RB effort, they are all doing bit-for-bit exact for the distributed file, which are usually archives14:41:29
@eighthave:matrix.org_hcJava JARs, Debian .debs (ar+tar), etc.14:41:42
@eighthave:matrix.org_hcFYI using v1 sigs already gives you your 'close enough' standard14:42:48
@kitsunyan:matrix.orgkitsunyanBut the problem is that keys are private to developers. How archives can be required to become reproducible, if only developer has keys? If different people sign the apk with their own keys, apks will obviously different.14:44:39
@kitsunyan:matrix.orgkitsunyanWhich means apk format itself isn't supposed to be 1:1 matched.14:45:09
@kitsunyan:matrix.orgkitsunyanAnd old v1 scheme wasn't reproducible in that sense as well. Extracting keys and running jarsigner is a data matching, not archives binarily.14:46:23
@kitsunyan:matrix.orgkitsunyanMoreover, the process of packaging ar and tar archives is much simplier due to simple archive format and tools.14:48:39
@kitsunyan:matrix.orgkitsunyanBut Android packaging tools is a mess. JarFile, AGP, aapt, aapt2, apksigner, and even Java itself. There seem to be no consistency at all.14:50:32
@kitsunyan:matrix.orgkitsunyan I didn't succeeded in building 1:1 archives using python script, tbh. Neither I will with ZipFile from Java because it's too simple. To enable "1:1 bibary matching" reproducible builds, there should be a fdroid-specific "contract" to how to pack and sign apks, which should be followed both by application developers and fdroid buildserver. This is complex, because it will either require more metadata from developers (like order of files in archive, offsets, etc), or require a fdroid-specific packaging packaging script to be used by developers. 14:56:10
@eighthave:matrix.org_hcif the build result is bit-for-bit reproducible, then the signature applies regardless of who has the keys14:57:00
@kitsunyan:matrix.orgkitsunyan And then, the question is "what we are supposed to archieve by these means". 14:57:12
@eighthave:matrix.org_hcI think you should read up on reproducible-builds.org14:57:21
@eighthave:matrix.org_hcspecificially buildinfo files and the like14:58:04
@kitsunyan:matrix.orgkitsunyan
In reply to @eighthave:matrix.org
if the build result is bit-for-bit reproducible, then the signature applies regardless of who has the keys
Only if proper tools are used. We don't have them.
15:01:28
@eighthave:matrix.org_hcwe make them!15:25:12
@freenode_mimi89999:matrix.orgmimi89999When will there the build run?17:10:50
@gsantner:tchncs.deGregorhttps://www.xda-developers.com/google-play-store-in-app-billing-clarity-android-12-third-party-app-stores/18:04:44
@quite:matrix.orgdaniel (quite) left the room.18:07:44
@freenode_mvdan:matrix.orgmvdan that's surprisingly good news. 22:06:27
@freenode_cdesai:matrix.orgcdesai "Google hasn’t shared exactly what changes they’re making to Android" let's see 22:12:06
@freenode_cdesai:matrix.orgcdesaihttps://android-developers.googleblog.com/2020/09/listening-to-developer-feedback-to.html source link22:18:18
29 Sep 2020
@eighthave:matrix.org_hc izzy: is there an fdroiddata repo for the izzysoft repo? I'm making a CLI repo curation tool, so it would be nice t have access to the .yml files 08:53:59
@freenode_wb9688:matrix.orgwb9688Do binary-only repos have a fdroiddata thingy?08:55:20
@eighthave:matrix.org_hcif you want them to, sure09:00:38
@eighthave:matrix.org_hcfor example https://gitlab.com/guardianproject/fdroid-metadata09:01:05
@freenode_izzy:matrix.orgizzy_hc: currently not. Shall I make the files available to you by some other means (eg ZIP them up and send by mail)?09:04:48
@eighthave:matrix.org_hc izzy: thanks, but I don't need a ZIP. I mostly was looking for examples for people to learn from. If you don't have an fdroiddata-like repo, then no big deal. I'll use the guardianproject repo as the example 09:05:47
@eighthave:matrix.org_hcI can get all the info from the index file09:05:53
@freenode_izzy:matrix.orgizzyAlmost, yes. Some things like MaintainerNotes are missing there.09:06:20
@eighthave:matrix.org_hc izzy: do you use [[app.id]] links in izzysoft? 09:41:38

Show newer messages


Back to Room ListRoom Version: 1