Source: fdroidserver
Version: 2.1.1-1
Severity: serious

https://ci.debian.net/data/autopkgtest/testing/amd64/f/fdroidserver/27601295/log.gz

...
======================================================================
ERROR: test_verify_jar_signature_succeeds (__main__.CommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.obx56lo0/downtmp/build.IwA/src/fdroidserver/common.py", 
line 3500, in verify_jar_signature
    output = subprocess.check_output([config['jarsigner'], '-strict', 
'-verify', jar],
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command 
'['/usr/lib/jvm/default-java/bin/jarsigner', '-strict', '-verify', 
'/tmp/autopkgtest-lxc.obx56lo0/downtmp/build.IwA/src/tests/signindex/testy.jar']'
 returned non-zero exit status 16.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File 
"/tmp/autopkgtest-lxc.obx56lo0/downtmp/build.IwA/src/tests/common.TestCase", 
line 503, in test_verify_jar_signature_succeeds
    fdroidserver.common.verify_jar_signature(testfile)
  File 
"/tmp/autopkgtest-lxc.obx56lo0/downtmp/build.IwA/src/fdroidserver/common.py", 
line 3507, in verify_jar_signature
    raise VerificationException(error + '\n' + e.output.decode('utf-8'))
fdroidserver.exception.VerificationException: JAR signature failed to verify: 
/tmp/autopkgtest-lxc.obx56lo0/downtmp/build.IwA/src/tests/signindex/testy.jar

The jar will be treated as unsigned, because it is signed with a weak algorithm 
that is now disabled.

Re-run jarsigner with the -verbose option for more details.


----------------------------------------------------------------------
Ran 84 tests in 24.843s

FAILED (errors=1, skipped=3)
autopkgtest [12:14:14]: test command1: -----------------------]
autopkgtest [12:14:14]: test command1:  - - - - - - - - - - results - - - - - - 
- - - -
command1             FAIL non-zero exit status 1

Reply via email to