server
server copied to clipboard
Code integrity check
There are currently multiple problems with the code integrity check, which should be tackled at some point:
- Integrity is only checked after an update, but for everything
- Integrity of an app is not checked after an update from the appstore
- The code of the app is run (updater) before doing the integrity check.
- The integrity check is currently synchronous while running the update (maintenance mode on) but takes a lot of time
Things that should change:
- Integrity check should be run before the update (of server and app), so we only run signed code (although for the server this is somewhat unrealistic, because you replaced the files before already, so an attack case can not be covered, only a "borked" upload.
- Integrity check should be ran for the specific app when updating via the app store
- When updating via console the integrity check should be optional, to allow faster deployment across multiple instances when you use a deployment tool (chef, puppet, git, ...).
cc @MorrisJobke @rullzer
how could I deactivate integrity check? At moment I get this error on every nextcloud update and I have to remove apps Manually and install them again. At moment I ignore it but It would be nice if I could somehow get ride of this Infobar.
I suppose this issue is still valid? If not, please close this issue!