Skip to content

Integrity check fail 10.0.4RC1 on mimetype file #29277

Closed

Description

@PVince81

Install 10.0.4beta1 and check the integrity warnings.

The file core/js/mimetypelist.js must not be checked at all, but somehow a signature got generated for it.

It seems only half of the code was adjusted for exclusion. Also need to adjust the code that generates the signature.

This regression introduced through #28973

Activity

  1. added
    p1-urgent
    on Oct 17, 2017
  2. added this to the development milestone on Oct 17, 2017
  3. PVince81 commented on Oct 19, 2017

    @PVince81
    ContributorAuthor

    @VicDeo can you please have a look ?

  4. PVince81 commented on Oct 26, 2017

    @PVince81
    ContributorAuthor

    The issue still exists in beta2, reopening. Something else must be missing.

  5. changed the title [-]Integrity check fail 10.0.4beta1 on mimetype file[/-] [+]Integrity check fail 10.0.4beta2 on mimetype file[/+] on Oct 26, 2017
  6. VicDeo commented on Oct 30, 2017

    @VicDeo
    Contributor

    @PVince81 Let me guess. We sign all releases e.g. 10.0.4 beta2 with already installed owncloud that is NOT 10.0.4 beta2 and doesn't have changes from #29316 ?

  7. PVince81 commented on Oct 30, 2017

    @PVince81
    ContributorAuthor

    Indeed. I've updated said instance now to stable10, so let's recheck with tomorrow's daily.

  8. PVince81 commented on Oct 30, 2017

    @PVince81
    ContributorAuthor

    I built a temporary daily for testing and saw that the integrity check issues have disappeared.

  9. PVince81 commented on Nov 14, 2017

    @PVince81
    ContributorAuthor

    Still happening with 10.0.4 RC1.

    @VicDeo please generate a dummy key and retest signing. It seems something must be going wrong and it is still signing the file, but excludes it later during some part of verification.

  10. changed the title [-]Integrity check fail 10.0.4beta2 on mimetype file[/-] [+]Integrity check fail 10.0.4RC1 on mimetype file[/+] on Nov 14, 2017
  11. VicDeo commented on Nov 15, 2017

    @VicDeo
    Contributor

    @PVince81 hmmm

    > php occ status | grep version
      - version: 10.0.4.2
      - versionstring: 10.0.4 RC1
    
    > php occ integr:sign-core --privateKey /develop/testkey/privateKey.key --certificate /develop/testkey/CSR.csr --path /develop/testkey/owncloud1004rc1/
    Successfully signed "core"
    
    > grep -R mimetypelist /develop/testkey/owncloud1004rc1/core/signature.json 
    
    > find  /develop/testkey/owncloud1004rc1/ -name mimetypelist*
    /develop/testkey/owncloud1004rc1/core/js/mimetypelist.js
    
  12. PVince81 commented on Nov 15, 2017

    @PVince81
    ContributorAuthor

    Strange... when run from the release script it's in there.

    If not reproducible I'll need to double check what the release script is doing.

  13. PVince81 commented on Nov 15, 2017

    @PVince81
    ContributorAuthor

    Arghh, my mistake... I used two workarounds that cancel each other out.

    I'll do a test run tomorrow.

  14. PVince81 commented on Dec 12, 2017

    @PVince81
    ContributorAuthor

    solved in the 10.0.4 build

  15. lock commented on Aug 2, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  16. locked as resolved and limited conversation to collaborators on Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type:Bugp1-urgentregression

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions