Issues

ZF-8805: Zend_Filter_Encrypt_Openssl only allows to set public key through the constructor

Description

The documentation implies that the following is possible:


$filter = new Zend_Filter_Encrypt(array(
    'adapter' => 'openssl',
    'private' => '/path/to/mykey/private.pem'
));

The problem is that all arguments handed to the adapter, will be used as public key.

Comments

Fixed with r20288