Skip to content

Conversation

anshnd
Copy link

@anshnd anshnd commented Apr 7, 2018

I need to make two separate session encryptions within the same location and they shouldn't share the same key. I tried in vain to add encryption key as an optional additional parameter to set_encrypt_session or set_decrypt_session but got stuck when I couldn't tell whether the optional parameter was specified.

As an alternative I added two new directives:
set_encrypt_session_keyed $target <value> <key>
set_decrypt_session_keyed $target <value> <key>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants