mirror of
https://github.com/androguard/androguard.git
synced 2024-11-22 20:50:03 +00:00
test files, tests.yml and logo with name
This commit is contained in:
parent
1da7c02c75
commit
0c0af30ca6
34
.github/workflows/tests.yml
vendored
Normal file
34
.github/workflows/tests.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: Run Tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install Poetry
|
||||
run: |
|
||||
pip install poetry
|
||||
poetry config virtualenvs.create false
|
||||
|
||||
- name: Install Dependencies
|
||||
run: poetry install
|
||||
|
||||
- name: Run unittest tests
|
||||
run: poetry run python -m unittest tests/test_apk.py tests/test_axml.py
|
||||
|
||||
- name: Build with Poetry
|
||||
run: |
|
||||
poetry build
|
BIN
assets/web/androguardwithname.jpg
Normal file
BIN
assets/web/androguardwithname.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 142 KiB |
BIN
tests/data/APK/AnalysisTest.dex
Normal file
BIN
tests/data/APK/AnalysisTest.dex
Normal file
Binary file not shown.
BIN
tests/data/APK/AndroidManifest_ShortName.apk
Normal file
BIN
tests/data/APK/AndroidManifest_ShortName.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/InterfaceCls.dex
Normal file
BIN
tests/data/APK/InterfaceCls.dex
Normal file
Binary file not shown.
BIN
tests/data/APK/Invalid.apk
Normal file
BIN
tests/data/APK/Invalid.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/OPCommonTelephony.jar
Normal file
BIN
tests/data/APK/OPCommonTelephony.jar
Normal file
Binary file not shown.
BIN
tests/data/APK/TC-debug.apk
Normal file
BIN
tests/data/APK/TC-debug.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/TCDiff-debug.apk
Normal file
BIN
tests/data/APK/TCDiff-debug.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/Test-debug-unaligned.apk
Normal file
BIN
tests/data/APK/Test-debug-unaligned.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/Test-debug.apk
Normal file
BIN
tests/data/APK/Test-debug.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/TestActivity.apk
Normal file
BIN
tests/data/APK/TestActivity.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/TestActivity_signed_both.apk
Normal file
BIN
tests/data/APK/TestActivity_signed_both.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/TestActivity_unsigned.apk
Normal file
BIN
tests/data/APK/TestActivity_unsigned.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/a2dp.Vol_137.apk
Normal file
BIN
tests/data/APK/a2dp.Vol_137.apk
Normal file
Binary file not shown.
3
tests/data/APK/apksig/README.md
Normal file
3
tests/data/APK/apksig/README.md
Normal file
@ -0,0 +1,3 @@
|
||||
these APKs are from: [google platform tools - apksig tests](https://android.googlesource.com/platform/tools/apksig/+/android-8.1.0_r14/src/test/resources/com/android/apksig)
|
||||
|
||||
They are used to test various things.
|
BIN
tests/data/APK/apksig/debuggable-boolean.apk
Normal file
BIN
tests/data/APK/apksig/debuggable-boolean.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/debuggable-resource.apk
Normal file
BIN
tests/data/APK/apksig/debuggable-resource.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/dsa-1024.pk8
Normal file
BIN
tests/data/APK/apksig/dsa-1024.pk8
Normal file
Binary file not shown.
17
tests/data/APK/apksig/dsa-1024.x509.pem
Normal file
17
tests/data/APK/apksig/dsa-1024.x509.pem
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIICsTCCAnGgAwIBAgIJAP6EmkoBF8UoMAkGByqGSM44BAMwEzERMA8GA1UEAwwI
|
||||
ZHNhLTEwMjQwHhcNMTYwMzMxMTUyNzEwWhcNNDMwODE3MTUyNzEwWjATMREwDwYD
|
||||
VQQDDAhkc2EtMTAyNDCCAbYwggErBgcqhkjOOAQBMIIBHgKBgQCTDpv8gS5Y+Ehl
|
||||
oln6WT/MYBnywrc3tWDfnlY+9MpVDdB2+kcB7WrhobW1L+6ayKmlkrTaAFjiMPDf
|
||||
bdyA6hy3fDu1teLCb89R0uodfZa3MDXXlmqvBk4Fdw8fYijWI/q175e4Y5sNYO9+
|
||||
QZg8bBIZnxxCdbKASJ6NAHc50ts3vwIVAIebRw3HnYOZbo6rPoBmcBOxcZTLAoGA
|
||||
ch+0D7JrbqmR1w5S3VBtTnONLiBYnaz1Ri3Pfiw5FHKfJcfFcQopIOLJwfdBmY4b
|
||||
FLGV5u7DXeJNp16Nvl4MrsmVjkWs9MZVAp5RqzrN9JhVi4ShpdelyFjdWOXHPbc7
|
||||
NNqQpTjdkK23r/tCE6XkvkCiWm7Rt22LMpZA4ePALIoDgYQAAoGAc8SkppDzSUPH
|
||||
SpKrhrldRyh5m4wSH14ZE96mlSze9tRoSDo8hsA9/vGLgoN7F+3jYSvj8m42tmNt
|
||||
jZJWk7vPkJHC/9qoEGbVBY+aTNYwVJyKDJ07vZB9bLxpjD/yyQlsn7/vZTOS657c
|
||||
W2S817RgGGyGcCNRoKNig6i0k9fzE8ajUDBOMB0GA1UdDgQWBBSPwzoIjftVH2ke
|
||||
EJXtLq+bB50lzDAfBgNVHSMEGDAWgBSPwzoIjftVH2keEJXtLq+bB50lzDAMBgNV
|
||||
HRMEBTADAQH/MAkGByqGSM44BAMDLwAwLAIUH1GQcpqx8/9p9QfhCRMvcxrECM4C
|
||||
FH8ZULK91BMaHodbRMUtdxB9kIbL
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/dsa-2048.pk8
Normal file
BIN
tests/data/APK/apksig/dsa-2048.pk8
Normal file
Binary file not shown.
26
tests/data/APK/apksig/dsa-2048.x509.pem
Normal file
26
tests/data/APK/apksig/dsa-2048.x509.pem
Normal file
@ -0,0 +1,26 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIEWzCCBAKgAwIBAgIJAK4uYtTAat4+MAkGByqGSM44BAMwEzERMA8GA1UEAwwI
|
||||
ZHNhLTIwNDgwHhcNMTYwMzMxMTgzMDAxWhcNNDMwODE3MTgzMDAxWjATMREwDwYD
|
||||
VQQDDAhkc2EtMjA0ODCCA0cwggI5BgcqhkjOOAQBMIICLAKCAQEAv2/yUkci8fnZ
|
||||
ppepy1kcOTIrbPJTW46Z2jKOWjHCTd1aqRFunz3gllpx/YDgjboNIYZf2jKhk2gi
|
||||
MgF+8OT0hEHQGXSofnqRoVljexA2nC3tPhVyjN14pQ7ZJXp/raHh1uCT5K7Lfafc
|
||||
8y5Cs180CdfisspANfCp10jFu1D2hKOLfggUA9efN05c0f2yOx/Pm9uEiz6ftLUJ
|
||||
UWgcJenx1WUk4Nb1qMOWgg9nKQyDiBxZKoVCH5/XJO0K225w6F4scol2hMdTRlA+
|
||||
9TGb5tvHKT+Y+lE7fBbcBSKzLT3pwD/T08ErpsIoHqRPamLGHeuamGzvXLHwI1UN
|
||||
cJNGg2nnCwIhAJz9K+Qpgg7sbqRMeRvIf2cuWRWbi4XnYR+IAGqgfYUZAoIBADks
|
||||
N3taHUnIvkcxTuEUiCSb+d1KMlvbZiH5zLVIyzi5kZNQW8L/gR23z8T6qngXXnFw
|
||||
tcTRcb0TDqR7iYPxsX3/x+jBjiApIgebqpnPdpiEAUfORZX7w6CpCNsp9Kqxb98z
|
||||
4PtKE9z/20Q3zKhqlwDm8uSjjT7E5xw/YpV8bg7YuQ5eQ8mkonipNXllf3qmDV48
|
||||
see/+QwIeBiL7jTjgeBv5ziL8BY2AYmfOwGKwmK9ERxJpIoxgS+5fFuA2oAQ8CwJ
|
||||
UDwwv5Wbz7NVkvljHK1Fh5u26ZHdeLT4qp4F0GamJcikq4MqFco6ToCvp8NoDNMZ
|
||||
MOno2k1IvsIwrIbrQJgDggEGAAKCAQEAuxbFbx2H4n4BqfbkC9tjn/Mg3zr4LZgG
|
||||
7v3FWpzpkbAcEcFCVIqTmJiRlsuf4ml/t9hflOvarfD6TesSc7gyGCJ/2QiqJcI+
|
||||
Vif5AKqZskQFlZ5BUMIMjPFMy1WtTVpEotmdbIOaQif4wQrz6SNFUOAXPBKRTY33
|
||||
HOLMoo8FRiZ1+uMu9PlUWYqMhSJg+rm2AQPt06D+JToXREaNkYjN0K97T2MTcUNh
|
||||
OWiliH/zFuF8N2s6IlNaCv1Yc4FoYEIRoS07dUxcjrV9KRd0TyU0q++rRPluytJP
|
||||
yAoyTIrfwa2SM5JR9RtdBZsPdR9Ckpy4ZKSJqDzTbCIU70zsGgHA4aNQME4wHQYD
|
||||
VR0OBBYEFL3koBjVHAySf8Xr196yqDT6VhwSMB8GA1UdIwQYMBaAFL3koBjVHAyS
|
||||
f8Xr196yqDT6VhwSMAwGA1UdEwQFMAMBAf8wCQYHKoZIzjgEAwNIADBFAiEAjowh
|
||||
laeXA/CUrHt6iH4u6edWGeZzyFGlpWsxssKTMBECIG2tZs/xnZVAtXioiIcH1CXT
|
||||
LN5AAzZ8wlNUKSvTc12j
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/dsa-3072.pk8
Normal file
BIN
tests/data/APK/apksig/dsa-3072.pk8
Normal file
Binary file not shown.
34
tests/data/APK/apksig/dsa-3072.x509.pem
Normal file
34
tests/data/APK/apksig/dsa-3072.x509.pem
Normal file
@ -0,0 +1,34 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIF3DCCBYKgAwIBAgIJAKmpH5wXPDbGMAkGByqGSM44BAMwEzERMA8GA1UEAwwI
|
||||
ZHNhLTMwNzIwHhcNMTYwMzMxMTgzMjU2WhcNNDMwODE3MTgzMjU2WjATMREwDwYD
|
||||
VQQDDAhkc2EtMzA3MjCCBMcwggM5BgcqhkjOOAQBMIIDLAKCAYEAscwotTL9jjwZ
|
||||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rN9+lICflsHKtAtchuUIiO
|
||||
b1AWPeaJwAynTn2EeDsVd0e8bm+h+g7ZSDAwUOKuA4IBhgACggGBAJfW6T1BxtZo
|
||||
EacqR2TwTi9B3O93Zcj0OzDOn9UMahepcfaF1B3wq9UdJ4PPIC1U27CaEXEJNxgJ
|
||||
cIURfFPDXA6pLVEqrGgRX2u0FR1pmHVIxjBpvPJvO954+Hawp+ClU6PKLmxuVZpA
|
||||
VeJBx7C8/DU/58J//iuG9B6/mwzPuEoPmnGYMsfVCcEX8yQ2PZXyNGp+KnUygyql
|
||||
mMxpE8UXtH6mHYontjiw4Afxqwop3v/bG8eT5FHhpXoQDSN/oeGghDaq9DyIjCqr
|
||||
GXZDBvEufLYRgOvnpV6T0oMa9U2W2Trz3HYD6eX09FOhGnMWl9euYrSVRihAKBh1
|
||||
72ystvPy2R4wdAA5EQf7EsDdgt/QOMf/AvkaKHMP7DNK5BZxwPQ0KwRkLB+0vaDI
|
||||
Mnpu29L6TiixMxI1ihnZbR/U0v8H+/SlSjZaPNRQeuoV9d8t81miUqVSMLcpqNui
|
||||
ZljSCtoGfktPAbPyFwGenBkGK5oo0I381KTECMynC0R2P9CQUHegeaNQME4wHQYD
|
||||
VR0OBBYEFPRqMyQLPdq0guTx3YKiVxtWN+bPMB8GA1UdIwQYMBaAFPRqMyQLPdq0
|
||||
guTx3YKiVxtWN+bPMAwGA1UdEwQFMAMBAf8wCQYHKoZIzjgEAwNJADBGAiEAjcit
|
||||
8dFR02elWKoeRAounP9TE2aqDqd5cJXqXn0ssMYCIQCIINjXEYRovfVjDotKelRg
|
||||
5k0lmzMmx6Xfz8EgZDLovw==
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/ec-p256.pk8
Normal file
BIN
tests/data/APK/apksig/ec-p256.pk8
Normal file
Binary file not shown.
10
tests/data/APK/apksig/ec-p256.x509.pem
Normal file
10
tests/data/APK/apksig/ec-p256.x509.pem
Normal file
@ -0,0 +1,10 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBbDCCARGgAwIBAgIJAMoPtk37ZudyMAoGCCqGSM49BAMCMBIxEDAOBgNVBAMM
|
||||
B2VjLXAyNTYwHhcNMTYwMzMxMTQ1ODA2WhcNNDMwODE3MTQ1ODA2WjASMRAwDgYD
|
||||
VQQDDAdlYy1wMjU2MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEpl8RPSLLSROQ
|
||||
gwesMe4roOkTi3hfrGU20U6izpDStL/hlLUM3I4Wn1SnOpke8Pp2MpglvgeMx4J0
|
||||
BwPaRLTX66NQME4wHQYDVR0OBBYEFNQTNWi5WzAVizIgceqMQ/9bBczIMB8GA1Ud
|
||||
IwQYMBaAFNQTNWi5WzAVizIgceqMQ/9bBczIMAwGA1UdEwQFMAMBAf8wCgYIKoZI
|
||||
zj0EAwIDSQAwRgIhAPUEoIZsrvAp9BcULFy3E1THn/zR1kBhjfyk8Z4W23jWAiEA
|
||||
+O6kgpeZwGytCMbT0tLsBeBXQVTnR+oP27gELLZVqt0=
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/ec-p384.pk8
Normal file
BIN
tests/data/APK/apksig/ec-p384.pk8
Normal file
Binary file not shown.
11
tests/data/APK/apksig/ec-p384.x509.pem
Normal file
11
tests/data/APK/apksig/ec-p384.x509.pem
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBqTCCAS6gAwIBAgIJAMRWS+CLIsxqMAoGCCqGSM49BAMDMBIxEDAOBgNVBAMM
|
||||
B2VjLXAzODQwHhcNMTYwMzMxMTUzMDU3WhcNNDMwODE3MTUzMDU3WjASMRAwDgYD
|
||||
VQQDDAdlYy1wMzg0MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE18hjdbk/HXGQNIuF
|
||||
xKPMAZO3PQnROO6izB/mHM1BKPpih2/51iMTFKn6KCU9NZt/Q4Z+PpZVLuawEWP/
|
||||
uoWwWIj+60vk25z47/Sr0icelSDGt9T9ujiNP6aTA5hc9gypo1AwTjAdBgNVHQ4E
|
||||
FgQU981MoejFjh0rbaGXODywOYvB32kwHwYDVR0jBBgwFoAU981MoejFjh0rbaGX
|
||||
ODywOYvB32kwDAYDVR0TBAUwAwEB/zAKBggqhkjOPQQDAwNpADBmAjEA/58rXa+F
|
||||
mB6JwB89/IAucpNlktjSPrH2tD63BSROvpUpXNy+p+OlJu4sCvY7HnwEAjEA0VWw
|
||||
QqUBFLQHFJx1JjMYYfT78V8ylY+Ns1lxrdvs29NNg45MA9uw/ZVMMHgTFNph
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/ec-p521.pk8
Normal file
BIN
tests/data/APK/apksig/ec-p521.pk8
Normal file
Binary file not shown.
13
tests/data/APK/apksig/ec-p521.x509.pem
Normal file
13
tests/data/APK/apksig/ec-p521.x509.pem
Normal file
@ -0,0 +1,13 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIB8zCCAVSgAwIBAgIJAOxXdFsvm3YiMAoGCCqGSM49BAMEMBIxEDAOBgNVBAMM
|
||||
B2VjLXA1MjEwHhcNMTYwMzMxMTUzMTIyWhcNNDMwODE3MTUzMTIyWjASMRAwDgYD
|
||||
VQQDDAdlYy1wNTIxMIGbMBAGByqGSM49AgEGBSuBBAAjA4GGAAQAYX95sSjPEQqg
|
||||
yLD04tNUyq9y/w8seblOpfqa/Amx6H4GFdrjGXX0YTfXKr9GhAyIyQSnNrIg0zDl
|
||||
WQUbBPRW4CYBLFOg1pUn1NBhKFD4NtO1KWvYtNOYDegFjRCPB0p+fEXDbq8QFDYv
|
||||
lh+NZUJ16+ih8XNIf1C29xuLEqN6oKOnAvajUDBOMB0GA1UdDgQWBBT/Ra3kz60g
|
||||
Q7tYk3byZckcLabt8TAfBgNVHSMEGDAWgBT/Ra3kz60gQ7tYk3byZckcLabt8TAM
|
||||
BgNVHRMEBTADAQH/MAoGCCqGSM49BAMEA4GMADCBiAJCAP39hYLsWk2H84oEw+HJ
|
||||
qGGjexhqeD3vSO1mWhopripE/81oy3yV10puYoJe11xDSfcDj2VfNCHazuXO3kSx
|
||||
GA/1AkIBLUJxp/WYbYzhBGKr6lcxczKI/wuMfkZ6vL+0EMJVA/2uEoeqvnl7Bsdk
|
||||
icyaOBNEADijuVdaPPIWzKClt9OaVxE=
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/empty-unsigned.apk
Normal file
BIN
tests/data/APK/apksig/empty-unsigned.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-in.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-in.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v1-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v1-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v1v2-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v1v2-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v1v2v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v1v2v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v1v2v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v1v2v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v2-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v2-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v2v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v2v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v2v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v2v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-aligned-v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-aligned-v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-in.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-in.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v1-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v1-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v1v2-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v1v2-out.apk
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v1v2v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v1v2v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v2-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v2-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v2v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v2v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v2v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v2v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-legacy-aligned-v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-legacy-aligned-v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-rsa-minSdkVersion-1-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-rsa-minSdkVersion-1-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-rsa-minSdkVersion-18-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-rsa-minSdkVersion-18-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-rsa-minSdkVersion-24-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-rsa-minSdkVersion-24-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-rsa-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-rsa-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-in.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-in.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v1-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v1-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v1v2-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v1v2-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v1v2v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v1v2v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v1v2v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v1v2v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v2-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v2-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v2v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v2v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v2v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v2v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v3-lineage-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v3-lineage-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/golden-unaligned-v3-out.apk
Normal file
BIN
tests/data/APK/apksig/golden-unaligned-v3-out.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/mismatched-compression-method.apk
Normal file
BIN
tests/data/APK/apksig/mismatched-compression-method.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/original.apk
Normal file
BIN
tests/data/APK/apksig/original.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/rsa-1024.pk8
Normal file
BIN
tests/data/APK/apksig/rsa-1024.pk8
Normal file
Binary file not shown.
13
tests/data/APK/apksig/rsa-1024.x509.pem
Normal file
13
tests/data/APK/apksig/rsa-1024.x509.pem
Normal file
@ -0,0 +1,13 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIB9DCCAV2gAwIBAgIJAP0KtYjhFu3IMA0GCSqGSIb3DQEBCwUAMBMxETAPBgNV
|
||||
BAMMCHJzYS0xMDI0MB4XDTE2MDMzMTE2MTQ0M1oXDTQzMDgxNzE2MTQ0M1owEzER
|
||||
MA8GA1UEAwwIcnNhLTEwMjQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAOOP
|
||||
r4Y+uCAihcVjey8JmdjyfhZXplVf3HnOQfvWcY97nKnJ7L977QiWajIn7iZRAdVX
|
||||
PamVrEbaU6uklgcJFG/qirtscOf6fMBf6GaP2PAhQG89MQnUt9rAjxUAakzWOBTz
|
||||
bH0gHRDEGQ30LCA1oSlbLldHz+zBKSC7nsSKYp+9AgMBAAGjUDBOMB0GA1UdDgQW
|
||||
BBT1x0TcWRB4i9JnU5pvRtrEv+95OTAfBgNVHSMEGDAWgBT1x0TcWRB4i9JnU5pv
|
||||
RtrEv+95OTAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4GBAKs024CvDYFv
|
||||
rj3GTXM8A9Jslg/86WukzEl/+PXDjbPljNV24RSsFVW5gO0ps6Q/EBkbllJP7xNO
|
||||
XmOUDyqUcvcwC1zzySqs8kJcF5GCuRXajy4KiEiA5VRmVUSShhnkYX7g1yXkhWrP
|
||||
Ps1fQArqHx84+naFSh9kVqu54QIykS7z
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/rsa-16384.pk8
Normal file
BIN
tests/data/APK/apksig/rsa-16384.pk8
Normal file
Binary file not shown.
93
tests/data/APK/apksig/rsa-16384.x509.pem
Normal file
93
tests/data/APK/apksig/rsa-16384.x509.pem
Normal file
@ -0,0 +1,93 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIQ+zCCCOOgAwIBAgIJAOd3bpikuRKvMA0GCSqGSIb3DQEBDQUAMBQxEjAQBgNV
|
||||
BAMMCXJzYS0xNjM4NDAeFw0xNjA0MDQxOTM0MzFaFw00MzA4MjExOTM0MzFaMBQx
|
||||
EjAQBgNVBAMMCXJzYS0xNjM4NDCCCCIwDQYJKoZIhvcNAQEBBQADgggPADCCCAoC
|
||||
gggBALDYs7aIK08pNr9fdrpLmUVfSc+3n/RNU2e7o3fzwQf2IMExk/ZmxF/ORgAd
|
||||
pXPEkn7uOLYSp+fJHUgqsca+8HsxTN1ypKov0X3OeFbnBLXmsoXgjRzaMEgluupd
|
||||
B81xnAKE/Vb+HYaEJ4YP+3UgBLIItnwLtL6vdh+e4qQGF9KEAv+T+PdrNQF0EGWK
|
||||
weCaOuMKRKfSnNXMkgIgWgoEefsBXNOR/jRJVFxsnJlwsB2iw0FbKjrxnlmw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vHdbBcafYyevLptbF5xiiiUA0P3fq61AfmNiCzJWb+kaO11
|
||||
oHHQNWyG/fO49u3bZJkhvlsk8GXAp9uTqdW7YAqxjy8NohFewmtpTJPE62XKIqiq
|
||||
+dqo4nUT761iaUBxgyj1v5jKcXT2JiEMnEe4AN7pZJ01pCNXQrXl+6ru4TVV3tpy
|
||||
OsDJ9UfZo8xZXEAJ/gvSyiih0xq6xhwGuUyExC3GldBz2frveWImxVEiqQIdHULH
|
||||
WwB6eAm9T1f+2hOGq7AB9Jb8CRyQniJWXtWu9uJBt+XwSt5lN6VUjeLt95SitvjO
|
||||
llqs0zhvTf52H8siwaO83Cui78iamqv7jVatB3JYW71S5cOyZ/x5Z5FYqKi8/wjO
|
||||
L4OyUs54kfcJllsxAmS014UgcTrJpbMNw7jSzLX6FxT4MEbyARK8wWQfEZQ2tCeo
|
||||
IOzfcYvlY05mG0KSzs6ZGBrWRZQDPcbJ0CKNSLTFbQ==
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/rsa-2048.pk8
Normal file
BIN
tests/data/APK/apksig/rsa-2048.pk8
Normal file
Binary file not shown.
18
tests/data/APK/apksig/rsa-2048.x509.pem
Normal file
18
tests/data/APK/apksig/rsa-2048.x509.pem
Normal file
@ -0,0 +1,18 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIC+TCCAeGgAwIBAgIJAI41MGzdARX3MA0GCSqGSIb3DQEBCwUAMBMxETAPBgNV
|
||||
BAMMCHJzYS0yMDQ4MB4XDTE2MDMzMTE0NTc0OVoXDTQzMDgxNzE0NTc0OVowEzER
|
||||
MA8GA1UEAwwIcnNhLTIwNDgwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
|
||||
AQDQ4JI1EJ239V4wss0jpVlZMudh2/kARCVdoBgsRQuvc2RNnO23Eyynlt9UN+Dc
|
||||
NRdQIhbCpVTjdEl/bePECHlqg9NE3frAj5GebiUdWL6A/idKsZA1nAKyIgxxjcnu
|
||||
+38OcrlO6XOm36euxGfd/ULrghZGXzMVFq4uLiIv3DqFkUcIlE0BvUiUoNwpopV4
|
||||
MKj1GQgoaEObJG5xkMBKO6vg36VfJ3s3V3r48uJxYGhhBZEB0EpoXLd4i0piAB8S
|
||||
MLb0Ek6wA/HZ8A2rdnStk1wl/83OM1jO0uB3hyfJpqIijlvNGnrloYyyOIqS0LGH
|
||||
nxSJD7goASH2Ef0h4yxbsOvHAgMBAAGjUDBOMB0GA1UdDgQWBBQXAi1zEH84mzkS
|
||||
62ohswGGWSwdbzAfBgNVHSMEGDAWgBQXAi1zEH84mzkS62ohswGGWSwdbzAMBgNV
|
||||
HRMEBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAB92T5toLkF6dLl65/boH5Qvub
|
||||
5wfIk0AD12T3t3kYWQFOH0YDCHNL3SfmrjYM/CwNJAd1KuCL5AZcn0km/n0SFXt5
|
||||
8Ps/MBcb0eK1fYezeEehKUyt5IBgDTKeQOel6So8rGuQRrDf/WV8rt6fugkIODFx
|
||||
sB3oj4ESaGXbvmvWD6q4a3koq/nV26kALchnAr7/FTNq3HEIQ1BDr9pldVh1gEV/
|
||||
ohHKcQP4M22Es7lredzpIcb5K6Ko/UtwsSRtHnoOjwmb+L/FsgAJsekmcJG5TK1X
|
||||
ciIsrrNFDCYzf/d9O1PD/V95kB7460qMzrGWZpc3mLe+OnmVMq6c4omOtIKl
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/rsa-3072.pk8
Normal file
BIN
tests/data/APK/apksig/rsa-3072.pk8
Normal file
Binary file not shown.
24
tests/data/APK/apksig/rsa-3072.x509.pem
Normal file
24
tests/data/APK/apksig/rsa-3072.x509.pem
Normal file
@ -0,0 +1,24 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIID+TCCAmGgAwIBAgIJAN8aZ+YVywdhMA0GCSqGSIb3DQEBCwUAMBMxETAPBgNV
|
||||
BAMMCHJzYS0zMDcyMB4XDTE2MDMzMT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LHvYdNQFDrJ20I8WNsG8RwklfAWNwZ
|
||||
IJ5fQxwHiCKxvdaTt2NYUSm4R4kEQCgklrgnaEy2kzDVKp4GjQwVrsa1btK+Srrd
|
||||
gtIqB+azx3XziuLi129qJGeZsof8ylN5eYmw0r57d6OPB/xj3roBsB77t4d5jEhl
|
||||
Y0BZ93t2HWvXJmuolf1JcauDOcGhxxgdiWdcOWeSABH3cNUiilRfs8HRwSzZwB5E
|
||||
RyjvKBdGirUAbLgri+8t9165gaz3wVhP4xkcD4e6LoupWHarAMKunMVGVbCOj7mj
|
||||
AUPHJ3Z+HhUKiI/q9g==
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/rsa-4096.pk8
Normal file
BIN
tests/data/APK/apksig/rsa-4096.pk8
Normal file
Binary file not shown.
29
tests/data/APK/apksig/rsa-4096.x509.pem
Normal file
29
tests/data/APK/apksig/rsa-4096.x509.pem
Normal file
@ -0,0 +1,29 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIE+TCCAuGgAwIBAgIJAIhxrQmG+dcZMA0GCSqGSIb3DQEBCwUAMBMxETAPBgNV
|
||||
BAMMCHJzYS00MDk2MB4XDTE2MDMzMTE1Mjg0NloXDTQzMDgxNzE1Mjg0NlowEzER
|
||||
MA8GA1UEAwwIcnNhLTQwOTYwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoIC
|
||||
AQDTPhE7i4Bv3BQG1ifMPZfTGA1ZvE+mQWOgQ1q/3AQz23I8pIaoj1wFbYDvnTYG
|
||||
UCDnlJqKvwL4mrAnxvqTxm+0g/WFOoBKFoNY5OhgcDfomNEFQajY9bgXaNiwEYDU
|
||||
0X+q+2KAnr35MF7vdEaHcN8gFh15wObVXmlerMIOWejnwrM4MOXjGjNXtiB+Dg04
|
||||
Fb9eHufZ+s1dKNAojD08mUJkxTC1gjmBKPr8hOAPo9ay5NZk6mGaI1E0U5NbIpDe
|
||||
0EhYxRXkDjP7f6BzbhFEupCOzZ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ZxOh1Wa9Nedhy0SUXAR8
|
||||
nY2GHJEN6QmR1ZAoyABHuPqk1IjduDONo0usGk/iYIFMgfwitc5Tv4gdjjBLburF
|
||||
NRU3QkoT1twPueb4Xnvmb/yHmTmqm7MM4OlkmTSpYRci8C1JNChdqIjNSF36Flnm
|
||||
DEMqP6petbkZcORD7UtgoB+DCPyBWybtm/GDOW2v3CWo94Q5A1yRDpqyQOTIJChe
|
||||
sssLUtp3bfmTSFFMfmsovynUlFpsazeFKjQOkYQ=
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/rsa-8192.pk8
Normal file
BIN
tests/data/APK/apksig/rsa-8192.pk8
Normal file
Binary file not shown.
50
tests/data/APK/apksig/rsa-8192.x509.pem
Normal file
50
tests/data/APK/apksig/rsa-8192.x509.pem
Normal file
@ -0,0 +1,50 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIII+TCCBOGgAwIBAgIJAMMCN6DTJaAOMA0GCSqGSIb3DQEBDQUAMBMxETAPBgNV
|
||||
BAMMCHJzYS04MTkyMB4XDTE2MDQwNDE5MzI0NloXDTQzMDgyMTE5MzI0NlowEzER
|
||||
MA8GA1UEAwwIcnNhLTgxOTIwggQiMA0GCSqGSIb3DQEBAQUAA4IEDwAwggQKAoIE
|
||||
AQCt2gaOPSTn1A/WkapaytoE2RGF5nBzlfLocagG+0Bgz0RH3QQq0xBEmQivmbj4
|
||||
egyKFQQ9dYrefXRnayLQvHpfeT31QXR3iKOfMnvtxK9UnkXo9S/T+czyj91Ox51w
|
||||
HFUyMlXjFs8btxi6Lpkrgl3jmL+e4/WI8khvTrdszrO8rBHBYlD8Y7SAvPcVczYq
|
||||
nn4m6Jd0/abR5slHiyGtkTREoHmW/u4r4PfTzanLyzcsWH9/td+sYHcu1Y0XTWTR
|
||||
x2qrUmpD+7X5cvXP9rsECU82dtnyPZPIHBqzfLJ8oGELsJxgVZ0u9gW0tlmJQdVo
|
||||
Q0QPJSWivnNxPl1czJYbXimbY3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2s9p2/8X14ir5suK
|
||||
R0rqm3BZewDaQVNtrZCm/sch1I0cN4GomvxZ+2xD43vsZm8QEB2fyTvazg6kW2O9
|
||||
G0coUmszwI63f7fVx+wzZZxS24N17lIO36hjBq12SKDz9C3cIOZpPYdcaNxDyiwq
|
||||
+RojbgUnosJji+xZtyK5Bf1kNB+jNoNT5OrWCXCR62Z5CQ+fAdlz4NPdibYnwscF
|
||||
SD8OA2I7UIT42KAuDBEMKVXe4SlhqLzOdqXwZ7h/ZxyUlY+zpwLO9vfLVpqZiavl
|
||||
bx+RO7lkvxPGEtM4mjXt5dNx2rgML/lXSE63qaqspYLJ806A3GE0918/b+ZDfvzG
|
||||
HLbeqIVtAlXwOGFLdifLvsgFybQ5yriR/yTlHXN/T8K+Q6wPo3uNkKNgUDq0FmzF
|
||||
N9UDQ+VFAdwaGPfBox3okGPoD6/HdiokuwZm4mlioHjZc513qhDapS3fJcXV6tu9
|
||||
OhIPBJ5NXVw3IVXwB+eskd2W5y8QlHZKBNTwzc/PBqL93QA2PxOFispDtevAuyTq
|
||||
OhRConYsMhoLf/9NqhEsyKVhwtYhYrUh0Q+hCiAg+YpjKuE2YJoUNMVyF3dY
|
||||
-----END CERTIFICATE-----
|
BIN
tests/data/APK/apksig/targetSandboxVersion-2.apk
Normal file
BIN
tests/data/APK/apksig/targetSandboxVersion-2.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/two-signers-second-signer-v2-broken.apk
Normal file
BIN
tests/data/APK/apksig/two-signers-second-signer-v2-broken.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/two-signers.apk
Normal file
BIN
tests/data/APK/apksig/two-signers.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/unsigned-targetSandboxVersion-2.apk
Normal file
BIN
tests/data/APK/apksig/unsigned-targetSandboxVersion-2.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/v1-only-empty.apk
Normal file
BIN
tests/data/APK/apksig/v1-only-empty.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/v1-only-max-sized-eocd-comment.apk
Normal file
BIN
tests/data/APK/apksig/v1-only-max-sized-eocd-comment.apk
Normal file
Binary file not shown.
Binary file not shown.
BIN
tests/data/APK/apksig/v1-only-targetSandboxVersion-2.apk
Normal file
BIN
tests/data/APK/apksig/v1-only-targetSandboxVersion-2.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/v1-only-two-signers.apk
Normal file
BIN
tests/data/APK/apksig/v1-only-two-signers.apk
Normal file
Binary file not shown.
BIN
tests/data/APK/apksig/v1-only-with-cr-in-entry-name.apk
Normal file
BIN
tests/data/APK/apksig/v1-only-with-cr-in-entry-name.apk
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user