You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed Electrum via Play Store a long time ago. A couple days ago Electrum showed up in the list of available updates on F-Droid and I thought it was an error or something, so I left it alone.
Today I saw it again and went to the Play Store updates section to see if there's an update for Electrum there, but there wasn't. Tapped on update via F-Droid expecting to get an error due to different signatures but to my surprise Electrum updated successfully.
I thought all packages published on F-Droid are signed by F-Droid themselves and since Play Store has different signatures it wouldn't be possible to simply update via F-Droid while the package is already installed via Play Store.
Am I missing something?
The text was updated successfully, but these errors were encountered:
I thought all packages published on F-Droid are signed by F-Droid themselves and since Play Store has different signatures it wouldn't be possible to simply update via F-Droid while the package is already installed via Play Store.
F-Droid has support for reproducible builds: if the fdroid buildserver can reproduce the upstream apk, there is an option for the buildserver to simply copy the upstream developer's signature instead of signing it with an fdroid-specific key.
We are using this option (see build script) and so the apk hosted by F-Droid is signed by a key owned by the Electrum project. This is the same key that we use to sign the apk hosted on the website.
Also relevantly, Google Play allows apks to be signed by the upstream developer, at least for now, for old apps. Luckily Electrum was first published to the play store before they made "Play App Signing" mandatory (that is, started requiring developers to hand over their private keys to Google) so it is old enough. Hence, we are gracefully allowed not to give our private key to them and have them sign it, but to have a key of our own.
As a consequence, the F-Droid apk, the Google Play apk, and the website apk, are all signed by the same key that only the project has, and so users can conveniently switch between stores and install an upgrade from any of these sources.
I installed Electrum via Play Store a long time ago. A couple days ago Electrum showed up in the list of available updates on F-Droid and I thought it was an error or something, so I left it alone.
Today I saw it again and went to the Play Store updates section to see if there's an update for Electrum there, but there wasn't. Tapped on update via F-Droid expecting to get an error due to different signatures but to my surprise Electrum updated successfully.
I thought all packages published on F-Droid are signed by F-Droid themselves and since Play Store has different signatures it wouldn't be possible to simply update via F-Droid while the package is already installed via Play Store.
Am I missing something?
The text was updated successfully, but these errors were encountered: