News: Invalid Certificate for News 15.3.1

Created on 6 Feb 2021  路  4Comments  路  Source: nextcloud/news

IMPORTANT

Read and tick the following checkbox after you have created the issue or place an x inside the brackets ;)

  • [X] I have read the CONTRIBUTING.md and followed the provided tips
  • [X] I accept that the issue will be closed without comment if I do not check here
  • [X] I accept that the issue will be closed without comment if I do not fill out all items in the issue template.

Explain the Problem

After updating to News 15.3.1 on NC 20.0.7, the admin overview page reports invalid files found during integrity check. Checking what it is, I get this output:

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.

Results
=======
- news
    - EXCEPTION
        - OC\IntegrityCheck\Exceptions\InvalidSignatureException
        - Certificate is not valid.

Raw output
==========
Array
(
    [news] => Array
        (
            [EXCEPTION] => Array
                (
                    [class] => OC\IntegrityCheck\Exceptions\InvalidSignatureException
                    [message] => Certificate is not valid.
                )
        )
)

Steps to Reproduce

Explain what you did to encounter the issue

  1. Have News installed
  2. Update to 15.3.1
  3. Check admin overview page, potentially trigger re-scan
  4. Find above message when clicking on "List of invalid files"

System Information

  • News app version: 15.3.1
  • Nextcloud version: 20.0.7
  • Cron type: (system cron/python updater/...) system cron
  • PHP version: 7.5.14
  • Database and version: Mysql
  • Browser and version: FF 84
  • OS and version: Debian Buster
2. developing bug

Most helpful comment

Found the issue, will be very likely fixed with the next release, the certificate was simply not included at all in the archive.

All 4 comments

Found the issue, will be very likely fixed with the next release, the certificate was simply not included at all in the archive.

got exactly same issue after updatin to NC 20.0.7. Thanks for solving in next release

Had installed new version 20.0.7, too.

I have uninstalled the News app and started a new analysis. After that, the error disapeared.

15.3.2 includes the certificate and I could validate it on my own installation, no more signature errors

Was this page helpful?
0 / 5 - 0 ratings

Related issues

siccovansas picture siccovansas  路  7Comments

HanFox picture HanFox  路  4Comments

ThomasKujawa picture ThomasKujawa  路  4Comments

flurischt picture flurischt  路  3Comments

criwe picture criwe  路  7Comments