Commit graph

7177 commits

Author SHA1 Message Date
Hans-Christoph Steiner
4aba6be8b8
signindex: added simple test case 2022-11-16 20:19:06 +01:00
Jochen Sprickerhof
d6574a401b
Test index before signing 2022-11-16 20:19:04 +01:00
Jochen Sprickerhof
eb44b1691c
jarsigner: allow weak signatures
openjdk-11 11.0.17 in Debian unstable fails to verify weak signatures:

jarsigner -verbose -strict -verify tests/signindex/guardianproject.jar

         131 Fri Dec 02 20:10:00 CET 2016 META-INF/MANIFEST.MF
         252 Fri Dec 02 20:10:04 CET 2016 META-INF/1.SF
        2299 Fri Dec 02 20:10:04 CET 2016 META-INF/1.RSA
           0 Fri Dec 02 20:09:58 CET 2016 META-INF/
 m  ?  48743 Fri Dec 02 20:09:58 CET 2016 index.xml

  s = signature was verified
  m = entry is listed in manifest
  k = at least one certificate was found in keystore
  ? = unsigned entry

- Signed by "EMAILADDRESS=root@guardianproject.info, CN=guardianproject.info, O=Guardian Project, OU=FDroid Repo, L=New York, ST=New York, C=US"
    Digest algorithm: SHA1 (disabled)
    Signature algorithm: SHA1withRSA (disabled), 4096-bit key

WARNING: The jar will be treated as unsigned, because it is signed with a weak algorithm that is now disabled by the security property:

  jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, DSA keySize < 1024, SHA1 denyAfter 2019-01-01, include jdk.disabled.namedCurves
2022-11-16 20:19:02 +01:00
Jochen Sprickerhof
e21b162343
init: use provided keyalias 2022-11-16 20:19:00 +01:00
Jochen Sprickerhof
90a79c8b26
Drop old getsig.java test
getsig.java was replaced by a Python implementation in 6e2d0a9e (2014)
and the test was only there to compare the results for the transition.

Dropping this as it no longer works starting with 11.0.17+8.
2022-11-16 20:18:53 +01:00
Jochen Sprickerhof
2c77880b23
Replace custom code by verify_jar_signature() 2022-11-16 20:18:47 +01:00
Hans-Christoph Steiner
c30c381c01
skip SystemWebView-repack.apk test when file is missing 2022-11-16 20:18:45 +01:00
Hans-Christoph Steiner
4f7563b270
include tests/nightly.TestCase in dist tarball 2022-11-16 20:18:43 +01:00
Hans-Christoph Steiner
6a2e1f0af4
gitlab-ci: use python3-ruamel.yaml to avoid building from source 2022-11-16 20:18:42 +01:00
Hans-Christoph Steiner
f47840542d
gitlab-ci: port ubuntu_bionic_pip to Ubuntu/jammy
This job is here to test using fdroidserver with only depends from pip
and sdkmanager (e.g. not apt-get).  Production is now on bullseye #1038
2022-11-16 20:18:40 +01:00
Hans-Christoph Steiner
89483e42b2
gitlab-ci: run test suite in the buildserver environment
Run the whole test suite in an environment that is like the
buildserver guest VM.  This installs python3-babel because that is
only used by the test suite, and not needed in the buildserver.

Some extra packages are required for this test run that are not
provided by the buildserver since they are not needed there:

 * gnupg-agent for the full signing setup
 * python3-babel for compiling localization files
 * python3-clint for fancy progress bars for users

fdroid/ci-images-base is deprecated and archived.
2022-11-16 20:18:38 +01:00
Hans-Christoph Steiner
2e134429af
index: fix git-mirror size check for GitLab Pages
The test case had the wrong folder setup, this was confirmed on a production
repo setup.
2022-11-16 20:18:37 +01:00
Hans-Christoph Steiner
3f5a6870f5
nightly: fail if *-nightly git repo is not publicly available 2022-11-16 20:18:35 +01:00
Hans-Christoph Steiner
c36419d8c3
nightly: add tests 2022-11-16 20:18:33 +01:00
Hans-Christoph Steiner
e226649174
nightly: convert to config.yml 2022-11-15 23:01:39 +01:00
Hans-Christoph Steiner
d2ef0fee71
nightly: support OpenSSL 3.0 with Paramiko
OpenSSL 3.0 changed the default output format from PKCS#1 to PKCS#8,
which paramiko does not support.

https://www.openssl.org/docs/man3.0/man1/openssl-rsa.html#traditional
https://github.com/paramiko/paramiko/issues/1015
2022-11-15 23:01:35 +01:00
Hans-Christoph Steiner
b987a4af5c
version 2.1.1 2022-09-06 22:45:50 +02:00
Hans-Christoph Steiner
5abdb46de8 disable new pylint/pep8 errors, this code is frozen 2022-09-06 22:45:46 +02:00
Hans-Christoph Steiner
6774ab7a92 disable new pylint errors, this code is frozen 2022-09-06 22:45:46 +02:00
Hans-Christoph Steiner
58dec57439 gitlab-ci: paramiko from Debian to avoid crypto libs from source
Before it was cryptography, now bcrypt requires a Rust compiler:
https://gitlab.com/fdroid/fdroidserver/-/jobs/2929483724
2022-09-06 22:45:46 +02:00
Hans-Christoph Steiner
3c94da7ee9 Translated using Weblate: Chinese (Traditional) (zh_Hant) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 76.3% (467 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hant/
2022-09-06 22:30:02 +02:00
Hans-Christoph Steiner
6f7a71ff89 Translated using Weblate: Tibetan (bo) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 61.7% (378 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/bo/
2022-09-06 22:30:01 +02:00
Yang Yulin
c2a6a235e5 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Yang Yulin <yylteam@hotmail.com>
Currently translated at 70.4% (431 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
linsui
fd6a721bcc Translated using Weblate: Chinese (Simplified) (zh_Hans) by linsui <linsui@inbox.lv>
Currently translated at 70.4% (431 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
Yang Yulin
c636462167 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Yang Yulin <yylteam@icloud.com>
Currently translated at 67.3% (412 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
Yang Yulin
734d76a3d4 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Yang Yulin <yylteam@icloud.com>
Currently translated at 63.7% (390 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
yangyangdaji
c8d01ada07 Translated using Weblate: Chinese (Simplified) (zh_Hans) by yangyangdaji <1504305527@qq.com>
Currently translated at 61.4% (376 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
Yang Yulin
e551150ec8 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Yang Yulin <yylteam@icloud.com>
Currently translated at 61.1% (374 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
JY3
cabc1fe2e6 Translated using Weblate: Chinese (Simplified) (zh_Hans) by JY3 <GeeyunJY3@gmail.com>
Currently translated at 60.6% (371 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
Yang Yulin
662755d0a4 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Yang Yulin <yylteam@icloud.com>
Currently translated at 60.6% (371 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
YangYulin
ff36304bff Translated using Weblate: Chinese (Simplified) (zh_Hans) by YangYulin <yylteam@icloud.com>
Currently translated at 58.0% (355 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
YangYulin
842f7a70d6 Translated using Weblate: Chinese (Simplified) (zh_Hans) by YangYulin <yylteam@icloud.com>
Currently translated at 56.3% (345 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
YangYulin
36451a3f46 Translated using Weblate: Chinese (Simplified) (zh_Hans) by YangYulin <yylteam@icloud.com>
Currently translated at 54.7% (335 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
linsui
f96444d1bc Translated using Weblate: Chinese (Simplified) (zh_Hans) by linsui <linsui@inbox.lv>
Currently translated at 54.4% (333 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
linsui
25c10fcc61 Translated using Weblate: Chinese (Simplified) (zh_Hans) by linsui <linsui@inbox.lv>
Currently translated at 53.5% (328 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
Eric
f3b90cbbb3 Translated using Weblate: Chinese (Simplified) (zh_Hans) by Eric <alchemillatruth@purelymail.com>
Currently translated at 48.2% (295 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
Trey Yang
5b6082e98c Translated using Weblate: Chinese (Simplified) (zh_Hans) by Trey Yang <stevsfy@gmail.com>
Currently translated at 48.0% (294 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
JY3
0cc34e698c Translated using Weblate: Chinese (Simplified) (zh_Hans) by JY3 <GeeyunJY3@gmail.com>
Currently translated at 44.4% (272 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
2022-09-06 22:30:01 +02:00
shenzhui007
e5e317a61f Translated using Weblate: Chinese (Simplified) (zh_Hans) by shenzhui007 <12231252@bjtu.edu.cn>
Currently translated at 44.4% (272 of 612 strings)

Co-authored-by: shenzhui007 <12231252@bjtu.edu.cn>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2022-09-06 22:30:01 +02:00
JY3
510ea1cca5 Translated using Weblate: Chinese (Simplified) (zh_Hans) by JY3 <GeeyunJY3@gmail.com>
Currently translated at 44.1% (270 of 612 strings)

Co-authored-by: JY3 <GeeyunJY3@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/zh_Hans/
Translation: F-Droid/F-Droid Server
2022-09-06 22:30:01 +02:00
Simona Iacob
bea86aa305 Translated using Weblate: Romanian (ro) by Simona Iacob <s@zp1.net>
Currently translated at 100.0% (612 of 612 strings)

Co-authored-by: Simona Iacob <s@zp1.net>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ro/
Translation: F-Droid/F-Droid Server
2022-09-06 22:30:01 +02:00
Hans-Christoph Steiner
2761082942 Translated using Weblate: Portuguese (Portugal) (pt_PT) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 94.2% (577 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_PT/
2022-09-06 22:30:01 +02:00
SC
25e5a5f6b0 Translated using Weblate: Portuguese (pt) by SC <lalocas@protonmail.com>
Currently translated at 100.0% (612 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt/
2022-09-06 22:30:01 +02:00
Flavio F. M
9c3cf92257 Translated using Weblate: Portuguese (Brazil) (pt_BR) by Flavio F. M. <flavius_androiduser@protonmail.com>
Currently translated at 100.0% (612 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_BR/
2022-09-06 22:30:01 +02:00
ssantos
00e85bbaff Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
Currently translated at 98.3% (602 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt/
2022-09-06 22:30:01 +02:00
SC
20ec4d4362 Translated using Weblate: Portuguese (pt) by SC <lalocas@protonmail.com>
Currently translated at 98.2% (601 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt/
2022-09-06 22:30:01 +02:00
ssantos
ad4d61d329 Translated using Weblate: Portuguese (pt) by ssantos <ssantos@web.de>
Currently translated at 98.2% (601 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt/
2022-09-06 22:30:01 +02:00
Flavio F. M
9740114380 Translated using Weblate: Portuguese (Brazil) (pt_BR) by Flavio F. M. <flavius_androiduser@protonmail.com>
Currently translated at 97.3% (596 of 612 strings)

Translated using Weblate: Portuguese (Brazil) (pt_BR) by Flavio F. M. <flavius_androiduser@protonmail.com>

Currently translated at 96.5% (591 of 612 strings)

Translated using Weblate: Portuguese (Brazil) (pt_BR) by Flavio F. M. <flavius_androiduser@protonmail.com>

Currently translated at 94.4% (578 of 612 strings)

Co-authored-by: Flavio F. M <flavius_androiduser@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/pt_BR/
Translation: F-Droid/F-Droid Server
2022-09-06 22:30:01 +02:00
Hans-Christoph Steiner
43ca257c2b Translated using Weblate: Norwegian Bokmål (nb_NO) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 59.9% (367 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/nb_NO/
2022-09-06 22:30:01 +02:00
Hans-Christoph Steiner
5e9dca25b0 Translated using Weblate: Korean (ko) by Hans-Christoph Steiner <hans@guardianproject.info>
Currently translated at 36.6% (224 of 612 strings)

Translation: F-Droid/F-Droid Server
Translate-URL: https://hosted.weblate.org/projects/f-droid/fdroidserver/ko/
2022-09-06 22:30:01 +02:00