add some clarification how integrity check works, and rescans

This commit is contained in:
Carla Schroder
2016-06-01 09:51:44 -07:00
parent 436a80e63a
commit 41afc0ab7c
2 changed files with 16 additions and 2 deletions

View File

@@ -682,7 +682,7 @@ Apps which have an official tag MUST be code signed starting with ownCloud 9.0.
integrity:check-core Check core integrity using a signature.
integrity:sign-app Signs an app using a private key.
integrity:sign-core Sign core using a private key
After creating your signing key, sign your app like this example::
sudo -u www-data php occ integrity:sign-app --privateKey=/Users/lukasreschke/contacts.key --certificate=/Users/lukasreschke/CA/contacts.crt --path=/Users/lukasreschke/Programming/contacts
@@ -695,6 +695,8 @@ When it returns nothing, your app is signed correctly. When it returns a message
<https://doc.owncloud.org/server/9.0/developer_manual/app/code_signing.html#how-to-get-your-app-signed>`_ in the Developer manual for more detailed information.
``integrity:check-core`` and ``integrity:sign-core`` are for ownCloud core developers only.
See :doc:`../issues/code_signing` to learn more.
Added in 9.0.

View File

@@ -74,7 +74,7 @@ the following options:
:alt: Links for resolving code integrity warnings.
To debug issues caused by the code integrity check click on "List of invalid
files", and you will be shown a text document listing the different issues. The
files...", and you will be shown a text document listing the different issues. The
content of the file will look similar to the following example:
::
@@ -175,6 +175,18 @@ https://owncloud.org/support/. After fixing these problems verify by clicking
.. note:: When using a FTP client to upload those files make sure it is using the
``Binary`` transfer mode instead of the ``ASCII`` transfer mode.
.. _rescans_label:
Rescans
-------
Rescans are triggered at installation, and by updates. You may run scans manually with the ``occ`` command. The first command scans the ownCloud core files, and the second command scans the named app. There is not yet a command to manually scan all apps::
occ integrity:check-core
occ integrity:check-app $appid
See :doc:`../configuration_server/occ_command` to learn more about using ``occ``.
Errors
------