- π¬π§United Kingdom altcom_neil
I have just run into this trying to use the latest versions of everything:
- drupal/encrypt v3.2.0
- drupal/webform_encrypt 2.0.0-alpha1
- drupal/sodium 3.0.0
There is an issue ticket all for this issue with in each of the projects with not much recent progress. See
- https://www.drupal.org/project/webform_encrypt/issues/3399414 π Sodium compatibility Needs review
- https://www.drupal.org/project/sodium/issues/2913927 β¨ Option for base64 encode/decode of encrypted data Closed: outdated
It seems that it would make sense to solve the issue here in Encrypt? Allowing Sodium (and any future encryption plugins) to simply return their native encrypted string would be the simplest in the long term?
The current patch file in #18 works with the latest code.
Tested with Drupal 10.4.3. PHP 8.3.17, MySQL 8.4.3, Webform 6.2.9