Feature #2965

fdroidclient sends the FDroid APK hash to the repo server

Added by hans almost 4 years ago. Updated over 3 years ago.

Status:NewStart date:02/15/2014
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Component:

Description

If there was a programmatic FDroid repo, then we could have FDroid clients submit a hash of their own current APK to the repo, and the repo could reply somehow telling the client whether it is an official APK or not. The official repo already hosts FDroid apks, so the standard metadata in index.xml already has the SHA256 of all of the FDroid APKs.

Or maybe it doesn't make sense to have a specific behavior for FDroid itself.

There will need to be a preference to disable this for people running custom builds, i.e. developers, etc.


Related issues

Related to Bazaar - Feature #2600: compare APK lists as part of p2p sync process In Progress 02/21/2014

History

#1 Updated by hans almost 4 years ago

  • Subject changed from fdroidclient verifies its own FDroid APK with what is in the repos to fdroidclient sends the FDroid APK hash to the repo server

I just remembered something: the repo server could be configured to only serve up the complete APK list to apps that present valid FDroid APK hashes. I suppose the malware version could just include hard-coded hashes, so it would only help with simple attacks.

In any case, it would be useful as a survey if FDroid client included its version code and SHA256 sum in the URI as a query string each time it accessed the repo. Then the server would have a way to parse that info out to get a survey of what is out there.

#2 Updated by hans almost 4 years ago

  • Target version changed from improved security/usability to 134

#3 Updated by hans over 3 years ago

  • Target version deleted (134)

Also available in: Atom PDF