Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong signing key and versionCode issues #12

Open
IzzySoft opened this issue Sep 1, 2023 · 13 comments
Open

wrong signing key and versionCode issues #12

IzzySoft opened this issue Sep 1, 2023 · 13 comments

Comments

@IzzySoft
Copy link

IzzySoft commented Sep 1, 2023

Looks like the latest releases (v1.0.3 & v1.0.4) were signed with a different key:

Signer #1 certificate DN: CN=klejvi kapaj
Signer #1 certificate SHA-256 digest: 488022f8ec615263e72fd98006c9e2f6476f2bf31c02f165cb1bfcb7bf4f0fa8
Signer #1 certificate SHA-1 digest: d2e90410b700d66394f6f5d201d8bbdc39ab65db
Signer #1 certificate MD5 digest: 734408e55686d08d11b3c145ce3d6416

while the versions before used

Signer #1 certificate DN: CN=Klejvi Kapaj, OU=Yaga, O=Yaga, L=Ballsh, ST=Fier, C=AL
Signer #1 certificate SHA-256 digest: 90fca3e33cda889fb69e536781dbf030e7875bf69b9428fd0827ba5ab46ef14d
Signer #1 certificate SHA-1 digest: 7521b2a846d829eb93f89318f0dd933ed000885e
Signer #1 certificate MD5 digest: c17dca450b1273c761c876752d47016f

What happened to your signing key (I couldn't find any hint in the release notes either)? A changed key could mean someone hacked your repo and added modified APKs (but could not sign them with the correct key as you hopefully kept it safe).

Further, versionCode of your app toggles between 1 and 2 instead of being always increased with each new release, which makes updates quite difficult (and with the key changing even impossible). As the latest release (v1.0.4) just overwrote v1.0.2 (the last one with the original key) due to having the same versionCode, your app entirely disappeared from my repo now as the signing key was not accepted, so I'll have to revert back to v1.0.2 here for now until this issue is solved. I might need to disable updates entirely (they were set to monthly last November as the repo looked dormant then) if it cannot be solved until the next update check will drag in the v1.0.4 APK again, bringing us back to the current situation.

@IzzySoft IzzySoft changed the title wrong signing key and versionCode still not increased wrong signing key and versionCode issues Sep 1, 2023
@kl3jvi
Copy link
Owner

kl3jvi commented Sep 1, 2023

Hi @IzzySoft I lost the old certificate and needed to re upload the new app. I don't know where I can find that one

@IzzySoft
Copy link
Author

IzzySoft commented Sep 1, 2023

That's sad, I was afraid this might be the cause. Is there any way we can confirm it's really you (and not just someone claiming your identity)? Unfortunately, only few of your commits are signed (and the first signed commit was after the key change), so this option is lost.

@IzzySoft
Copy link
Author

IzzySoft commented Oct 2, 2023

@kl3jvi any answer to my question? I cannot add new releases before this issue is solved; for security reasons, at least a minimal verification is required.

@kl3jvi
Copy link
Owner

kl3jvi commented Oct 2, 2023

What verification?

@IzzySoft
Copy link
Author

IzzySoft commented Oct 2, 2023

How can we be sure it's really you – and not someone else having somehow gotten access to your repo and added a (modified) APK? For details, please see How to keep your key safe and what measures to take for the event of loss? Do we have any way to at least have minimal verification?

@kl3jvi
Copy link
Owner

kl3jvi commented Oct 2, 2023

Lol my releases are verified u can easily check them

@IzzySoft
Copy link
Author

IzzySoft commented Oct 2, 2023

Sorry, but I don't see any "verification" at releases, nor are the tags signed. Can you please explain?

@IzzySoft
Copy link
Author

IzzySoft commented Oct 2, 2023

And btw, @kl3jviversionCode has not been changed for 2 releases now (it's still 2 as it was back in 2021), so nobody'll receive any update information anyway.

@IzzySoft
Copy link
Author

IzzySoft commented Oct 3, 2023

So any chance we can get that tackled, @kl3jvi – or should I rather drop your app from my repo? If we cannot even achieve a basic verification, and you never change the versionCode, it makes not much sense to keep it there.

@kl3jvi
Copy link
Owner

kl3jvi commented Oct 3, 2023

I will have a look into it today, as I am a bit busy at work. @IzzySoft

@IzzySoft
Copy link
Author

IzzySoft commented Oct 3, 2023

Thanks a lot!

@IzzySoft
Copy link
Author

And luckily, any day is "today" – at a given point in time 🙈 So where do we stand?

@IzzySoft
Copy link
Author

IzzySoft commented Nov 1, 2023

OK, your app got "wiped" from the repo for the 3rd time now as the monthly update check replaced the existing versionCode:2 file with the latest release from here, dating August 8 and also claiming to be versionCode:2 – while having a different signature. It's bee 2 months now, and it's still not clear what changed the signature – and there's still no fix.

I won't take the time to reset this every month – especially when it seems that a fix won't happen. So I'll now de-configure it here. There won't be any update checks anymore, and the app is no longer shipped with my repo. If you want it listed there again, you can send me a ping here once you've solved the issue (i.e. fixed the versionCode with a new release, and resolved the signature question) – then we can see if your app can be re-established here.

Sorry for the inconvenience, but that's the only way I currently see. Still and honest, all the best for you and your project(s)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants