• I just recently noticed my Cyan Backup hasn’t been uploading to SFTP remote storage during schedule backups. I then noticed that the SFTP passwords weren’t saved in Cyan Backup Options so I tried to re-save the password and got this error after:

    Warning: mcrypt_decrypt(): Key of size 27 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in ..cyan-backup.php on line 744
    
    Warning: mcrypt_decrypt(): Key of size 27 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in ..cyan-backup.php on line 770

    Same problem on two sites – however I have a 3rd site running on the same host with same PHP version and it’s not getting an error so I assume it’s not a PHP version issue.

    Any ideas?

    • This topic was modified 7 years, 3 months ago by jsnowbusiness.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter jsnowbusiness

    (@jsnowbusiness)

    Tried switching to php 7.0 instead of 5.6, but that didn’t change anything.

    Plugin Author Greg Ross

    (@gregross)

    I’d suggest grabbing a dump of php_info() and seeing what options are different for mcrypt between the two installs.

    Specifically check the supported cyphers for rijndael-128.

    Thread Starter jsnowbusiness

    (@jsnowbusiness)

    Okay, I will have to figure out exactly how to do that, then do it, then I’ll get back to you here with more details lol.

    Plugin Author Greg Ross

    (@gregross)

    You can use the “WordPress phpinfo()” plugin from the plugin directory to get it.

    Thread Starter jsnowbusiness

    (@jsnowbusiness)

    Site that works:

    mcrypt support enabled
    mcrypt_filter support enabled
    Version 2.5.8
    Api No 20021217
    Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
    Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

    Site that doesn’t:

    mcrypt support enabled
    mcrypt_filter support enabled
    Version 2.5.8
    Api No 20021217
    Supported ciphers cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
    Supported modes cbc cfb ctr ecb ncfb nofb ofb stream

    Looks the same to me..

    • This reply was modified 7 years, 2 months ago by jsnowbusiness.
    Thread Starter jsnowbusiness

    (@jsnowbusiness)

    No ideas or suggestions from anyone?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning: mcrypt_decrypt(): Only keys of sizes 16, 24 or 32 supported’ is closed to new replies.