1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-10 17:30:11 +01:00
fdroidserver/tests
Hans-Christoph Steiner fc4a9c96a5 test APK signatures with a cert chain are parsed like apksigner
Microsoft and SanDisk sign APKs with a X.509 certificate chain of
trust, so there are actually three certificates included. apksigner
only cares about one certificate and ignores the other certificates in
the chain.

The correct values come from:

    apksigner verify --print-certs 883cbdae7aeb2e4b122e8ee8d89966c7062d0d49107a130235fa220a5b994a79.apk

X.509 certificates are machine generated and just data, so are not
copyrightable.  So I included SANAPPSI.* directly.
2024-05-07 16:22:59 +02:00
..
build/info.guardianproject.urzip metadata: test to check that metadata/*.yml overrides .fdroid.yml 2023-05-11 10:37:45 +02:00
build-tools Added test aapt output files for build-tools 28.0.3 2019-01-13 19:27:02 +01:00
builder build: read VM CPUs/RAM from builder/Vagrantfile 2022-11-15 08:57:41 +01:00
config add 'non-changeable' to NonFreeNet description 2024-02-21 17:13:58 +01:00
extra disable pylint no-member on tests/extra/manual-vmtools-test.py 2023-03-20 17:38:10 +01:00
get_android_tools_versions common.get_android_tools_versions() for modern NDK dir layout 2023-04-11 13:54:17 +02:00
gnupghome gpg-sign all valid files in the repo, including source tarballs 2016-11-07 14:53:01 +01:00
metadata category with no apps should be ignored, even if defined in config 2023-09-08 10:45:53 +02:00
metadata-rewrite-yml metadata: set mapping indentation to 2 2023-09-08 08:18:27 +00:00
repo add 'non-changeable' to NonFreeNet description 2024-02-21 17:13:58 +01:00
signindex Support ETag when downloading repository index 2017-05-02 15:37:02 -03:00
source-files scanner: also scan classpath 2022-08-24 21:34:55 +02:00
stats signindex: add JSON check for entry.json 2023-02-17 14:34:53 +00:00
triple-t-2 update: parse Triple-T v2.x layout 2019-10-04 14:11:40 +02:00
triple-t-anysoftkeyboard install openjdk 11 from bullseye repo instead in the test cases 2024-03-14 13:14:41 +01:00
triple-t-flutter Add test case for Triple-T metadata in a Flutter project 2022-03-07 12:40:37 +01:00
triple-t-multiple update test_insert_triple_t_multiple_metadata() test data 2021-08-03 20:53:56 +02:00
valid-package-names move all test metadata files to .yml format 2020-06-10 09:56:31 +02:00
aosp_testkey_debug.keystore nightly: support OpenSSL 3.0 with Paramiko 2022-11-16 14:40:08 +01:00
api.TestCase download_repo_index_v2() for verified downloading of index-v2 2023-03-09 12:35:29 +01:00
apk.embedded_1.apk Add apk.embedded_1.apk test 2022-05-03 14:59:52 +00:00
bad-unicode-πÇÇ现代通用字-български-عربي1.apk rename test files to work round filename length limits 2017-11-27 16:57:30 +01:00
build.TestCase single function to tame androguard's verbose default output 2024-04-25 12:39:12 +02:00
check-fdroid-apk use standard User-Agent in check-fdroid-apk 2018-01-26 10:18:41 +01:00
checkupdates.TestCase Remove path workarounds for old python versions 2023-02-15 19:25:48 +00:00
com.fake.IpaApp_1000000000001.ipa 🥔 add strapped IPA file and test for parse_ipa 2024-01-11 11:34:21 +01:00
common.TestCase test APK signatures with a cert chain are parsed like apksigner 2024-05-07 16:22:59 +02:00
config.py signindex: add JSON check for entry.json 2023-02-17 14:34:53 +00:00
corrupt-featureGraphic.png update: log errors on bad graphics, and then ignore the file 2019-09-26 22:06:21 +02:00
deploy.TestCase 🏟️ fix ci 2024-04-23 16:06:10 +02:00
dummy-keystore.jks added functions for storing/loading signer fingerprints to stats 2017-09-26 14:11:09 +02:00
dump_internal_metadata_format.py metadata_v0: use git rev-parse instead of git describe 2024-01-09 14:54:38 +01:00
exception.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
funding-usernames.yaml update: insert donation links based on FUNDING.yml 2020-06-16 15:35:26 +02:00
get-country-region-data.py lint: check syntax of countryCode: fields for mirrors 2024-01-09 09:32:37 +00:00
gpgsign.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
gradle-maven-blocks.yaml scanner: update maven repo regex 2024-03-12 07:57:11 +00:00
gradle-release-checksums.py Add support for Python 3.12 2023-12-07 18:15:05 -05:00
import_subcommand.TestCase metadata: refactor into one function to do YAML post processing 2023-04-28 10:44:19 +02:00
index.TestCase reliable implementation of get_first_signer_certificate() 2024-05-07 16:22:59 +02:00
init.TestCase tests: use context manager and/or standard setup temp files 2023-02-08 18:12:35 +01:00
install.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
IsMD5Disabled.java tests: support Java setups where MD5 is not disabled by default 2017-09-19 20:16:08 +02:00
issue-1128-min-sdk-30-poc.apk also handle APKs entirely without JAR/v1 signatures 2024-05-07 16:22:59 +02:00
janus.apk update: reject APKs with invalid file sig, probably Janus exploits 2017-12-14 16:57:22 +01:00
key-tricks.py index: fix GitLab Raw URLs with gitlab.com and recent versions 2020-12-15 08:30:48 +01:00
keystore.jks tests: add test for correctly handling CVC when archiving 2019-12-24 17:35:54 +01:00
lint.TestCase simplify test setup 2024-05-07 11:33:04 +00:00
main.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
metadata.TestCase category with no apps should be ignored, even if defined in config 2023-09-08 10:45:53 +02:00
minimal_targetsdk_30_unsigned.apk publish: use apksigner for signing apks with targetSDK>=30 2020-09-09 18:09:28 +02:00
net.TestCase net: fix test_download_file_url_parsing 2024-03-06 13:31:46 +00:00
nightly.TestCase make it easy to keep test artifacts from jobs 2024-05-07 12:58:23 +00:00
no_targetsdk_minsdk1_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
no_targetsdk_minsdk30_unsigned.apk fallback to minsdk when targetsdk isn't set 2020-09-14 14:12:18 +02:00
Norway_bouvet_europe_2.obf.zip use smallest possible valid .obf.zip file in tests 2020-12-03 21:48:37 +01:00
openssl-version-check-test.py Add timeout argument to requests.(get,post) 2022-09-05 17:50:10 +02:00
org.bitbucket.tickytacky.mirrormirror_1.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_2.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_3.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.bitbucket.tickytacky.mirrormirror_4.apk update: allow_disabled_algorithms option to keep MD5 sigs in repo 2017-07-03 10:02:51 +02:00
org.dyndns.fules.ck_20.apk use androguard if aapt isn't found 2017-05-04 23:35:17 +02:00
org.sajeg.fallingblocks_3.apk update: handle messed up namespaces in AndroidManifest.xml 2023-03-20 13:24:59 +00:00
publish.TestCase publish: --error-on-failed to exit when signing/verifying fails 2024-04-03 15:33:18 +02:00
refresh-SUSS_DEFAULT.py scanner: script to update default rules from SUSS 2024-01-25 11:51:22 +01:00
rewritemeta.TestCase test to check that the right Builds flag values get removed 2023-05-23 12:11:09 +02:00
run-tests port to androguard >= 4 and drop support for older than 3.3.3 2024-04-25 12:39:12 +02:00
SANAPPSI.RSA test APK signatures with a cert chain are parsed like apksigner 2024-05-07 16:22:59 +02:00
SANAPPSI.SF test APK signatures with a cert chain are parsed like apksigner 2024-05-07 16:22:59 +02:00
scanner.TestCase check for <application android:testOnly="true"> 2024-04-03 13:47:04 +00:00
signatures.TestCase easy changes to black code format in test cases 2021-06-07 11:53:58 +02:00
signindex.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00
SpeedoMeterApp.main_1.apk update: do not crash with androguard when working with apps without icons 2018-03-12 17:55:45 +01:00
SystemWebView-repack.apk update: add test with APK for icon_id related exceptions 2021-10-01 16:44:14 +02:00
test-gradlew-fdroid fix Could not initialize class org.codehaus.groovy.runtime.InvokerHelper 2024-03-14 13:14:41 +01:00
testcommon.py make it easy to keep test artifacts from jobs 2024-05-07 12:58:23 +00:00
update.TestCase single function to tame androguard's verbose default output 2024-04-25 12:39:12 +02:00
urzip-badcert.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-badsig.apk include test cases for python getsig replacement 2014-11-07 09:20:33 +00:00
urzip-release-unsigned.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip-release.apk added test case for common.isApkDebuggable() 2014-12-14 13:25:20 +01:00
urzip.apk tests: try fdroid update after adding an APK to an existing repo 2014-06-04 21:54:55 -04:00
v2.only.sig_2.apk support APK Signature V2 when apksigner is installed 2019-02-01 09:17:56 +01:00
vcs.TestCase enable black on tests: api, gpgsign, main, net, vcs 2023-04-27 11:34:14 +02:00
verify.TestCase fix code format for new black rule 2023-03-20 14:47:48 +01:00