Jeffrey Walton
January 05, 2014 08:20AM
I've been studying agentzh's encrypted session module from

There are essentially two methods: one to encrypt values, and a second
to decrypt modules. The functions to do so are
ngx_http_set_encode_encrypted_session and
ngx_http_set_decode_encrypted_session. The functions call
ngx_http_encrypted_session_aes_mac_encrypt and
ngx_http_encrypted_session_aes_mac_decrypt respectively.

The problem I am having is: I cannot tell how this is plumbed into
nginx framework such that a value is encrypted going one way, and
decrypted going another. From the module, I clearly see the command:

Can anyone shed some light on the magic I am missing?

Thanks in advance.

nginx mailing list
Subject Author Posted

agentzh's encrypted session module

Jeffrey Walton January 05, 2014 08:20AM

Re: agentzh's encrypted session module

Yichun Zhang (agentzh) January 06, 2014 02:46PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 258
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready