You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Background: BBB-Server below 3.0 are using SHA1-algorithm for hooks. The current planning for
222
+
* BBB-Server 3.0 (and on) is to align the hashing algorithm for hooks with the rest
223
+
* of the system. Having this in mind the two situations need to be covered:
224
+
* - BBB-Server < 3.0 ==> SHA1 is default for hooks (even rest is using other algorithm)
225
+
* - BBB-Server >= 3.0 ==> same algorithm everywhere (according to planning).
226
+
*
227
+
* This function will evolve in phases:
228
+
* - Phase 1: SHA1 as default (or superseded by environment-variable HASH_ALGO_FOR_HOOKS).
229
+
* - Phase 2: same algo everywhere as default (or superseded by environment-variable HASH_ALGO_FOR_HOOKS and which will trigger in this case a deprecation-warning).
230
+
* - Phase 3: removal of this function, the class-property '$hashAlgoForHooks' and the use of env-variable HASH_ALGO_FOR_HOOKS.
231
+
*
232
+
* @deprecated This function will evolve in phases and will later disappear
233
+
*/
234
+
privatefunctioninitiateAlgorithmForHooks(): void
235
+
{
236
+
// in case this env-variable is not set, SHA1 shall be used as default (phase 1)
* trigger_error('The environment variable HASH_ALGO_FOR_HOOKS will be removed soon. This will require you to run a BBB-Server 3.0 or higher!', E_USER_DEPRECATED);
0 commit comments