I found that my fdroid has not been updated to the latest release mentioned in this post (1.16). I opened it and pulled down to refresh, but it didn't show any available updates to fdroid. I opened the fdroid info page in the app, and at the bottom I saw 1.16.1 was available but 1.15.6 (the installed version at time) was labeled “suggested”, not sure what that meant. I selected 1.16.1 and it installed and ran smoothl…
New F-Droid repository format for faster and smaller updates
101–110 of 146 posts
Re: New F-Droid repository format for faster and smaller updates
#102Thank you f-droid for having a consistent UI since years.
I appreciate it, but it's a weird flow. I'd expect touch "update" tab would run the "check for updates" without needing the pull down (maybe set a cache-time in settings); "update all" would do all the updates without any other taps (or with at most one [per app]).
Re: New F-Droid repository format for faster and smaller updates
#103> stronger digest algorithm for repository signing: We now use SHA256 instead of SHA1 for the index signature Neither SHA-1 nor SHA-256 are signing constructs, they are hash functions. They provide integrity, not authenticity. For this kind of thing (a central authority signing and public clients verifying), you'd need a public key signature scheme, like ECDSA or EdDSA.
It isn't common to encrypt or sign the full content using asymmetric encryption. For encryption you usually pick a large random key for symmetric encryption, encrypt the body with a strong symmetric cypher and that key, and encrypt the symmetric key with your asymmetric method and the intended recipient's public key. For signing, you use a suitable secure hash function to produce a digest of the content, when sign th…
Re: New F-Droid repository format for faster and smaller updates
#104Earlier quoted context omitted.
I don't won't to be tethered 24/7 to the internet to use my mobile phone. Data exchange isn't free, both in money and in environmental impact. That's a flawed assumption to begin with.
You're talking about an app store here though - by definition it needs to retrieve the app itself and assets related to each entry (e.g. screenshots), so it's not like you're achieving anything useful by downloading the database offline. This isn't something like a news reader.
Re: New F-Droid repository format for faster and smaller updates
#105Earlier quoted context omitted.
I don't won't to be tethered 24/7 to the internet to use my mobile phone. Data exchange isn't free, both in money and in environmental impact. That's a flawed assumption to begin with.
On the other hand having to download all app details at once takes many MBs, not always fast. You can instead cache details of some applications. I think homebrew moved away from repository approach too.
Re: New F-Droid repository format for faster and smaller updates
#106Earlier quoted context omitted.
It isn't common to encrypt or sign the full content using asymmetric encryption. For encryption you usually pick a large random key for symmetric encryption, encrypt the body with a strong symmetric cypher and that key, and encrypt the symmetric key with your asymmetric method and the intended recipient's public key. For signing, you use a suitable secure hash function to produce a digest of the content, when sign th…
Both ECDSA and EdDSA hash the message internally before signing. The only advantage of signing a pre-hash, other than convenience of computation (eg: if a streaming implementation of the internal pre-hash is not available) would be to allow checking integrity without authenticity, which makes little sense.
And if they are computing a hash for that anyway, the computation saving from signing the hash not the whole content might be worthwhile?
Re: New F-Droid repository format for faster and smaller updates
#107Earlier quoted context omitted.
It isn't common to encrypt or sign the full content using asymmetric encryption. For encryption you usually pick a large random key for symmetric encryption, encrypt the body with a strong symmetric cypher and that key, and encrypt the symmetric key with your asymmetric method and the intended recipient's public key. For signing, you use a suitable secure hash function to produce a digest of the content, when sign th…
Both ECDSA and EdDSA hash the message internally before signing. The only advantage of signing a pre-hash, other than convenience of computation (eg: if a streaming implementation of the internal pre-hash is not available) would be to allow checking integrity without authenticity, which makes little sense.
Re: New F-Droid repository format for faster and smaller updates
#108I didn't realize the app was still being worked on. It's been years since the UI update and it's always been amazingly buggy (across 3 different phone). I'm always impressed by how broken it is - especially if you have a slow connection. Downloads will randomly go into a weird frozen state where they can't be stopped. The download status will change when you change tabs/sections. Sometimes download will go past 100%…
Re: New F-Droid repository format for faster and smaller updates
#109Earlier quoted context omitted.
Both ECDSA and EdDSA hash the message internally before signing. The only advantage of signing a pre-hash, other than convenience of computation (eg: if a streaming implementation of the internal pre-hash is not available) would be to allow checking integrity without authenticity, which makes little sense.
Perhaps they are using the hash output for quick corruption tests as well as signing for authenticity? And if they are computing a hash for that anyway, the computation saving from signing the hash not the whole content might be worthwhile?
Granted, verifying only that hashes match for integrity would be cheaper than checking the signature. But since you need to to that anyway for authenticating the payload, why the intermediate step?
Re: New F-Droid repository format for faster and smaller updates
#110I didn't realize the app was still being worked on. It's been years since the UI update and it's always been amazingly buggy (across 3 different phone). I'm always impressed by how broken it is - especially if you have a slow connection. Downloads will randomly go into a weird frozen state where they can't be stopped. The download status will change when you change tabs/sections. Sometimes download will go past 100%…
"...It's been years since the UI update and it's always been amazingly buggy" Being buggy is only one aspect, the other was the annoying change of UI that presents apps in rows of large, gawky icons instead of the previous efficient rows of title text each headed by a small icon (as say in Windows 'List' mode). Unfortunately, this leaves me stuck on ancient version F-Droid 0.102.3. When looking for an app this new la…