Comments (8)
META-INF is only created/verified for APK signature v1 and v2. https://source.android.com/docs/security/features/apksigning/v2
v3 and above don't use META-INF anymore https://source.android.com/docs/security/features/apksigning/v3. We verify all signatures with the correct respective methods.
from apkmirror-public.
from apkmirror-public.
BTW, how are Certs read from V3? The following gives me an error:
$ apksigner verify --print-certs -v com.google.android.apps.walletnfcrel_24.8.612478558-931177943_minAPI24(arm64-v8a)(nodpi)_apkmirror.com\ (1).apk
DOES NOT VERIFY
ERROR: APK Signature Scheme v3 signers supported min/max SDK versions do not cover the entire desired range. Found min: 24 max 32
WARNING: APK Signature Scheme v3 signer #1: Unknown additional attribute: ID 0x559f8b02
from apkmirror-public.
I believe you may need to pass some min or max or both params to the apksigner call for it to work properly in some cases, like this one.
from apkmirror-public.
from apkmirror-public.
I'm still having no luck.
apksigner verify --min-sdk-version 1 --max-sdk-version 32 --print-certs com.google.android.apps.walletnfcrel_2
4.10.616896757-931225767_minAPI24(arm64-v8a)(nodpi)_apkmirror.com.apk
DOES NOT VERIFY
ERROR: Missing META-INF/MANIFEST.MF
WARNING: APK Signature Scheme v3 signer #1: Unknown additional attribute: ID 0x559f8b02
edit: i will check --max-sdk-version 34, maybe i don't have it
from apkmirror-public.
i used the latest apksigner from SDK 34, but it's sitll not seeing the certificate:
/tmp/apk/build-tools/34.0.0$ ./apksigner verify --min-sdk-version 1 --max-sdk-version 34 --print-certs /tmp/apk/com.google.android.apps.walletnfcrel_24.10.616896757-931225767_minAPI24(arm64-v8a)(nodpi)_apkmirror.com.apk
DOES NOT VERIFY
ERROR: Missing META-INF/MANIFEST.MF
from apkmirror-public.
This worked:
./apksigner verify --min-sdk-version 34 --max-sdk-version 34 --print-certs /tmp/apk/com.google.android.apps.walletnfcrel_24.10.616896757-931225767_minAPI24(arm64-v8a)(nodpi)_apkmirror.com.apk
Signer (minSdkVersion=33, maxSdkVersion=2147483647) certificate DN: CN=Android, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Signer (minSdkVersion=33, maxSdkVersion=2147483647) certificate SHA-256 digest: 77bd897c29730203a548d591a0783e08626c2a54bc22c80ea47ed8863697380c
Signer (minSdkVersion=33, maxSdkVersion=2147483647) certificate SHA-1 digest: 4fec384b04037b94491dd1841e55272d728262ac
Signer (minSdkVersion=33, maxSdkVersion=2147483647) certificate MD5 digest: 755070c484fc2235808dd411f4c762c9
Signer (minSdkVersion=24, maxSdkVersion=32) certificate DN: CN=Google NFC, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Signer (minSdkVersion=24, maxSdkVersion=32) certificate SHA-256 digest: 1d47e51f53eb11c38b699400f518bdb6d6d27a1d61cc51e2a69ea828c3a2dbe8
Signer (minSdkVersion=24, maxSdkVersion=32) certificate SHA-1 digest: 82759e2db43f9ccbafce313bc674f35748fabd7a
Signer (minSdkVersion=24, maxSdkVersion=32) certificate MD5 digest: c9e97121255de0156f3f5b24b1a8476a
Source Stamp Signer certificate DN: CN=Android, OU=Android, O=Google Inc., L=Mountain View, ST=California, C=US
Source Stamp Signer certificate SHA-256 digest: 3257d599a49d2c961a471ca9843f59d341a405884583fc087df4237b733bbd6d
Source Stamp Signer certificate SHA-1 digest: b1af3a0bf998aeede1a8716a539e5a59da1d86d6
Source Stamp Signer certificate MD5 digest: 577b8a9fbc7e308321aec6411169d2fb
from apkmirror-public.
Related Issues (20)
- Main components for Android 11 HOT 1
- Disqus Comment Section Not Working HOT 4
- Paid subscription but no more download allowed HOT 5
- GCam - BSG's Google Camera port feed not updating HOT 5
- Google Services Framework HOT 4
- [Feature Request] APKMirror Installer - Export APK file without installing HOT 1
- Why??? HOT 3
- Google Services Framework 5.0 missing HOT 2
- App misbehaviour HOT 1
- Problems with showing information about Mi Wi-Fi app HOT 1
- Why are ads allowed with fake Download buttons
- Wrong icon by apkmirror. Iceraven browser doesn't has this icon. This (ugly) icon is of Firefox browsers only. HOT 3
- Question Xiaomi HOT 2
- The text: Remove Dark mode ads and more from above other texts. HOT 2
- Note for Xiaomi Users with MIUI Optimization enabled
- F1 tv pro HOT 1
- Buttons can't be selected with tv remote on bbc iplayer newest version downloaded to GoogleTV HOT 1
- Anúncios ficam de cima das opções de download HOT 1
- RSS feeds not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apkmirror-public.