owncloud / appstore-issues

A repo to track issues of the apps on apps.owncloud.com that are not in github and issues of the appstore itself.
1 stars 0 forks source link

Update of NextBackup failed #166

Closed pbek closed 3 years ago

pbek commented 4 years ago

While attempting to update NextBackup on https://marketplace.owncloud.com/account/products I got the error:

There was an error while processing your file:
App signature is invalid: App Certificate is not valid.

I used nextbackup.tar.gz, signed with nextbackup.crt.tar.gz and my private key from nextbackup.key.

DeepDiver1975 commented 3 years ago

~$ openssl x509 -in nextbackup.crt -text -noout
Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number: 4381 (0x111d)
        Signature Algorithm: sha256WithRSAEncryption
        Issuer: C = DE, ST = Baden-Wuerttemberg, O = Nextcloud GmbH, CN = Nextcloud Code Signing Intermediate Authority
        Validity
            Not Before: Apr 28 06:06:40 2020 GMT
            Not After : Aug  4 06:06:40 2030 GMT
        Subject: CN = nextbackup
        Subject Public Key Info:
            Public Key Algorithm: rsaEncryption
                RSA Public-Key: (4096 bit)
                Modulus:
                    00:d0:2a:65:98:44:b9:7a:db:24:b1:b7:99:b4:a5:
                    4f:0f:e7:36:5b:02:8a:3e:48:c8:00:4e:db:7f:78:
                    3f:52:a9:c1:5e:5a:d8:ff:f1:c3:5c:72:59:f3:a3:
                    b6:78:01:50:1c:7d:fe:de:f1:87:3d:1a:18:4c:5e:
                    1f:1c:1a:86:64:7d:8c:8b:58:1d:ec:80:1b:ed:08:
                    e8:39:6b:83:4a:df:32:36:8b:36:f6:ec:51:b2:c5:
DeepDiver1975 commented 3 years ago

you cannot upload an app which is signed with the nc certificate.

please sign the app with the owncloud cert the uploading will work.

DeepDiver1975 commented 3 years ago

ref: https://github.com/owncloud/appstore-issues/issues/159 - this is the cer which will work

michl19 commented 3 years ago

Hi Patrizio, is there still something hindering you to do the update? If so, please let us know.

pbek commented 3 years ago

Should be published now, thank you very much.