Skip to content

No signature validation for theme apps #29094

Closed

Description

@DeepDiver1975

refs owncloud/appstore-issues#105 (comment)

We need a mechanism which allows users to implement their own theme without getting into the signature warning.

Maybe my ignoring all theme apps in the integrity check?

@michaelstingl we have been chatting about this long time ago - right?

@phisch regarding themes

Activity

  1. DeepDiver1975 commented on Sep 25, 2017

    @DeepDiver1975
    ContributorAuthor

    or at least allow unsigned hashes - see owncloud/appstore-issues#105 (comment)

  2. svengit commented on Sep 25, 2017

    @svengit

    #23186 would probably be sufficient to solve this.

  3. michaelstingl commented on Sep 25, 2017

    @michaelstingl

    Currently I only remove signature.json from my theme app and after a rescan I get no more warnings. I think something has been already done about it? /cc @phisch

  4. svengit commented on Sep 26, 2017

    @svengit

    This did not work in Owncloud 10.0.2 a few days ago. The integrity checker complained about a missing signature

  5. michaelstingl commented on Sep 26, 2017

    @michaelstingl

    With "currently" I meant 10.0.3. Sorry for being not precise.

  6. phisch commented on Sep 26, 2017

    @phisch
    Contributor

    The thing is, we do want signature checking for apps (themes) from the marketplace, but not for custom themes.

    A few months ago we talked about a blacklist in the config.php, I can't find that discussion right now but i think we talked about possible security issues here, which where debunked by the fact that a hacker could un-patch the integrity check eitherway. So adding the possibility to add apps to an integrity blacklist in config.php would be a good option here. That way apps/themes are still checked, but you could disable the check for a custom theme/app you have for your owncloud only.

    @DeepDiver1975 @PVince81 any thoughts on this? I would probably go that way if you guys have no concerns about this!

  7. svengit commented on Sep 27, 2017

    @svengit

    Yes, signature checking for the marketplace is literally the only thing that makes sense. You could revert the switch from themes/ to the apps/ directory for themes and just limit signature checking to the apps/ dir or even to the moment an app gets installed.
    If you want further integrity checking for the whole webdir, unsigned checksums will be sufficient.

  8. PVince81 commented on Oct 9, 2017

    @PVince81
    Contributor

    @Peter-Prochaska thoughts ?

  9. peterprochaska commented on Oct 10, 2017

    @peterprochaska
    Contributor

    I like the idea with the blacklist for own apps/themes in config.php. But not for complete folders.

  10. added this to the triage milestone on Oct 10, 2017
  11. ownclouders commented on Dec 19, 2017

    @ownclouders
    Contributor

    Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.

  12. 33 remaining items

  13. added this to the development milestone on Mar 16, 2018
  14. PVince81 commented on Mar 16, 2018

    @PVince81
    Contributor

    or have a config.php option "ignore-theme-signature => true" and then ignore signature of any theme app. That's probably the best because then the admin can decide whether they setup a local theme or whether they download the theme from the marketplace, in the latter case the signature is important.

  15. thommierother commented on Mar 16, 2018

    @thommierother

    Either "ignore-theme-signature => true" or ignore-app-signature.[appname] => true" would be fine. The second solution would allow to exclude particular apps from the check, e.g. during development when some code is "official" and other not (unsigned)

  16. PVince81 commented on Mar 16, 2018

    @PVince81
    Contributor

    ok fair enough, let's go with something like "ignore-app-signature => ['app1', 'app2']", etc

    we will refuse any bug report or support request that excludes official apps this way as it could hide custom modifications that could break ownCloud

  17. PVince81 commented on Mar 16, 2018

    @PVince81
    Contributor

    @VicDeo please find a format that fits well with the latest trend for existing key format in config.php ^

  18. VicDeo commented on Mar 16, 2018

    @VicDeo
    Contributor

    @PVince81 ignore-app-signature sounds bad ;)
    I prefer ignore-missing-app-signature

  19. PVince81 commented on Mar 16, 2018

    @PVince81
    Contributor

    @VicDeo so if the app is listed in this config key but has a signature, then the signature will still be checked. So if a signature file is there but there is a violation, the violation will still be reported.
    That should work!

  20. PVince81 commented on Mar 26, 2018

    @PVince81
    Contributor

    please test with #30891

  21. thommierother commented on Mar 27, 2018

    @thommierother

    Hm, I tried a test with a zip download of the stable10 branch, it required a make/compose before occ update was possible and now I see many reference errors when trying to login. Sorry, I am doing my first test from unstable code and I am not a fluent php developer... Can you give me a hint what is missing? Any docs to read?

  22. thommierother commented on Mar 27, 2018

    @thommierother

    @VicDeo: you're right, I am stupid ... Test with daily build worked, all fine ;-).

  23. lock commented on Jul 30, 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.

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

Metadata

Metadata

Assignees

Labels

blue-ticketenhancementp2-high

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions