Warden not compatible with php8

Created on 29 August 2022, about 2 years ago
Updated 24 August 2023, about 1 year ago

Problem/Motivation

Warden stops working completely when php8 or latter is used.

Steps to reproduce

Install and enable warden while drupal is running on php8 environment.

Proposed resolution

Patch for https://github.com/teamdeeson/wardenapi that has correct way to call openssl_seal().

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇫🇮Finland sceefo

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom BryanGullan

    Just to note that if the algorithm in use is AES256, you'd need to patch this differently to incorporate the iv as well.

    Here's a patch to illustrate this, with the $algo hardcoded to AES256 as proof of concept.

Production build 0.71.5 2024