Hello!
On Mon, Dec 3, 2012 at 4:43 PM, Aleksandar Bilanovic wrote:
> Sorry for being direct as this, but i tried everything and I don't
> have more ideas.
> I'm trying to use php's mcrypt to encrypt string which latter will be
> decrypted by your encrypted-session-nginx module and I was unlucky so
> far. Do you maybe happen to know which mcrypt options should I use to
> do this ?
>
ngx_encrypted_session uses openssl to do the work, which may use a
different padding strategy with php's mcrypt library. You need to
ensure they use exactly the same padding method.
Best regards,
-agentzh
P.S. I'm cc'ing the openresty-en mailing list, maybe other people
there can help you more: https://groups.google.com/group/openresty-en