Feature #2960
preference to enable/disable https and unsigned indexes in repos
Status: | In Progress | Start date: | 02/14/2014 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | - | |||
Component: |
Description
In FDroid, it is easy enough now to setup signed repos, and to use https with self-signed certs. FDroid should by default only use signed indexes (i.e. only look for index.jar
and ignore index.xml
) and expect HTTPS connections. Then via a preference, http and unsigned repos could be enabled.
Related issues
Associated revisions
when adding a repo with fingerprint, make sure to store the pubkey
The logic here is crufty, so I slapped a flag in there to make sure that
the pubkey gets stored when someone configures a repo and includes the
fingerprint. When the fingerprint is set, it will first download the
index.jar and verify it against that fingerprint. The logic for storing
the pubkey permanently happens later in the XML parsing, so there needs to
be a flag to signal to store the pubkey in this case.
Before the flow was always index.xml -> get pubkey -> index.jar. Really,
there should no longer be support for unsigned repos, then all of this
stuff can be dramatically simplified.
fixes #2924 https://dev.guardianproject.info/issues/2924
refs #2960 https://dev.guardianproject.info/issues/2960
support HTTPS:// for local repo in a preference
Allow the local repo to use HTTPS:// instead of HTTP://. This is currently
default off since handling the self-signed certificate is not currently
graceful. In the future, the SPKI that AndroidPinning uses should be
included in the repo meta data, then when someone marks a repo as trusted,
that local repo's SPKI should be added to the list of trusted keys in
AndroidPinning.
History
#1 Updated by hans over 3 years ago
#2 Updated by hans over 3 years ago
- Target version changed from improved security/usability to Integrate Kerplapp into FDroid
#3 Updated by hans over 3 years ago
- Target version changed from Integrate Kerplapp into FDroid to new unified Downloader infrastructure
#4 Updated by Anonymous over 3 years ago
- Status changed from New to Resolved
Applied in changeset fdroidclient|commit:b7339e94236f9ceac09472e1a35c677ecc708670.
#5 Updated by hans over 3 years ago
- Subject changed from preference to enable/disable http and unsigned indexes in repos to preference to enable/disable https and unsigned indexes in repos
- Status changed from Resolved to In Progress
- Target version changed from new unified Downloader infrastructure to 134
#6 Updated by hans over 2 years ago
- Target version deleted (
134)