Skip to content

Commit

Permalink
Merge pull request #40980 from owncloud/mmattel-patch-1
Browse files Browse the repository at this point in the history
Update config.apps.sample.php: add new wopi.proxy.key
  • Loading branch information
EParzefall authored Sep 13, 2023
2 parents ae0a3e5 + b5a3b6c commit c4e742a
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions config/config.apps.sample.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,8 @@
*
* Possible keys: `wopi.token.key` STRING
*
* Possible keys: `wopi.proxy.key` STRING
*
* Possible keys: `wopi.office-online.server` URL
*
* Possible keys: `wopi_group` STRING
Expand All @@ -185,13 +187,16 @@
*/

/**
* Random key created by the ownCloud admin
* This is a random key created by the ownCloud admin. This key is used by ownCloud
* to create encrypted JWT tokens for the communication with your Microsoft Office Online instance.
* Random Keys Created by the ownCloud Admin
* Both, `wopi.token.key` and `wopi.proxy.key` are random keys created by the ownCloud admin.
* The keys are used by ownCloud to create encrypted JWT tokens for the communication with your
* Microsoft Office Online instance. The keys must be distinct.
* Note that `wopi.token.key` must be at least 32 bytes long.
*
* You can use the following example command to generate a random key:
* `echo $(tr -dc 'a-z0-9' < /dev/urandom | head -c 20)`
* `echo $(tr -dc 'a-z0-9' < /dev/urandom | head -c 32)`
*/
'wopi.token.key' => 'replace-with-your-own-random-string',
'wopi.token.key' => 'replace-with-your-own-very-long-random-string',

/**
* Microsoft Office Online instance URL
Expand Down

0 comments on commit c4e742a

Please sign in to comment.