{"action":"created","issue":{"url":"https://api.github.com/repos/yeriomin/YalpStore/issues/541","repository_url":"https://api.github.com/repos/yeriomin/YalpStore","labels_url":"https://api.github.com/repos/yeriomin/YalpStore/issues/541/labels{/name}","comments_url":"https://api.github.com/repos/yeriomin/YalpStore/issues/541/comments","events_url":"https://api.github.com/repos/yeriomin/YalpStore/issues/541/events","html_url":"https://github.com/yeriomin/YalpStore/issues/541","id":369413437,"node_id":"MDU6SXNzdWUzNjk0MTM0Mzc=","number":541,"title":"Update fails due to wrong signature","user":{"login":"tobiasKaminsky","id":5836855,"node_id":"MDQ6VXNlcjU4MzY4NTU=","avatar_url":"https://avatars3.githubusercontent.com/u/5836855?v=4","gravatar_id":"","url":"https://api.github.com/users/tobiasKaminsky","html_url":"https://github.com/tobiasKaminsky","followers_url":"https://api.github.com/users/tobiasKaminsky/followers","following_url":"https://api.github.com/users/tobiasKaminsky/following{/other_user}","gists_url":"https://api.github.com/users/tobiasKaminsky/gists{/gist_id}","starred_url":"https://api.github.com/users/tobiasKaminsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobiasKaminsky/subscriptions","organizations_url":"https://api.github.com/users/tobiasKaminsky/orgs","repos_url":"https://api.github.com/users/tobiasKaminsky/repos","events_url":"https://api.github.com/users/tobiasKaminsky/events{/privacy}","received_events_url":"https://api.github.com/users/tobiasKaminsky/received_events","type":"User","site_admin":false},"labels":[{"id":498748257,"node_id":"MDU6TGFiZWw0OTg3NDgyNTc=","url":"https://api.github.com/repos/yeriomin/YalpStore/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T06:15:45Z","updated_at":"2018-10-14T23:54:54Z","closed_at":"2018-10-14T23:54:54Z","author_association":"NONE","body":"First of all thank you very much for your great app. \r\nIt is a must have if one does not want to use google apps directly!\r\n\r\n**Before creating an issue**\r\n1. Make sure you are running the latest version of Yalp Store. Check [here](https://github.com/yeriomin/YalpStore/releases/latest).\r\n2. Search for similar issues [here](https://github.com/yeriomin/YalpStore/issues?q=is%3Aissue).\r\n3. Send developer a bug report using Yalp's built-in crash tool. Please identify yourself - the reports are anonymous by default.\r\n4. Number 3 is important. Please do it. It helps a lot.\r\n5. Use the following template to write the text of your issue.\r\n\r\n**Expected behavior**\r\nupdate should work without problem\r\n\r\n**Actual behavior**\r\nerror message: (roughly translated from german: the new version has a different signing key. you have to remove the old version to install the new one.)\r\n\r\n**Steps to reproduce**\r\n1. have booking.com installed in 16.0.\r\n2. see update to 16.1.1\r\n3. click on install an see above error\r\n\r\nSo I did \r\n- download the currently installed booking.com app from phone /data/app/com.booking[…]/base.apk\r\n- downloaded 16.0 version from apkmirror\r\n- downloaded 16.1.1 from apkmirror\r\n- ran a apksigner verifiy --print-certs on all three\r\n``` \r\nbase.apk\r\nSigner #1 certificate DN: O=Booking\r\nSigner #1 certificate SHA-256 digest: 6ac8c8a9e6f36e14e52a0a0515a36b7066e720a1b0c8a1b059e0781750a87199\r\nSigner #1 certificate SHA-1 digest: 9c9fbe258a146be83a4a0f1cb64be96a13790324\r\nSigner #1 certificate MD5 digest: e3641de5ae76e3c7a97efcecefe2fe01\r\ncom.booking_16.0-8666_minAPI19(arm64-v8a,armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi)_apkmirror.com.apk\r\nSigner #1 certificate DN: O=Booking\r\nSigner #1 certificate SHA-256 digest: 6ac8c8a9e6f36e14e52a0a0515a36b7066e720a1b0c8a1b059e0781750a87199\r\nSigner #1 certificate SHA-1 digest: 9c9fbe258a146be83a4a0f1cb64be96a13790324\r\nSigner #1 certificate MD5 digest: e3641de5ae76e3c7a97efcecefe2fe01\r\ncom.booking_16.1.1-8952_minAPI19(arm64-v8a,armeabi,armeabi-v7a,mips,mips64,x86,x86_64)(nodpi)_apkmirror.com.apk\r\nSigner #1 certificate DN: O=Booking\r\nSigner #1 certificate SHA-256 digest: 6ac8c8a9e6f36e14e52a0a0515a36b7066e720a1b0c8a1b059e0781750a87199\r\nSigner #1 certificate SHA-1 digest: 9c9fbe258a146be83a4a0f1cb64be96a13790324\r\nSigner #1 certificate MD5 digest: e3641de5ae76e3c7a97efcecefe2fe01\r\n```\r\n\r\nAs you can see, all three have the same signature.\r\n\r\nOn logcat, I do get this\r\n```\r\n2018-10-12 08:12:22.849 28989-29236/com.github.yeriomin.yalpstore W/PackageParser: Failed to parse /storage/emulated/0/Download/com.booking.8952.apk\r\n    java.io.FileNotFoundException: AndroidManifest.xml\r\n        at android.content.res.AssetManager.openXmlAssetNative(Native Method)\r\n        at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:560)\r\n        at android.content.res.AssetManager.openXmlResourceParser(AssetManager.java:528)\r\n        at android.content.pm.PackageParser.parseApkLite(PackageParser.java:1773)\r\n        at android.content.pm.PackageParser.parseMonolithicPackageLite(PackageParser.java:906)\r\n        at android.content.pm.PackageParser.parseMonolithicPackage(PackageParser.java:1294)\r\n        at android.content.pm.PackageManager.getPackageArchiveInfo(PackageManager.java:4693)\r\n        at com.github.yeriomin.yalpstore.InstallerAbstract.verify(InstallerAbstract.java:7061)\r\n        at com.github.yeriomin.yalpstore.InstallerBackground.verify(InstallerBackground.java:38)\r\n        at com.github.yeriomin.yalpstore.InstallerPrivileged.verify(InstallerPrivileged.java:93)\r\n        at com.github.yeriomin.yalpstore.InstallerAbstract.verifyAndInstall(InstallerAbstract.java:91)\r\n        at com.github.yeriomin.yalpstore.task.InstallTask.doInBackground(InstallTask.java:1045)\r\n        at android.os.AsyncTask$2.call(AsyncTask.java:333)\r\n        at java.util.concurrent.FutureTask.run(FutureTask.java:266)\r\n        at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)\r\n        at java.lang.Thread.run(Thread.java:764)\r\n2018-10-12 08:12:22.852 28989-29236/com.github.yeriomin.yalpstore W/InstallerPrivilegedSession: Signature mismatch for com.booking\r\n2018-10-12 08:12:22.871 28989-28989/com.github.yeriomin.yalpstore I/GlobalInstallReceiver: Finished installation (ACTION_PACKAGE_INSTALLATION_FAILED) of com.booking\r\n```\r\n\r\nPlease let me know, if I can help you debugging this.\r\n\r\n**Your setup**\r\nOneplus 3, lineagoOs, 0.43 \r\n"},"comment":{"url":"https://api.github.com/repos/yeriomin/YalpStore/issues/comments/429674185","html_url":"https://github.com/yeriomin/YalpStore/issues/541#issuecomment-429674185","issue_url":"https://api.github.com/repos/yeriomin/YalpStore/issues/541","id":429674185,"node_id":"MDEyOklzc3VlQ29tbWVudDQyOTY3NDE4NQ==","user":{"login":"yeriomin","id":554737,"node_id":"MDQ6VXNlcjU1NDczNw==","avatar_url":"https://avatars2.githubusercontent.com/u/554737?v=4","gravatar_id":"","url":"https://api.github.com/users/yeriomin","html_url":"https://github.com/yeriomin","followers_url":"https://api.github.com/users/yeriomin/followers","following_url":"https://api.github.com/users/yeriomin/following{/other_user}","gists_url":"https://api.github.com/users/yeriomin/gists{/gist_id}","starred_url":"https://api.github.com/users/yeriomin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeriomin/subscriptions","organizations_url":"https://api.github.com/users/yeriomin/orgs","repos_url":"https://api.github.com/users/yeriomin/repos","events_url":"https://api.github.com/users/yeriomin/events{/privacy}","received_events_url":"https://api.github.com/users/yeriomin/received_events","type":"User","site_admin":false},"created_at":"2018-10-14T23:54:54Z","updated_at":"2018-10-14T23:54:54Z","author_association":"OWNER","body":"I reproduced it with 0.43, but at the time you wrote the issue it was already fixed in master. So please try version 0.44."}}
{"actor":{"display_login":"yeriomin"}}