20

I installed Bitwarden from F-Droid, but I happened to notice yesterday that Bitwarden was in my list of apps with updates available from Play Store, even though I installed it via F-Droid. Why would that be?

I know this is a better question for the Bitwarden forums, but I don't have enough street cred there to make a post.

top 18 comments
sorted by: hot top controversial new old
[-] db2@lemmy.one 26 points 1 year ago

It has the same signature.

[-] LinkOpensChest_wav@lemmy.one 9 points 1 year ago

Ok thanks. Assuming I'm a colossal moron, an absolute clown-shoe wearing buffoon about technology ... what is a signature? I've heard this term used in tech forums, but as a humanities guy I've never quite grasped it.

[-] hikaru755@feddit.de 28 points 1 year ago* (last edited 1 year ago)

It's a way to verify that an app, or any package of data really, actually comes from the source you're expecting it to.

It's based on some clever math, but basically, an app developer has two very large numbers that share a certain mathematical relationship, but if you only know one of them, it's extremely hard to calculate the other one. One of those numbers (the private key) they keep securely to themselves, the other number (the public key) they publish permanently for everyone to see.

Now when the releases an app or an update to it, they put both the app and their private key into a special formula, which produces a new big number, called the "signature". Then, they publish both the app and the signature to the play store.

Now, when your app store sees an update of the app, it won't just blindly trust it, but first check that it's actually legit, so that it doesn't accidentally install a virus or something. To do that, it downloads the app and the signature, and puts them into another special function, together with the public key that was used to sign the version of the app that you currently have installed. Now the clever part is, because of the special mathematical relationship between the public key and the private key, this function can check whether the signature was in fact produced by combining the app with the private key of the developer, without actually having to know that private key. This way, it can now be sure that this app update is actually coming from the original developer - unless they have been compromised and their private key leaked.

So, technically, saying "it has the same signature" is not quite correct. The signature changes with every update. The thing that's the same and allows to install the update is the key being used to generate the signature.


This I very close to how (asymmetrically) encrypted messaging works, btw. If you have a key pair like above, you can encrypt a message with one of the keys in a way that it's only decryptable with the other one. This way you can have people send you encrypted messages without anyone else knowing the encryption key, not even the sender of the message.

[-] LinkOpensChest_wav@lemmy.one 7 points 1 year ago

This is fascinating and an excellent ELI5 of something that seems so seamless and simple from the user side. Thanks!

[-] varaki@lemmy.world 7 points 1 year ago

Apps (apks) must be signed before uploading to distribution sites like play store or f-droid. Some devs are signing their app releases with different keys, because for example the google play version of the app has to contain stuff they don't include in f-droid versions. These are mostly privacy related things, google does not allow in their play store. In case of bitwarden the two versions are most probably the same and they're signed with the same key. So if there's an update in either of the two distribution sites it will show you, that there's an update. Now I use Aurora Store instead of play store for apps that are not available in F-Droid and you can blacklist apps there, so I only get updates from F-Droid.

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

So are you saying that the Google Play version of an app is likely to have more privacy than the F-Droid version?

Also, I've noticed the F-Droid filter on Aurora Store is broken. All of my F-Droid apps still appear in my list of updates.

[-] merde@sh.itjust.works 2 points 1 year ago

fDroid filter works for me 🤷

you can put the apps you want ignored in the black list of Aurora too

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

Blacklist apps: By blacklisting apps, Google will not know that the selected apps are installed on your device

I think blacklisting only hides the apps from Google, not Aurora

[-] merde@sh.itjust.works 2 points 1 year ago

then when you blacklist apps, aurora no longer searches for their updates either 🤷

try it for yourself. next time there is an update for an app; instead of updating, blacklist it. (you can always undo

[-] LinkOpensChest_wav@lemmy.one 1 points 1 year ago

Okay, so the only reason to blacklist an app would be if you didn't want to update for some reason

[-] merde@sh.itjust.works 2 points 1 year ago

or if you want to update from other repositories

[-] LinkOpensChest_wav@lemmy.one 2 points 1 year ago

Oh, I get it now. So I'd want to do that to my F-Droid apps, if I prefer to run their updates via F-Droid.

[-] varaki@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

the Google Play version of an app is likely to have more privacy than the F-Droid version?

No, the opposite

[-] Mermitian@lemm.ee 7 points 1 year ago* (last edited 1 year ago)

Someone correct me if I’m wrong, but I believe that sideloaded apps do get updated by the play store. (As long as their internal app manifest matches, I presume?)

[-] rikudou@lemmings.world 5 points 1 year ago

Not manifest, their signature must match. Usually F-Droid apps have their own signature but they also support providing your own signature precisely for compatibility with other stores.

[-] LinkOpensChest_wav@lemmy.one 5 points 1 year ago

This reminds me of something else that tripped me out. I started using Aurora to update apps, and I was so confused about why there were so many unexpected updates. Apparently, Google doesn't roll out updates all at the same time. Now I know why people in my discord complain about updates that I don't see until days later.

Maybe if the updates happen to align, they will appear in multiple places? I'm not sure, but I really wish Play couldn't "see" all the apps I've installed on my device. Creepy-ass behavior.

[-] Mermitian@lemm.ee 3 points 1 year ago

The slow rollouts are so annoying too, I often saw apps say I need to update without there even being an update for me.

load more comments
view more: next ›
this post was submitted on 19 Jul 2023
20 points (100.0% liked)

Privacy Guides

16263 readers
20 users here now

In the digital age, protecting your personal information might seem like an impossible task. We’re here to help.

This is a community for sharing news about privacy, posting information about cool privacy tools and services, and getting advice about your privacy journey.


You can subscribe to this community from any Kbin or Lemmy instance:

Learn more...


Check out our website at privacyguides.org before asking your questions here. We've tried answering the common questions and recommendations there!

Want to get involved? The website is open-source on GitHub, and your help would be appreciated!


This community is the "official" Privacy Guides community on Lemmy, which can be verified here. Other "Privacy Guides" communities on other Lemmy servers are not moderated by this team or associated with the website.


Moderation Rules:

  1. We prefer posting about open-source software whenever possible.
  2. This is not the place for self-promotion if you are not listed on privacyguides.org. If you want to be listed, make a suggestion on our forum first.
  3. No soliciting engagement: Don't ask for upvotes, follows, etc.
  4. Surveys, Fundraising, and Petitions must be pre-approved by the mod team.
  5. Be civil, no violence, hate speech. Assume people here are posting in good faith.
  6. Don't repost topics which have already been covered here.
  7. News posts must be related to privacy and security, and your post title must match the article headline exactly. Do not editorialize titles, you can post your opinions in the post body or a comment.
  8. Memes/images/video posts that could be summarized as text explanations should not be posted. Infographics and conference talks from reputable sources are acceptable.
  9. No help vampires: This is not a tech support subreddit, don't abuse our community's willingness to help. Questions related to privacy, security or privacy/security related software and their configurations are acceptable.
  10. No misinformation: Extraordinary claims must be matched with evidence.
  11. Do not post about VPNs or cryptocurrencies which are not listed on privacyguides.org. See Rule 2 for info on adding new recommendations to the website.
  12. General guides or software lists are not permitted. Original sources and research about specific topics are allowed as long as they are high quality and factual. We are not providing a platform for poorly-vetted, out-of-date or conflicting recommendations.

Additional Resources:

founded 2 years ago
MODERATORS