bitpay / opencart3-plugin

13 stars 15 forks source link

openssl_encrypt(): Using an empty Initialization Vector (iv) #6

Open polo23456 opened 6 years ago

polo23456 commented 6 years ago

Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in /alidata/www/phpwind/myshop/system/library/encryption.php on line 23Warning: openssl_encrypt(): Using an empty Initialization Vector (iv) is potentially insecure and not recommended in /alidata/www/phpwind/myshop/system/library/encryption.php on line 23Warning: Cannot modify header information - headers already sent by (output started at /alidata/www/phpwind/myshop/admin/controller/startup/error.php:34) in /alidata/www/phpwind/myshop/system/library/response.php on line 36

How to fix? i have openssl

gabegattis commented 6 years ago

Can you show specifically how this issue relates to the bitpay opencart plugin?

pieterpoorthuis commented 6 years ago

Which PHP version are you running? Make sure it's 5.6 or higher, since some older versions don't properly support openssl.

sistematico commented 6 years ago

Same issue, PHP 7.0