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.
I ran into more weird behavior where I was using aes and encrypt seemed to be returning an empty string. Making it base64 made everything great. So, I think we should just default to that.
Also, we're not currently storing the $options with the encrypted data, but should probably do that.
Comment | File | Size | Author |
---|---|---|---|
#4 | 1811422_log_options_4.patch | 1.14 KB | greggles |
#2 | 1811422_log_options.patch | 480 bytes | greggles |
default_base64_aes.patch | 614 bytes | greggles | |
Comments
Comment #1
gregglesActually, the second change won't catch the first change and i decided it was more important to record options than have this default to on. We should just document the base64 usage more.
Comment #2
gregglesComment #4
gregglesThat test just counts the items in the array, so it makes sense that by adding one more item it now fails. Updated and passes locally now.
Comment #5
gregglesThis has been working well for me for a while. Committed - http://drupalcode.org/project/encrypt.git/commit/refs/heads/7.x-2.x