Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Issue #2409595 by podarok: Make aes installable on Drupal HEAD. Codestyle fixes.
Issue #2409741 by podarok: Adding mcrypt plugin.
Issue 2650232 by medienverbinder: AES module can not be activated.
This is fully functional module, compatible with Drupal 8.0.0-beta3 core.
New features:
All functions now accessible via class Drupal\aes\AES.
Custom encryption implementation is possible via Plugin system. Sample plugin added.
The module can be enabled and will work (providing encrypt/decrypt functions, not inside a class yet) , however there are no configuration form yet. Adjusting settings can be done only via direct modifying of a settings file.
A few major changes:
* Phpseclib: Integrated AES with the libraries API. PHPSeclib now preferable to be placed into libraries.
* Fixed major bug with changing location of key file, thanks to digitalRoots. Issue: https://drupal.org/node/2188325 .
* This module now supports the AES implementation provided by PHP Secure Communications Library (phpseclib). Which means that this module no longer requires PHP's Mcrypt extension (although it still supports it alongside phpseclib). Thanks to queen.zeal for bringing this library to my attention. Issue: http://drupal.org/node/579858 and of course many thanks to Jim Wigginton for writing this great library, which can be found here http://phpseclib.sourceforge.net/.
Finally, here it is, AES ported to Drupal 6. This is basically the same version as 1.2 for Drupal 5, but it also has a couple of small bugfixes and changes, which is why it's called 1.3.
Bugfixes:
* AES no longer alerts the user about a missing key if the user does not have the administer aes permission. This alert is now also logged in the watchdog.
* Fixed a bug which caused AES encrypted passwords to be created even when this feature was turned off if an existing account was given a new password.
* Fixed a faulty use of preg_match which caused a warning in PHP 5.2.x.
* A users encrypted password is now deleted along with the user.
* Removed a redundant write to file when saving a key using the file storage method.
* Fixed the anonymous account receiving an encrypted password in some situations.
* Removed an unused menu item.
* Added option to use 192 or 256 bit versions of the Rijndael algorithms.
* Drupals database abstraction layer is now used properly.
* Added (untested) support for Windows.
* AES-encrypted passwords are now stored separately in their own table instead of replacing the MD5 passwords in the users table.
* Added option to show the decrypted password on another page.
* Plus some other minor changes.